• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
15buildconfig = "//BUILDCONFIG.gn"
16
17default_args = {
18  # Default all upstream Pigweed toolchains to enable pw::span asserts.
19  pw_span_ENABLE_ASSERTS = true
20
21  pw_build_PIP_CONSTRAINTS =
22      [ "//pw_env_setup/py/pw_env_setup/virtualenv_setup/constraint.list" ]
23
24  pw_build_PIP_REQUIREMENTS = [ "//pw_env_setup/py/pw_env_setup/virtualenv_setup/pigweed_upstream_requirements.txt" ]
25
26  # Exclude third-party headers from static analysis.
27  pw_toolchain_STATIC_ANALYSIS_SKIP_SOURCES_RES = [
28    "third_party/.*",
29    ".*packages/mbedtls.*",
30    ".*packages/boringssl.*",
31  ]
32
33  pw_toolchain_STATIC_ANALYSIS_SKIP_INCLUDE_PATHS = [
34    "mbedtls/include",
35    "mbedtls",
36    "boringssl/src/include",
37    "boringssl",
38
39    # Code generated by third-party tool.
40    "pw_tls_client/generate_test_data",
41  ]
42}
43