blob: fe3439e960463f775b1ebebbbaece08dde4e130f [file] [log] [blame]
Carlos Chinchilla7b463a62020-08-20 14:26:35 -07001# 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"
Armando Montanez3b104612021-02-24 11:18:50 -080016
17default_args = {
18 # Set the nanopb directory for protobuf generation.
19 dir_pw_third_party_nanopb = "//third_party/nanopb"
Anthony DiGirolamob3f23f12022-03-17 14:57:35 -070020
Anthony DiGirolamo0f2b29a2022-08-24 19:48:17 +000021 # Default gn build virtualenv target.
22 pw_build_PYTHON_BUILD_VENV = "//:sample_project_build_venv"
Anthony DiGirolamo701489b2023-08-24 01:01:42 +000023
24 pw_build_PIP_REQUIREMENTS = [ "//docs/requirements.txt" ]
Armando Montanez7babcfc2023-09-11 23:12:29 +000025
Armando Montanezaaa17702024-03-20 17:31:36 +000026 pw_build_TEST_TRANSITIVE_PYTHON_DEPS = false
27
Alexei Frolova704b202024-10-31 16:54:17 +000028 # Don't allow a plain .options file extension for pwpb protos.
29 pw_protobuf_compiler_NO_GENERIC_OPTIONS_FILES = true
30
Armando Montanez7babcfc2023-09-11 23:12:29 +000031 dir_pw_third_party_freertos = "//third_party/FreeRTOS"
32 dir_pw_third_party_stm32cube_f4 = "//third_party/stm32cube_f4"
Anthony DiGirolamoa3fa0492023-09-13 16:41:15 +000033 PICO_SRC_DIR = "//third_party/pico_sdk"
Armando Montanez3b104612021-02-24 11:18:50 -080034}