Kedar Sovani | 8617e2a | 2020-08-30 02:33:21 +0530 | [diff] [blame] | 1 | # Copyright (c) 2020 Project CHIP Authors |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://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, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
Łukasz Duda | 4e1faf2 | 2021-01-27 17:47:25 +0100 | [diff] [blame] | 15 | import("//build_overrides/build.gni") |
Jakub Latusek | 92d87e8 | 2024-03-05 20:40:31 +0100 | [diff] [blame] | 16 | import("//build_overrides/pigweed.gni") |
Łukasz Duda | 4e1faf2 | 2021-01-27 17:47:25 +0100 | [diff] [blame] | 17 | |
Kedar Sovani | 8617e2a | 2020-08-30 02:33:21 +0530 | [diff] [blame] | 18 | # The location of the build configuration file. |
Łukasz Duda | 4e1faf2 | 2021-01-27 17:47:25 +0100 | [diff] [blame] | 19 | buildconfig = "${build_root}/config/BUILDCONFIG.gn" |
Kedar Sovani | 8617e2a | 2020-08-30 02:33:21 +0530 | [diff] [blame] | 20 | |
| 21 | # CHIP uses angle bracket includes. |
| 22 | check_system_includes = true |
| 23 | |
Kedar Sovani | 8617e2a | 2020-08-30 02:33:21 +0530 | [diff] [blame] | 24 | default_args = { |
| 25 | target_cpu = "esp32" |
| 26 | target_os = "freertos" |
| 27 | |
Jakub Latusek | 92d87e8 | 2024-03-05 20:40:31 +0100 | [diff] [blame] | 28 | pw_sys_io_BACKEND = dir_pw_sys_io_stdio |
| 29 | pw_assert_BACKEND = dir_pw_assert_log |
| 30 | pw_log_BACKEND = dir_pw_log_basic |
| 31 | |
| 32 | pw_build_LINK_DEPS = [ |
| 33 | "$dir_pw_assert:impl", |
| 34 | "$dir_pw_log:impl", |
| 35 | ] |
| 36 | |
rgoliver | 23787d6 | 2022-11-23 12:24:44 -0500 | [diff] [blame] | 37 | pw_build_PIP_CONSTRAINTS = |
Arkadiusz Bokowy | 3d9bc88 | 2023-02-14 03:01:17 +0100 | [diff] [blame] | 38 | [ "//third_party/connectedhomeip/scripts/setup/constraints.txt" ] |
Andrei Litvin | 2b6423d | 2023-06-19 11:13:29 -0400 | [diff] [blame] | 39 | pw_build_PIP_REQUIREMENTS = [ |
| 40 | "//third_party/connectedhomeip/scripts/setup/requirements.build.txt", |
| 41 | "//third_party/connectedhomeip/scripts/setup/requirements.esp32.txt", |
| 42 | ] |
rgoliver | 23787d6 | 2022-11-23 12:24:44 -0500 | [diff] [blame] | 43 | |
Kedar Sovani | 8617e2a | 2020-08-30 02:33:21 +0530 | [diff] [blame] | 44 | import("//args.gni") |
| 45 | } |