blob: 52535ffabaf95da7a4445f4af121a454e8a20769 [file] [log] [blame]
Kedar Sovani8617e2a2020-08-30 02:33:21 +05301# 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 Duda4e1faf22021-01-27 17:47:25 +010015import("//build_overrides/build.gni")
Jakub Latusek92d87e82024-03-05 20:40:31 +010016import("//build_overrides/pigweed.gni")
Łukasz Duda4e1faf22021-01-27 17:47:25 +010017
Kedar Sovani8617e2a2020-08-30 02:33:21 +053018# The location of the build configuration file.
Łukasz Duda4e1faf22021-01-27 17:47:25 +010019buildconfig = "${build_root}/config/BUILDCONFIG.gn"
Kedar Sovani8617e2a2020-08-30 02:33:21 +053020
21# CHIP uses angle bracket includes.
22check_system_includes = true
23
Kedar Sovani8617e2a2020-08-30 02:33:21 +053024default_args = {
25 target_cpu = "esp32"
26 target_os = "freertos"
27
Jakub Latusek92d87e82024-03-05 20:40:31 +010028 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
rgoliver23787d62022-11-23 12:24:44 -050037 pw_build_PIP_CONSTRAINTS =
Arkadiusz Bokowy3d9bc882023-02-14 03:01:17 +010038 [ "//third_party/connectedhomeip/scripts/setup/constraints.txt" ]
Andrei Litvin2b6423d2023-06-19 11:13:29 -040039 pw_build_PIP_REQUIREMENTS = [
40 "//third_party/connectedhomeip/scripts/setup/requirements.build.txt",
41 "//third_party/connectedhomeip/scripts/setup/requirements.esp32.txt",
42 ]
rgoliver23787d62022-11-23 12:24:44 -050043
Kedar Sovani8617e2a2020-08-30 02:33:21 +053044 import("//args.gni")
45}