-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid usage of a separate build environment for compile time codegen (#…
…23861) * Try to disable virtual env usage for codegen * Fix IDL paths. also add missing callbackstubsource.jinja from the list for change detection * Restyle * Update chip script: need to ensure build environment is set up * Restyle * Fix typo * Fix cirque typo * Switch bootstrap with activate
- Loading branch information
Showing
4 changed files
with
60 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import("//build_overrides/build.gni") | ||
import("//build_overrides/chip.gni") | ||
|
||
# Templates used for generation | ||
matter_idl_generator_templates = [ | ||
"${chip_root}/scripts/idl/generators/bridge/BridgeClustersCpp.jinja", | ||
"${chip_root}/scripts/idl/generators/bridge/BridgeClustersCommon.jinja", | ||
"${chip_root}/scripts/idl/generators/bridge/BridgeClustersGlobalStructs.jinja", | ||
"${chip_root}/scripts/idl/generators/java/ChipClustersCpp.jinja", | ||
"${chip_root}/scripts/idl/generators/java/ChipClustersRead.jinja", | ||
"${chip_root}/scripts/idl/generators/cpp/application/CallbackStubSource.jinja", | ||
"${chip_root}/scripts/idl/generators/cpp/application/PluginApplicationCallbacksHeader.jinja", | ||
] | ||
|
||
matter_idl_generator_sources = [ | ||
"${chip_root}/scripts/idl/__init__.py", | ||
"${chip_root}/scripts/idl/generators/__init__.py", | ||
"${chip_root}/scripts/idl/generators/bridge/__init__.py", | ||
"${chip_root}/scripts/idl/generators/cpp/__init__.py", | ||
"${chip_root}/scripts/idl/generators/cpp/application/__init__.py", | ||
"${chip_root}/scripts/idl/generators/filters.py", | ||
"${chip_root}/scripts/idl/generators/java/__init__.py", | ||
"${chip_root}/scripts/idl/generators/types.py", | ||
"${chip_root}/scripts/idl/matter_idl_parser.py", | ||
"${chip_root}/scripts/idl/matter_idl_types.py", | ||
"${chip_root}/scripts/idl/xml_parser.py", | ||
"${chip_root}/scripts/idl/zapxml/__init__.py", | ||
"${chip_root}/scripts/idl/zapxml/handlers/__init__.py", | ||
"${chip_root}/scripts/idl/zapxml/handlers/base.py", | ||
"${chip_root}/scripts/idl/zapxml/handlers/context.py", | ||
"${chip_root}/scripts/idl/zapxml/handlers/handlers.py", | ||
"${chip_root}/scripts/idl/zapxml/handlers/parsing.py", | ||
] | ||
|
||
# All the files that the matter idl infrastructure will use | ||
matter_idl_generator_files = | ||
matter_idl_generator_templates + matter_idl_generator_sources |