Skip to content

Commit

Permalink
Restyled by gn
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and joonhaengHeo committed Oct 5, 2023
1 parent 72d7201 commit 8265c05
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
6 changes: 2 additions & 4 deletions src/app/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
import("//build_overrides/chip.gni")
import("//build_overrides/nlio.gni")
import("${chip_root}/build/chip/buildconfig_header.gni")
import("${chip_root}/src/lib/core/core.gni")
import("${chip_root}/src/platform/device.gni")
import("common_flags.gni")
import("icd/icd.gni")
import("${chip_root}/src/lib/core/core.gni")

declare_args() {
# Enable strict schema checks.
Expand Down Expand Up @@ -210,9 +210,7 @@ static_library("app") {
}

if (chip_build_controller_dynamic_server) {
defines = [
"CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT=1",
]
defines = [ "CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT=1" ]
sources += [
"clusters/ota-provider/ota-provider.cpp",
"dynamic_server/AccessControl.cpp",
Expand Down
1 change: 0 additions & 1 deletion src/controller/java/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ shared_library("jni") {
if (chip_build_controller_dynamic_server) {
defines += [ "CHIP_DEVICE_CONFIG_DYNAMIC_SERVER" ]
deps += [ "${chip_root}/src/controller:nodatamodel" ]

}

if (matter_enable_java_compilation) {
Expand Down
1 change: 0 additions & 1 deletion src/lib/core/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ buildconfig_header("chip_buildconfig") {
"CHIP_CONFIG_CANCELABLE_HAS_INFO_STRING_FIELD=${chip_config_cancelable_has_info_string_field}",
"CHIP_CONFIG_BIG_ENDIAN_TARGET=${chip_target_is_big_endian}",
"CHIP_CONFIG_SKIP_APP_SPECIFIC_GENERATED_HEADER_INCLUDES=${chip_build_controller_dynamic_server}",

]
}

Expand Down

0 comments on commit 8265c05

Please sign in to comment.