Skip to content

Commit 995f544

Browse files
committed
rename the source files
1 parent 2d7cb7d commit 995f544

7 files changed

+11
-4
lines changed

src/app/chip_data_model.gni

+5
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,11 @@ template("chip_data_model") {
390390
"${_app_root}/clusters/${cluster}/thread-network-diagnostics-provider.cpp",
391391
"${_app_root}/clusters/${cluster}/thread-network-diagnostics-provider.h",
392392
]
393+
} else if (cluster == "thread-border-router-management-server") {
394+
sources += [
395+
"${_app_root}/clusters/${cluster}/${cluster}.cpp",
396+
"${_app_root}/clusters/${cluster}/thread-border-router-management-server-utils.cpp",
397+
]
393398
} else {
394399
sources += [ "${_app_root}/clusters/${cluster}/${cluster}.cpp" ]
395400
}

src/app/clusters/thread-border-router-management-server/thread-br-mgmt-server.cpp src/app/clusters/thread-border-router-management-server/thread-border-router-management-server.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
#include "thread-br-mgmt-server.h"
18+
#include "thread-border-router-management-server.h"
1919

2020
#include "app-common/zap-generated/cluster-objects.h"
2121
#include "app-common/zap-generated/ids/Attributes.h"

src/app/tests/BUILD.gn

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ source_set("operational-state-test-srcs") {
121121
}
122122

123123
source_set("thread-border-router-management-test-srcs") {
124-
sources = [ "${chip_root}/src/app/clusters/thread-border-router-management-server/thread-br-mgmt-server.cpp" ]
124+
sources = [ "${chip_root}/src/app/clusters/thread-border-router-management-server/thread-border-router-management-server.cpp" ]
125125

126126
public_deps = [
127127
"${chip_root}/src/app",

src/app/tests/TestThreadBorderRouterManagementCluster.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
#include <app-common/zap-generated/cluster-objects.h>
1919
#include <app/CommandHandler.h>
20-
#include <app/clusters/thread-border-router-management-server/thread-br-mgmt-server.h>
20+
#include <app/clusters/thread-border-router-management-server/thread-border-router-management-server.h>
2121
#include <cstdint>
2222
#include <cstring>
2323
#include <lib/core/CHIPError.h>

src/app/zap_cluster_list.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,9 @@
287287
"THERMOSTAT_USER_INTERFACE_CONFIGURATION_CLUSTER": [
288288
"thermostat-user-interface-configuration-server"
289289
],
290-
"THREAD_BORDER_ROUTER_MANAGEMENT_CLUSTER": [],
290+
"THREAD_BORDER_ROUTER_MANAGEMENT_CLUSTER": [
291+
"thread-border-router-management-server"
292+
],
291293
"THREAD_NETWORK_DIAGNOSTICS_CLUSTER": [
292294
"thread-network-diagnostics-server"
293295
],

0 commit comments

Comments
 (0)