Skip to content

Commit

Permalink
Remove dependency on src/lib/address_resolve from platform (#30617)
Browse files Browse the repository at this point in the history
* Remove dependency on src/lib/address_resolve from platform

* Restyle

* Fix quorvo
  • Loading branch information
andy31415 authored and pull[bot] committed Jan 8, 2024
1 parent 2c11be9 commit 5456929
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 75 deletions.
8 changes: 0 additions & 8 deletions src/platform/Infineon/CYW30739/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,6 @@ static_library("CYW30739") {
"ThreadStackManagerImpl.h",
]

# TODO: platform should NOT depend on default_address_resolve_config. This should
# be removed. See https://github.com/project-chip/connectedhomeip/issues/30596
#
# Currently this exists because OpenThread platform includes src/app/Server.h
public_configs = [
"${chip_root}/src/lib/address_resolve:default_address_resolve_config",
]

deps += [
"${chip_root}/third_party/openthread/platforms:libopenthread-platform",
]
Expand Down
8 changes: 0 additions & 8 deletions src/platform/bouffalolab/BL702/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,6 @@ static_library("BL702") {
]
deps += [ "${chip_root}/src/lib/dnssd:platform_header" ]
}

# TODO: platform should NOT depend on default_address_resolve_config. This should
# be removed. See https://github.com/project-chip/connectedhomeip/issues/30596
#
# Currently this exists because OpenThread platform includes src/app/Server.h
public_configs = [
"${chip_root}/src/lib/address_resolve:default_address_resolve_config",
]
}

if (chip_enable_ethernet) {
Expand Down
8 changes: 0 additions & 8 deletions src/platform/bouffalolab/BL702L/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,6 @@ static_library("BL702L") {
]
deps += [ "${chip_root}/src/lib/dnssd:platform_header" ]
}

# TODO: platform should NOT depend on default_address_resolve_config. This should
# be removed. See https://github.com/project-chip/connectedhomeip/issues/30596
#
# Currently this exists because OpenThread platform includes src/app/Server.h
public_configs = [
"${chip_root}/src/lib/address_resolve:default_address_resolve_config",
]
}

deps += [ "${chip_root}/src/credentials:credentials_header" ]
Expand Down
7 changes: 0 additions & 7 deletions src/platform/cc13xx_26xx/cc13x2_26x2/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,6 @@ static_library("cc13x2_26x2") {
"${chip_root}/src/platform:platform_base",
]

# TODO: platform should NOT depend on default_address_resolve_config. This should
# be removed. See https://github.com/project-chip/connectedhomeip/issues/30596
#
# Currently this exists because OpenThread platform includes src/app/Server.h
public_configs =
[ "${chip_root}/src/lib/address_resolve:default_address_resolve_config" ]

if (chip_enable_ble) {
sources += [
"../BLEManagerImpl.cpp",
Expand Down
7 changes: 0 additions & 7 deletions src/platform/cc13xx_26xx/cc13x4_26x4/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,6 @@ static_library("cc13x4_26x4") {
"${chip_root}/src/platform:platform_base",
]

# TODO: platform should NOT depend on default_address_resolve_config. This should
# be removed. See https://github.com/project-chip/connectedhomeip/issues/30596
#
# Currently this exists because OpenThread platform includes src/app/Server.h
public_configs =
[ "${chip_root}/src/lib/address_resolve:default_address_resolve_config" ]

if (chip_enable_ble) {
sources += [
"../BLEManagerImpl.cpp",
Expand Down
8 changes: 0 additions & 8 deletions src/platform/nxp/k32w/k32w0/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -140,14 +140,6 @@ static_library("k32w0") {
]
deps += [ "${chip_root}/src/lib/dnssd:platform_header" ]
}

# TODO: platform should NOT depend on default_address_resolve_config. This should
# be removed. See https://github.com/project-chip/connectedhomeip/issues/30596
#
# Currently this exists because OpenThread platform includes src/app/Server.h
public_configs = [
"${chip_root}/src/lib/address_resolve:default_address_resolve_config",
]
}

public_deps += [ "${chip_root}/src/crypto" ]
Expand Down
7 changes: 0 additions & 7 deletions src/platform/nxp/k32w/k32w1/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,4 @@ static_library("k32w1") {
}

public_deps += [ "${chip_root}/src/crypto" ]

# TODO: platform should NOT depend on default_address_resolve_config. This should
# be removed. See https://github.com/project-chip/connectedhomeip/issues/30596
#
# Currently this exists because OpenThread platform includes src/app/Server.h
public_configs =
[ "${chip_root}/src/lib/address_resolve:default_address_resolve_config" ]
}
10 changes: 1 addition & 9 deletions src/platform/nxp/rt/rw61x/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,5 @@ static_library("nxp_platform") {
"${chip_root}/src/platform:syscalls_stub",
]

public_configs = [
":nxp_platform_config",

# TODO: platform should NOT depend on default_address_resolve_config. This should
# be removed. See https://github.com/project-chip/connectedhomeip/issues/30596
#
# Currently this exists because OpenThread platform includes src/app/Server.h
"${chip_root}/src/lib/address_resolve:default_address_resolve_config",
]
public_configs = [ ":nxp_platform_config" ]
}
5 changes: 0 additions & 5 deletions src/platform/qpg/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,8 @@ static_library("qpg") {
public_deps += [ "${openthread_root}:libopenthread-mtd" ]
}

# TODO: platform should NOT depend on default_address_resolve_config. This should
# be removed. See https://github.com/project-chip/connectedhomeip/issues/30596
#
# Currently this exists because OpenThread platform includes src/app/Server.h
public_configs += [
"${chip_root}/third_party/openthread/platforms/qpg:openthread_qpg_config",
"${chip_root}/src/lib/address_resolve:default_address_resolve_config",
]

sources += [
Expand Down
8 changes: 0 additions & 8 deletions src/platform/stm32/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,6 @@ static_library("stm32") {
public_deps += [ "${stm32_sdk_build_root}:stm32_sdk" ]

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

# TODO: platform should NOT depend on default_address_resolve_config. This should
# be removed. See https://github.com/project-chip/connectedhomeip/issues/30596
#
# Currently this exists because OpenThread platform includes src/app/Server.h
public_configs = [
"${chip_root}/src/lib/address_resolve:default_address_resolve_config",
]
}

# Set the compiler flags
Expand Down

0 comments on commit 5456929

Please sign in to comment.