blob: 8ec7003633cd4080a016d3d4b707749541f850cd [file] [log] [blame]
# Copyright (c) 2020 Project CHIP Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import("//build_overrides/chip.gni")
import("//build_overrides/cyw30739_sdk.gni")
import("${chip_root}/examples/platform/infineon/cyw30739/args.gni")
import("${cyw30739_sdk_build_root}/cyw30739_sdk.gni")
static_library("platform") {
sources = [
"EventManagementTestEventTriggerHandler.h",
"LEDWidget.h",
"OTAConfig.h",
"SoftwareDiagnostics.h",
"main.cpp",
]
public_configs = [ ":${target_name}-config" ]
deps = [ app_data_model ]
}
config("platform-config") {
include_dirs = [ "." ]
}
config("chip_examples_project_config") {
include_dirs = [ "project_include" ]
}
source_set("openthread_core_config_ifx_chip_examples") {
sources = [ "project_include/OpenThreadConfig.h" ]
public_deps = [ "${chip_root}/third_party/openthread/platforms/ifx:openthread_core_config_ifx" ]
public_configs = [ ":chip_examples_project_config" ]
}