blob: 477bd585c7222ab7fa6c672b3637a5e5e749e11f [file] [log] [blame]
Yecheng Zhao4ee81d72021-06-16 22:19:38 -07001# Copyright 2021 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 # The path to chromium source. Repo must be available at
17 # "$dir_pw_third_party_chromium_verifier/src". It is recommended to install
18 # the package via "pw package install chromium_verifier"
19 dir_pw_third_party_chromium_verifier = ""
20
21 # Specify whether the target platform has native POSIX thread implementation.
22 # Our current porting of chromium verifier doesn't require to link in any of the
23 # pthread APIs, but some declarations and type definitions, such as pthread_t,
24 # pthread_mutex_t and pthread_mutex_lock, are still needed for compilation.
25 # If this is set to false, the module will provide a pthread.h header that
26 # defines the needed types.
27 pw_third_party_chromium_verifier_HAS_NATIVE_PTHREAD = true
28}