Skip to content

Commit

Permalink
Add app_config dependency to all ThreadStackManagerImpl.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Jan 20, 2025
1 parent 23b5bad commit 7463613
Show file tree
Hide file tree
Showing 21 changed files with 45 additions and 8 deletions.
1 change: 1 addition & 0 deletions src/platform/ESP32/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ static_library("ESP32") {
"ThreadStackManagerImpl.cpp",
"ThreadStackManagerImpl.h",
]
deps += [ "${chip_root}/src/app:app_config" ]
if (chip_mdns == "platform") {
sources += [
"../OpenThread/OpenThreadDnssdImpl.cpp",
Expand Down
1 change: 1 addition & 0 deletions src/platform/Linux/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ static_library("Linux") {
"ThreadStackManagerImpl.h",
]

deps += [ "${chip_root}/src/app:app_config" ]
public_deps += [ "dbus/openthread" ]
}

Expand Down
1 change: 1 addition & 0 deletions src/platform/NuttX/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ static_library("NuttX") {
"ThreadStackManagerImpl.h",
]

deps += [ "${chip_root}/src/app:app_config" ]
public_deps += [ "dbus/openthread" ]
}

Expand Down
1 change: 1 addition & 0 deletions src/platform/Tizen/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ static_library("Tizen") {
"ThreadStackManagerImpl.cpp",
"ThreadStackManagerImpl.h",
]
deps += [ "${chip_root}/src/app:app_config" ]
}

if (chip_enable_wifi) {
Expand Down
1 change: 1 addition & 0 deletions src/platform/Zephyr/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ static_library("Zephyr") {
"ThreadStackManagerImpl.cpp",
"ThreadStackManagerImpl.h",
]
deps += [ "${chip_root}/src/app:app_config" ]

if (chip_mdns == "platform") {
sources += [
Expand Down
5 changes: 4 additions & 1 deletion src/platform/bouffalolab/BL616/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ static_library("BL616") {

import("//build_overrides/bouffalolab_iot_sdk.gni")
import("${bouffalolab_iot_sdk_build_root}/bl616/bouffalo_sdk.gni")
deps += [ "${bouffalolab_iot_sdk_build_root}/bl616:bouffalo_sdk" ]
deps += [
"${bouffalolab_iot_sdk_build_root}/bl616:bouffalo_sdk",
"${chip_root}/src/app:app_config",
]

sources += [
"../../OpenThread/OpenThreadUtils.cpp",
Expand Down
5 changes: 4 additions & 1 deletion src/platform/bouffalolab/BL702/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@ static_library("BL702") {

import("//build_overrides/bouffalolab_iot_sdk.gni")
import("${bouffalolab_iot_sdk_build_root}/bl702/bl_iot_sdk.gni")
deps += [ "${bouffalolab_iot_sdk_build_root}/bl702:bl_iot_sdk" ]
deps += [
"${bouffalolab_iot_sdk_build_root}/bl702:bl_iot_sdk",
"${chip_root}/src/app:app_config",
]

sources += [
"../../OpenThread/OpenThreadUtils.cpp",
Expand Down
5 changes: 4 additions & 1 deletion src/platform/bouffalolab/BL702L/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@ static_library("BL702L") {

import("//build_overrides/bouffalolab_iot_sdk.gni")
import("${bouffalolab_iot_sdk_build_root}/bl702l/bl_iot_sdk.gni")
deps += [ "${bouffalolab_iot_sdk_build_root}/bl702l:bl_iot_sdk" ]
deps += [
"${bouffalolab_iot_sdk_build_root}/bl702l:bl_iot_sdk",
"${chip_root}/src/app:app_config",
]

sources += [
"../../OpenThread/OpenThreadUtils.cpp",
Expand Down
1 change: 1 addition & 0 deletions src/platform/cc13xx_26xx/cc13x4_26x4/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ static_library("cc13x4_26x4") {
"../ThreadStackManagerImpl.cpp",
"ThreadStackManagerImpl.h",
]
deps += [ "${chip_root}/src/app:app_config" ]

if (chip_mdns == "platform") {
deps += [ "${chip_root}/src/lib/dnssd:platform_header" ]
Expand Down
1 change: 1 addition & 0 deletions src/platform/nrfconnect/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ static_library("nrfconnect") {
"../Zephyr/ThreadStackManagerImpl.cpp",
"ThreadStackManagerImpl.h",
]
deps += [ "${chip_root}/src/app:app_config" ]

if (chip_mdns_platform) {
sources += [
Expand Down
1 change: 1 addition & 0 deletions src/platform/nxp/k32w0/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ static_library("nxp_platform") {
"ThreadStackManagerImpl.cpp",
"ThreadStackManagerImpl.h",
]
deps += [ "${chip_root}/src/app:app_config" ]

if (chip_mdns == "platform") {
sources += [
Expand Down
1 change: 1 addition & 0 deletions src/platform/nxp/mcxw71_k32w1/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ static_library("nxp_platform") {
"ThreadStackManagerImpl.cpp",
"ThreadStackManagerImpl.h",
]
deps += [ "${chip_root}/src/app:app_config" ]

deps += [ "${chip_root}/third_party/openthread:openthread" ]
public_deps += [ "${chip_root}/third_party/openthread:openthread-platform" ]
Expand Down
1 change: 1 addition & 0 deletions src/platform/nxp/mw320/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ static_library("mw320") {
"ThreadStackManagerImpl.cpp",
"ThreadStackManagerImpl.h",
]
deps += [ "${chip_root}/src/app:app_config" ]

if (chip_mdns == "platform") {
sources += [ "../../OpenThread/MdnsImpl.cpp" ]
Expand Down
5 changes: 4 additions & 1 deletion src/platform/nxp/rt/rt1060/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,10 @@ static_library("nxp_platform") {
"../../common/ThreadStackManagerImpl.h",
]

deps += [ "${chip_root}/src/app/common:ids" ]
deps += [
"${chip_root}/src/app:app_config",
"${chip_root}/src/app/common:ids",
]

if (!nxp_build_matter_standalone_lib) {
deps += [ "${chip_root}/third_party/openthread:openthread" ]
Expand Down
5 changes: 4 additions & 1 deletion src/platform/nxp/rt/rt1170/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,10 @@ static_library("nxp_platform") {
"../../common/ThreadStackManagerImpl.h",
]

deps += [ "${chip_root}/src/app/common:ids" ]
deps += [
"${chip_root}/src/app:app_config",
"${chip_root}/src/app/common:ids",
]

if (!nxp_build_matter_standalone_lib) {
deps += [ "${chip_root}/third_party/openthread:openthread" ]
Expand Down
5 changes: 4 additions & 1 deletion src/platform/nxp/rt/rw61x/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,10 @@ static_library("nxp_platform") {
"../../common/ThreadStackManagerImpl.h",
]

deps += [ "${chip_root}/src/app/common:ids" ]
deps += [
"${chip_root}/src/app:app_config",
"${chip_root}/src/app/common:ids",
]

if (!nxp_build_matter_standalone_lib) {
deps += [ "${chip_root}/third_party/openthread:openthread" ]
Expand Down
1 change: 1 addition & 0 deletions src/platform/qpg/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ static_library("qpg") {
"ThreadStackManagerImpl.cpp",
"ThreadStackManagerImpl.h",
]
deps += [ "${chip_root}/src/app:app_config" ]

if (chip_mdns == "platform") {
sources += [
Expand Down
5 changes: 4 additions & 1 deletion src/platform/silabs/efr32/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,10 @@ static_library("efr32") {
if (chip_enable_openthread) {
public_deps += [ "${chip_root}/third_party/openthread:openthread" ]

deps += [ "${chip_root}/third_party/openthread:openthread_cli" ]
deps += [
"${chip_root}/src/app:app_config",
"${chip_root}/third_party/openthread:openthread_cli",
]

sources += [
"${silabs_platform_dir}/ThreadStackManagerImpl.h",
Expand Down
5 changes: 4 additions & 1 deletion src/platform/stm32/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ static_library("stm32") {
import("${stm32_sdk_build_root}/stm32_sdk.gni")
public_deps += [ "${stm32_sdk_build_root}:stm32_sdk" ]

deps += [ "${chip_root}/src/lib/dnssd:platform_header" ]
deps += [
"${chip_root}/src/app:app_config",
"${chip_root}/src/lib/dnssd:platform_header",
]
}

# Set the compiler flags
Expand Down
1 change: 1 addition & 0 deletions src/platform/telink/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ static_library("telink") {
"ThreadStackManagerImpl.cpp",
"ThreadStackManagerImpl.h",
]
deps += [ "${chip_root}/src/app:app_config" ]

if (chip_mdns_platform) {
sources += [
Expand Down
1 change: 1 addition & 0 deletions src/platform/webos/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ static_library("webos") {
"ThreadStackManagerImpl.h",
]

deps += [ "${chip_root}/src/app:app_config" ]
public_deps += [ "dbus/openthread" ]
}

Expand Down

0 comments on commit 7463613

Please sign in to comment.