diff --git a/src/platform/Darwin/BUILD.gn b/src/platform/Darwin/BUILD.gn index da17b8af7042a6..5544ce476ff1d9 100644 --- a/src/platform/Darwin/BUILD.gn +++ b/src/platform/Darwin/BUILD.gn @@ -81,7 +81,7 @@ static_library("Darwin") { ] } - if (chip_disable_platform_kvs == false) { + if (!chip_disable_platform_kvs) { sources += [ "DeviceInstanceInfoProviderImpl.cpp", "DeviceInstanceInfoProviderImpl.h", diff --git a/src/system/system.gni b/src/system/system.gni index 0a27615c40a577..330f96be7a4c36 100644 --- a/src/system/system.gni +++ b/src/system/system.gni @@ -57,7 +57,7 @@ if (chip_system_config_locking == "") { chip_system_config_locking = "freertos" } else if (current_os == "mbed") { chip_system_config_locking = "mbed" - } else if (chip_system_config_use_dispatch == false) { + } else if (!chip_system_config_use_dispatch) { chip_system_config_locking = "posix" } else { chip_system_config_locking = "none"