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

Compile time code generation - add relevant code to all example builds (plus one sample codegen moved) #23247

Merged
merged 27 commits into from
Oct 21, 2022
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
608aef8
Compile time code generation.
andy31415 Oct 18, 2022
1cae095
Remove PluginApplicationCallbacks.zapt
andy31415 Oct 18, 2022
6c2b5b0
Restyle
andy31415 Oct 18, 2022
7d49af5
Add idl to build instructions
andy31415 Oct 18, 2022
c410d7d
Disable pylint for now. It looks like pylint is a lot more strict tha…
andy31415 Oct 18, 2022
1aad352
Ensure we run codegen so sanitizer can find generated files
andy31415 Oct 18, 2022
2167e93
Merge branch 'master' into build_time_codegen
andy31415 Oct 19, 2022
98b1b5c
Merge branch 'master' into build_time_codegen
andy31415 Oct 19, 2022
e03c5fd
Merge branch 'master' into build_time_codegen
andy31415 Oct 19, 2022
bc5a25d
Revert telink changes after master merge: no need for separate codege…
andy31415 Oct 19, 2022
5527a0e
Ensure all needed codegen is done (for clang tidy at least). Tested i…
andy31415 Oct 19, 2022
24a36d1
Code review comment: centralize the generator/string for known genera…
andy31415 Oct 19, 2022
94722a7
Undo undesired file creation
andy31415 Oct 19, 2022
8fa2471
Adjust the run_codegen_targets a bit
andy31415 Oct 19, 2022
dd5a181
Undo shellharden: it breaks the script
andy31415 Oct 19, 2022
c07b25e
Add exception on shellharden on run_codegen_targets
andy31415 Oct 19, 2022
892e39a
Fix clang tidy location for darwin: it uses out/default not out/sanit…
andy31415 Oct 19, 2022
ae38dc4
Add a server cluster to the several_clusters unit test, to validate t…
andy31415 Oct 20, 2022
cf2deca
Make bridge generate ONLY client clusters as it reuses the same name …
andy31415 Oct 20, 2022
575fd5d
Separate client and server headers for bridge codegen
andy31415 Oct 20, 2022
34eddf4
Resolve bridge: clients have default names, Server headers are separa…
andy31415 Oct 20, 2022
a730f6e
Fix build rules
andy31415 Oct 20, 2022
1dbe889
Do not lint test matter files for spec compliance
andy31415 Oct 20, 2022
b1e8c77
Github runners do not use bash by default. Make the conditionals diff…
andy31415 Oct 20, 2022
209d0c9
Fix operator for lint exception check
andy31415 Oct 20, 2022
3568c88
Undo typo
andy31415 Oct 21, 2022
1198775
Merge branch 'master' into build_time_codegen
andy31415 Oct 21, 2022
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
Prev Previous commit
Next Next commit
Add idl to build instructions
  • Loading branch information
andy31415 committed Oct 18, 2022
commit 7d49af5662309123c80c1c99b81505fea3f1e4ee
3 changes: 3 additions & 0 deletions scripts/idl/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ pw_python_package("idl") {
"generators/bridge/BridgeClustersGlobalStructs.jinja",
"generators/java/ChipClustersCpp.jinja",
"generators/java/ChipClustersRead.jinja",
"generators/cpp/application/PluginApplicationCallbacksHeader.jinja",

# Unit test data
"tests/available_tests.yaml",
Expand Down Expand Up @@ -72,6 +73,8 @@ pw_python_package("idl") {
"__init__.py",
"generators/__init__.py",
"generators/bridge/__init__.py",
"generators/cpp/__init__.py",
"generators/cpp/application/__init__.py",
"generators/filters.py",
"generators/java/__init__.py",
"generators/types.py",
Expand Down