diff --git a/src/platform/BUILD.gn b/src/platform/BUILD.gn index 50eb6cdd7d089c..b24f05cf39bb91 100644 --- a/src/platform/BUILD.gn +++ b/src/platform/BUILD.gn @@ -294,6 +294,7 @@ if (chip_device_platform != "none") { public_deps = [ ":platform_base", + "${chip_root}/src/app:app_buildconfig", "${chip_root}/src/crypto", "${chip_root}/src/lib/support", ] diff --git a/src/platform/Darwin/BUILD.gn b/src/platform/Darwin/BUILD.gn index b5cd1b1d9f0644..d54717826a997e 100644 --- a/src/platform/Darwin/BUILD.gn +++ b/src/platform/Darwin/BUILD.gn @@ -66,7 +66,10 @@ static_library("Darwin") { "${chip_root}/src/setup_payload", ] - public_deps = [ "${chip_root}/src/platform:platform_base" ] + public_deps = [ + "${chip_root}/src/app:app_buildconfig", + "${chip_root}/src/platform:platform_base", + ] public_configs = [ ":darwin_config" ]