Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / src / platform / EFR32 / args.gni
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
15 import("//build_overrides/chip.gni")
16 import("//build_overrides/efr32_sdk.gni")
17
18 import("${chip_root}/examples/platform/efr32/args.gni")
19
20 # ARM architecture flags will be set based on efr32_family.
21 arm_platform_config = "${efr32_sdk_build_root}/efr32_arm.gni"
22
23 mbedtls_target = "${efr32_sdk_build_root}:efr32_sdk"
24
25 openthread_external_mbedtls = mbedtls_target
26
27 chip_device_platform = "efr32"
28
29 lwip_platform = "efr32"
30 lwip_ipv6 = true
31 lwip_ipv4 = false
32 lwip_api = true
33
34 chip_inet_config_enable_ipv4 = false
35 chip_inet_config_enable_dns_resolver = false
36
37 chip_build_tests = false
38
39 openthread_core_config_platform_check_file =
40     "openthread-core-efr32-config-check.h"
41 openthread_project_core_config_file = "OpenThreadConfig.h"
42 openthread_core_config_deps = [ "${chip_root}/examples/platform/efr32:openthread_core_config_efr32_chip_examples" ]
43
44 openthread_external_platform =
45     "${chip_root}/third_party/openthread/platforms/efr32:libopenthread-efr32"
46
47 chip_config_memory_management = "platform"