blob: 6ecd378715877a254f6b0a519d0e0778ec23cf82 [file] [log] [blame]
Ewout van Bekkume3b56032020-12-22 12:00:18 -08001# 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
15declare_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 Bekkum0f3901e2020-12-22 12:00:18 -080022 # Backend for the pw_thread module's pw::thread::Thread to create threads.
23 pw_thread_THREAD_BACKEND = ""
24
Ewout van Bekkume3b56032020-12-22 12:00:18 -080025 # Backend for the pw_thread module's pw::thread::yield.
26 pw_thread_YIELD_BACKEND = ""
Ewout van Bekkumfe5b4a72021-02-01 17:03:58 -080027
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 Bekkume3b56032020-12-22 12:00:18 -080032}