Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop generating BridgeGlobalStructs.h for dynamic-bridge-app #27020

Merged
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion examples/dynamic-bridge-app/linux/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ chip_codegen("chip-bridge-codegen") {
"bridge/Switch.h",
"bridge/TemperatureMeasurement.h",
"bridge/BridgeClustersImpl.h",
"bridge/BridgeGlobalStructs.h",
]
}

Expand Down
4 changes: 0 additions & 4 deletions scripts/py_matter_idl/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,16 @@ pw_python_package("matter_idl") {
"matter_idl/tests/inputs/several_clusters.matter",
"matter_idl/tests/inputs/simple_attribute.matter",
"matter_idl/tests/outputs/cluster_struct_attribute/bridge/BridgeClustersImpl.h",
"matter_idl/tests/outputs/cluster_struct_attribute/bridge/BridgeGlobalStructs.h",
"matter_idl/tests/outputs/cluster_struct_attribute/bridge/DemoClusterServer.h",
"matter_idl/tests/outputs/cluster_struct_attribute/jni/DemoClusterClient-ReadImpl.cpp",
"matter_idl/tests/outputs/cluster_struct_attribute/jni/DemoClusterClient-InvokeSubscribeImpl.cpp",
"matter_idl/tests/outputs/global_struct_attribute/bridge/BridgeClustersImpl.h",
"matter_idl/tests/outputs/global_struct_attribute/bridge/BridgeGlobalStructs.h",
"matter_idl/tests/outputs/global_struct_attribute/bridge/DemoClusterServer.h",
"matter_idl/tests/outputs/global_struct_attribute/jni/DemoClusterClient-ReadImpl.cpp",
"matter_idl/tests/outputs/global_struct_attribute/jni/DemoClusterClient-InvokeSubscribeImpl.cpp",
"matter_idl/tests/outputs/optional_argument/jni/MyClusterClient-ReadImpl.cpp",
"matter_idl/tests/outputs/optional_argument/jni/MyClusterClient-InvokeSubscribeImpl.cpp",
"matter_idl/tests/outputs/several_clusters/bridge/BridgeClustersImpl.h",
"matter_idl/tests/outputs/several_clusters/bridge/BridgeGlobalStructs.h",
"matter_idl/tests/outputs/several_clusters/bridge/FirstServer.h",
"matter_idl/tests/outputs/several_clusters/bridge/SecondServer.h",
"matter_idl/tests/outputs/several_clusters/bridge/Third.h",
Expand All @@ -65,7 +62,6 @@ pw_python_package("matter_idl") {
"matter_idl/tests/outputs/several_clusters/jni/SecondClient-InvokeSubscribeImpl.cpp",
"matter_idl/tests/outputs/several_clusters/jni/ThirdClient-InvokeSubscribeImpl.cpp",
"matter_idl/tests/outputs/simple_attribute/bridge/BridgeClustersImpl.h",
"matter_idl/tests/outputs/simple_attribute/bridge/BridgeGlobalStructs.h",
"matter_idl/tests/outputs/simple_attribute/bridge/MyClusterServer.h",
"matter_idl/tests/outputs/simple_attribute/jni/MyClusterClient-ReadImpl.cpp",
"matter_idl/tests/outputs/simple_attribute/jni/MyClusterClient-InvokeSubscribeImpl.cpp",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include "BridgeGlobalStructs.h"
#include "GeneratedClusters.h"

namespace clusters {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#include <new>

#include "bridge/BridgeGlobalStructs.h"

namespace clusters {

{%- for cluster in clusters %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,3 @@ def internal_render_all(self):
'idl': self.idl,
}
)

self.internal_render_one_output(
template_path="BridgeClustersGlobalStructs.jinja",
output_file_name="bridge/BridgeGlobalStructs.h",
vars={
'idl': self.idl,
'structs': self.idl.structs,
}
)
5 changes: 0 additions & 5 deletions scripts/py_matter_idl/matter_idl/tests/available_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,30 +54,25 @@ java-class:
bridge:
inputs/simple_attribute.matter:
bridge/BridgeClustersImpl.h: outputs/simple_attribute/bridge/BridgeClustersImpl.h
bridge/BridgeGlobalStructs.h: outputs/simple_attribute/bridge/BridgeGlobalStructs.h
bridge/MyClusterServer.h: outputs/simple_attribute/bridge/MyClusterServer.h

inputs/global_struct_attribute.matter:
bridge/BridgeClustersImpl.h: outputs/global_struct_attribute/bridge/BridgeClustersImpl.h
bridge/BridgeGlobalStructs.h: outputs/global_struct_attribute/bridge/BridgeGlobalStructs.h
bridge/DemoClusterServer.h: outputs/global_struct_attribute/bridge/DemoClusterServer.h

inputs/cluster_struct_attribute.matter:
bridge/BridgeClustersImpl.h: outputs/cluster_struct_attribute/bridge/BridgeClustersImpl.h
bridge/BridgeGlobalStructs.h: outputs/cluster_struct_attribute/bridge/BridgeGlobalStructs.h
bridge/DemoClusterServer.h: outputs/cluster_struct_attribute/bridge/DemoClusterServer.h

inputs/several_clusters.matter:
bridge/BridgeClustersImpl.h: outputs/several_clusters/bridge/BridgeClustersImpl.h
bridge/BridgeGlobalStructs.h: outputs/several_clusters/bridge/BridgeGlobalStructs.h
bridge/FirstServer.h: outputs/several_clusters/bridge/FirstServer.h
bridge/SecondServer.h: outputs/several_clusters/bridge/SecondServer.h
bridge/ThirdServer.h: outputs/several_clusters/bridge/ThirdServer.h
bridge/Third.h: outputs/several_clusters/bridge/Third.h

inputs/cluster_with_commands.matter:
bridge/BridgeClustersImpl.h: outputs/cluster_with_commands/bridge/BridgeClustersImpl.h
bridge/BridgeGlobalStructs.h: outputs/cluster_with_commands/bridge/BridgeGlobalStructs.h
bridge/OnOff.h: outputs/cluster_with_commands/bridge/OnOff.h

cpp-app:
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include "BridgeGlobalStructs.h"
#include "GeneratedClusters.h"

namespace clusters {
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include "BridgeGlobalStructs.h"
#include "GeneratedClusters.h"

namespace clusters {
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include "BridgeGlobalStructs.h"
#include "GeneratedClusters.h"

namespace clusters {
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include "BridgeGlobalStructs.h"
#include "GeneratedClusters.h"

namespace clusters {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include "BridgeGlobalStructs.h"
#include "GeneratedClusters.h"

namespace clusters {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include "BridgeGlobalStructs.h"
#include "GeneratedClusters.h"

namespace clusters {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include "BridgeGlobalStructs.h"
#include "GeneratedClusters.h"

namespace clusters {
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include "BridgeGlobalStructs.h"
#include "GeneratedClusters.h"

namespace clusters {
Expand Down
2 changes: 1 addition & 1 deletion third_party/openthread/ot-nxp
andy31415 marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 1 addition & 1 deletion third_party/pigweed/repo
andy31415 marked this conversation as resolved.
Show resolved Hide resolved
Submodule repo updated 79 files
+0 −1 .gitignore
+2 −14 CMakeLists.txt
+0 −2 Kconfig.zephyr
+0 −1 PIGWEED_MODULES
+0 −1 docs/BUILD.gn
+0 −15 docs/os/zephyr.rst
+2 −3 pw_assert_log/Android.bp
+0 −22 pw_base64/Kconfig
+49 −86 pw_bluetooth/public/pw_bluetooth/hci.emb
+14 −22 pw_bluetooth/public/pw_bluetooth/vendor.emb
+0 −4 pw_build/generated_pigweed_modules_lists.gni
+1 −4 pw_build/python.gni
+0 −2 pw_checksum/CMakeLists.txt
+1 −1 pw_env_setup/py/pw_env_setup/cipd_setup/host_tools.json
+1 −2 pw_env_setup/py/pw_env_setup/cipd_setup/pigweed.json
+7 −4 pw_interrupt/docs.rst
+2 −5 pw_interrupt/public/pw_interrupt/context.h
+0 −20 pw_log_zephyr/CMakeLists.txt
+2 −20 pw_log_zephyr/Kconfig
+0 −56 pw_metric/Android.bp
+0 −77 pw_router/Android.bp
+4 −4 pw_rpc/call.cc
+1 −1 pw_rpc/client_integration_test.cc
+8 −4 pw_rpc/nanopb/public/pw_rpc/nanopb/server_reader_writer.h
+15 −25 pw_rpc/public/pw_rpc/internal/call.h
+1 −5 pw_rpc/public/pw_rpc/internal/client_call.h
+1 −1 pw_rpc/public/pw_rpc/internal/server_call.h
+1 −1 pw_rpc/public/pw_rpc/writer.h
+2 −0 pw_rpc/pw_rpc_private/fake_server_reader_writer.h
+8 −4 pw_rpc/pwpb/public/pw_rpc/pwpb/server_reader_writer.h
+8 −0 pw_rpc/raw/public/pw_rpc/raw/client_reader_writer.h
+4 −0 pw_rpc/raw/public/pw_rpc/raw/server_reader_writer.h
+2 −1 pw_rpc_transport/Android.bp
+0 −41 pw_rpc_transport/BUILD.bazel
+0 −37 pw_rpc_transport/BUILD.gn
+0 −207 pw_rpc_transport/CMakeLists.txt
+0 −156 pw_rpc_transport/docs.rst
+0 −232 pw_rpc_transport/public/pw_rpc_transport/socket_rpc_transport.h
+0 −54 pw_rpc_transport/socket_rpc_transport.cc
+0 −364 pw_rpc_transport/socket_rpc_transport_test.cc
+9 −21 pw_stream/socket_stream.cc
+0 −2 pw_string/Android.bp
+40 −34 pw_string/public/pw_string/internal/string_common_functions.inc
+24 −23 pw_string/public/pw_string/internal/string_impl.h
+103 −68 pw_string/public/pw_string/string.h
+2 −2 pw_string/string_test.cc
+0 −35 pw_sync_zephyr/CMakeLists.txt
+0 −8 pw_sync_zephyr/Kconfig
+0 −41 pw_sync_zephyr/public/pw_sync_zephyr/thread_notification_inline.h
+0 −23 pw_sync_zephyr/public/pw_sync_zephyr/thread_notification_native.h
+0 −28 pw_sync_zephyr/public/pw_sync_zephyr/timed_thread_notification_inline.h
+0 −16 pw_sync_zephyr/public_overrides/thread_notification/pw_sync_backend/thread_notification_inline.h
+0 −16 pw_sync_zephyr/public_overrides/thread_notification/pw_sync_backend/thread_notification_native.h
+0 −16 pw_sync_zephyr/public_overrides/timed_thread_notification/pw_sync_backend/timed_thread_notification_inline.h
+1 −12 pw_system/CMakeLists.txt
+0 −32 pw_system/Kconfig
+0 −3 pw_system/backend.cmake
+2 −2 pw_system/py/pw_system/device.py
+0 −67 pw_system/zephyr_target_hooks.cc
+0 −62 pw_tokenizer/Android.bp
+4 −1 pw_tokenizer/BUILD.gn
+2 −2 pw_tokenizer/CMakeLists.txt
+1 −1 pw_tokenizer/docs.rst
+55 −0 pw_tokenizer/pw_tokenizer_linker_rules.ld
+1 −33 pw_tokenizer/pw_tokenizer_linker_sections.ld
+0 −40 pw_tokenizer/pw_tokenizer_zephyr.ld
+0 −1 pw_transfer/OWNERS
+2 −2 pw_transfer/integration_test/proxy.py
+0 −26 pw_unit_test_zephyr/BUILD.gn
+0 −27 pw_unit_test_zephyr/CMakeLists.txt
+0 −10 pw_unit_test_zephyr/docs.rst
+0 −24 pw_unit_test_zephyr/main.cc
+0 −32 pw_unit_test_zephyr/prj.conf
+0 −23 pw_unit_test_zephyr/testcase.yaml
+1 −5 third_party/fuchsia/copy.bara.sky
+0 −66 third_party/fuchsia/repo/zircon/system/ulib/lazy_init/include/lib/lazy_init/internal/storage.h
+0 −287 third_party/fuchsia/repo/zircon/system/ulib/lazy_init/include/lib/lazy_init/lazy_init.h
+0 −50 third_party/fuchsia/repo/zircon/system/ulib/lazy_init/include/lib/lazy_init/options.h
+0 −6 zephyr/CMakeLists.txt