blob: d3709a1bac52c16c023af76e92eace5b5c418763 [file] [log] [blame]
import("//build_overrides/build.gni")
import("//build_overrides/chip.gni")
# Templates used for generation
matter_idl_generator_templates = [
"${chip_root}/scripts/py_matter_idl/matter_idl/generators/cpp/application/CallbackStubSource.jinja",
"${chip_root}/scripts/py_matter_idl/matter_idl/generators/cpp/application/ClusterInitCallbackSource.jinja",
"${chip_root}/scripts/py_matter_idl/matter_idl/generators/cpp/application/PluginApplicationCallbacksHeader.jinja",
"${chip_root}/scripts/py_matter_idl/matter_idl/generators/cpp/tlvmeta/TLVMetaData_cpp.jinja",
"${chip_root}/scripts/py_matter_idl/matter_idl/generators/cpp/tlvmeta/TLVMetaData_h.jinja",
"${chip_root}/scripts/py_matter_idl/matter_idl/generators/idl/MatterIdl.jinja",
"${chip_root}/scripts/py_matter_idl/matter_idl/generators/java/ChipEventStructs.jinja",
"${chip_root}/scripts/py_matter_idl/matter_idl/generators/java/ChipStructs.jinja",
"${chip_root}/scripts/py_matter_idl/matter_idl/generators/java/ClusterIDMapping.jinja",
"${chip_root}/scripts/py_matter_idl/matter_idl/generators/java/ClusterReadMapping.jinja",
"${chip_root}/scripts/py_matter_idl/matter_idl/generators/java/ClusterWriteMapping.jinja",
]
matter_idl_generator_sources = [
"${chip_root}/scripts/py_matter_idl/matter_idl/__init__.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/backwards_compatibility.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/data_model_xml/__init__.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/data_model_xml/handlers/__init__.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/data_model_xml/handlers/base.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/data_model_xml/handlers/context.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/data_model_xml/handlers/derivation.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/data_model_xml/handlers/handlers.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/data_model_xml/handlers/parsing.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/generators/__init__.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/generators/cluster_selection.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/generators/cpp/__init__.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/generators/cpp/application/__init__.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/generators/cpp/tlvmeta/__init__.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/generators/filters.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/generators/idl/__init__.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/generators/java/__init__.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/generators/registry.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/generators/type_definitions.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/lint/__init__.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/lint/lint_rules_parser.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/lint/type_definitions.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/matter_idl_parser.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/matter_idl_types.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/test_backwards_compatibility.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/test_data_model_xml.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/test_generators.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/test_matter_idl_parser.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/test_zapxml.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/zapxml/__init__.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/zapxml/handlers/__init__.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/zapxml/handlers/base.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/zapxml/handlers/context.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/zapxml/handlers/handlers.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/zapxml/handlers/parsing.py",
"${chip_root}/scripts/py_matter_idl/matter_idl/zapxml_parser.py",
]
# All the files that the matter idl infrastructure will use
matter_idl_generator_files =
matter_idl_generator_templates + matter_idl_generator_sources