Ewout van Bekkum | e3b5603 | 2020-12-22 12:00:18 -0800 | [diff] [blame] | 1 | # Copyright 2020 The Pigweed Authors |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| 4 | # use this file except in compliance with the License. You may obtain a copy of |
| 5 | # the License at |
| 6 | # |
| 7 | # https://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 12 | # License for the specific language governing permissions and limitations under |
| 13 | # the License. |
| 14 | |
| 15 | declare_args() { |
| 16 | # Backend for the pw_thread module's pw::thread::Id. |
| 17 | pw_thread_ID_BACKEND = "" |
| 18 | |
| 19 | # Backend for the pw_thread module's pw::thread::sleep_{for,until}. |
| 20 | pw_thread_SLEEP_BACKEND = "" |
| 21 | |
Ewout van Bekkum | 0f3901e | 2020-12-22 12:00:18 -0800 | [diff] [blame] | 22 | # Backend for the pw_thread module's pw::thread::Thread to create threads. |
| 23 | pw_thread_THREAD_BACKEND = "" |
| 24 | |
Ewout van Bekkum | e3b5603 | 2020-12-22 12:00:18 -0800 | [diff] [blame] | 25 | # Backend for the pw_thread module's pw::thread::yield. |
| 26 | pw_thread_YIELD_BACKEND = "" |
Ewout van Bekkum | fe5b4a7 | 2021-02-01 17:03:58 -0800 | [diff] [blame] | 27 | |
| 28 | # Whether the GN asserts should be silenced in ensuring that a compatible |
| 29 | # backend for pw_chrono_SYSTEM_CLOCK_BACKEND is chosen. |
| 30 | # Set to true to disable the asserts. |
| 31 | pw_thread_OVERRIDE_SYSTEM_CLOCK_BACKEND_CHECK = false |
Ewout van Bekkum | e3b5603 | 2020-12-22 12:00:18 -0800 | [diff] [blame] | 32 | } |