| Avi Drissman | e4622aa | 2022-09-08 20:36:06 | [diff] [blame] | 1 | // Copyright 2012 The Chromium Authors |
| [email protected] | 300c386 | 2013-07-17 18:12:40 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #include "base/process/launch.h" |
| 6 | |
| 7 | namespace base { |
| 8 | |
| Dave Tapuska | 4e37b771 | 2024-10-04 20:09:51 | [diff] [blame] | 9 | void CheckPThreadStackMinIsSafe() { |
| 10 | static_assert(__builtin_constant_p(PTHREAD_STACK_MIN), |
| 11 | "Always constant on iOS"); |
| 12 | } |
| 13 | |
| [email protected] | 300c386 | 2013-07-17 18:12:40 | [diff] [blame] | 14 | void RaiseProcessToHighPriority() { |
| 15 | // Impossible on iOS. Do nothing. |
| 16 | } |
| 17 | |
| Dave Tapuska | bf0b42d | 2023-02-10 17:26:18 | [diff] [blame] | 18 | bool GetAppOutput(const CommandLine& cl, std::string* output) { |
| 19 | return false; |
| 20 | } |
| 21 | |
| 22 | bool GetAppOutputAndError(const CommandLine& cl, std::string* output) { |
| 23 | return false; |
| 24 | } |
| 25 | |
| 26 | Process LaunchProcess(const CommandLine& cmdline, |
| 27 | const LaunchOptions& options) { |
| 28 | return Process(); |
| 29 | } |
| 30 | |
| [email protected] | 300c386 | 2013-07-17 18:12:40 | [diff] [blame] | 31 | } // namespace base |