Skip to content

Commit

Permalink
Add data model included indicator to platform config
Browse files Browse the repository at this point in the history
  • Loading branch information
ATmobica committed Feb 16, 2022
1 parent f788d61 commit fbcd612
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/platform/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ if (chip_device_platform != "none") {
# todo: below operates are not work without root permission
# pthread_attr_setschedpolicy in GenericPlatformManagerImpl_POSIX.cpp
chip_device_config_run_as_root = current_os != "android"

# Indication that the CHIP data model is included
chip_enable_data_model = false
}

if (chip_stack_lock_tracking == "auto") {
Expand Down Expand Up @@ -201,6 +204,7 @@ if (chip_device_platform != "none") {
"CHIP_DEVICE_LAYER_TARGET_MBED=1",
"CHIP_DEVICE_LAYER_TARGET=mbed",
"CHIP_DEVICE_CONFIG_ENABLE_WIFI=${chip_enable_wifi}",
"CHIP_DEVICE_ENABLE_DATA_MODEL=${chip_enable_data_model}",
]
} else if (chip_device_platform == "fake") {
defines += [
Expand Down

0 comments on commit fbcd612

Please sign in to comment.