From 4c27c1f02b9e4ea260ffd1afe0589d31cc8ae8ed Mon Sep 17 00:00:00 2001 From: jfpenven Date: Thu, 5 Nov 2020 12:42:47 -0500 Subject: [PATCH] Moved template to src/app --- src/app/docs/README.md | 4 ++++ {third_party/zap/templates => src/app/zap}/README.md | 0 {third_party/zap/templates => src/app/zap}/af-structs.zapt | 0 {third_party/zap/templates => src/app/zap}/att-storage.zapt | 0 {third_party/zap/templates => src/app/zap}/attribute-id.zapt | 0 .../zap/templates => src/app/zap}/attribute-type.zapt | 0 .../templates => src/app/zap}/call-command-handler-src.zapt | 0 .../zap/templates => src/app/zap}/call-command-handler.zapt | 0 .../zap/templates => src/app/zap}/callback-stub-src.zapt | 0 {third_party/zap/templates => src/app/zap}/callback.zapt | 0 .../zap/templates => src/app/zap}/chip-templates.json | 0 .../zap/templates => src/app/zap}/client-command-macro.zapt | 0 {third_party/zap/templates => src/app/zap}/cluster-id.zapt | 0 {third_party/zap/templates => src/app/zap}/command-id.zapt | 0 .../zap/templates => src/app/zap}/endpoint_config.zapt | 0 {third_party/zap/templates => src/app/zap}/enums.zapt | 0 {third_party/zap/templates => src/app/zap}/gen_config.zapt | 0 {third_party/zap/templates => src/app/zap}/helper-chip.js | 0 {third_party/zap/templates => src/app/zap}/print-cluster.zapt | 0 19 files changed, 4 insertions(+) rename {third_party/zap/templates => src/app/zap}/README.md (100%) rename {third_party/zap/templates => src/app/zap}/af-structs.zapt (100%) rename {third_party/zap/templates => src/app/zap}/att-storage.zapt (100%) rename {third_party/zap/templates => src/app/zap}/attribute-id.zapt (100%) rename {third_party/zap/templates => src/app/zap}/attribute-type.zapt (100%) rename {third_party/zap/templates => src/app/zap}/call-command-handler-src.zapt (100%) rename {third_party/zap/templates => src/app/zap}/call-command-handler.zapt (100%) rename {third_party/zap/templates => src/app/zap}/callback-stub-src.zapt (100%) rename {third_party/zap/templates => src/app/zap}/callback.zapt (100%) rename {third_party/zap/templates => src/app/zap}/chip-templates.json (100%) rename {third_party/zap/templates => src/app/zap}/client-command-macro.zapt (100%) rename {third_party/zap/templates => src/app/zap}/cluster-id.zapt (100%) rename {third_party/zap/templates => src/app/zap}/command-id.zapt (100%) rename {third_party/zap/templates => src/app/zap}/endpoint_config.zapt (100%) rename {third_party/zap/templates => src/app/zap}/enums.zapt (100%) rename {third_party/zap/templates => src/app/zap}/gen_config.zapt (100%) rename {third_party/zap/templates => src/app/zap}/helper-chip.js (100%) rename {third_party/zap/templates => src/app/zap}/print-cluster.zapt (100%) diff --git a/src/app/docs/README.md b/src/app/docs/README.md index afaca66c2370d2..234369e3d2f83b 100644 --- a/src/app/docs/README.md +++ b/src/app/docs/README.md @@ -29,6 +29,10 @@ Framework including the file you are reading right now. This directory contains all of the cluster implementations included in the CHIP ZCL Application Framework. +### /src/app/zap> + +This directory contains all of the templates and helpers specific to CHIP for the ZAP tool. + ## Public APIs ### Attribute changes diff --git a/third_party/zap/templates/README.md b/src/app/zap/README.md similarity index 100% rename from third_party/zap/templates/README.md rename to src/app/zap/README.md diff --git a/third_party/zap/templates/af-structs.zapt b/src/app/zap/af-structs.zapt similarity index 100% rename from third_party/zap/templates/af-structs.zapt rename to src/app/zap/af-structs.zapt diff --git a/third_party/zap/templates/att-storage.zapt b/src/app/zap/att-storage.zapt similarity index 100% rename from third_party/zap/templates/att-storage.zapt rename to src/app/zap/att-storage.zapt diff --git a/third_party/zap/templates/attribute-id.zapt b/src/app/zap/attribute-id.zapt similarity index 100% rename from third_party/zap/templates/attribute-id.zapt rename to src/app/zap/attribute-id.zapt diff --git a/third_party/zap/templates/attribute-type.zapt b/src/app/zap/attribute-type.zapt similarity index 100% rename from third_party/zap/templates/attribute-type.zapt rename to src/app/zap/attribute-type.zapt diff --git a/third_party/zap/templates/call-command-handler-src.zapt b/src/app/zap/call-command-handler-src.zapt similarity index 100% rename from third_party/zap/templates/call-command-handler-src.zapt rename to src/app/zap/call-command-handler-src.zapt diff --git a/third_party/zap/templates/call-command-handler.zapt b/src/app/zap/call-command-handler.zapt similarity index 100% rename from third_party/zap/templates/call-command-handler.zapt rename to src/app/zap/call-command-handler.zapt diff --git a/third_party/zap/templates/callback-stub-src.zapt b/src/app/zap/callback-stub-src.zapt similarity index 100% rename from third_party/zap/templates/callback-stub-src.zapt rename to src/app/zap/callback-stub-src.zapt diff --git a/third_party/zap/templates/callback.zapt b/src/app/zap/callback.zapt similarity index 100% rename from third_party/zap/templates/callback.zapt rename to src/app/zap/callback.zapt diff --git a/third_party/zap/templates/chip-templates.json b/src/app/zap/chip-templates.json similarity index 100% rename from third_party/zap/templates/chip-templates.json rename to src/app/zap/chip-templates.json diff --git a/third_party/zap/templates/client-command-macro.zapt b/src/app/zap/client-command-macro.zapt similarity index 100% rename from third_party/zap/templates/client-command-macro.zapt rename to src/app/zap/client-command-macro.zapt diff --git a/third_party/zap/templates/cluster-id.zapt b/src/app/zap/cluster-id.zapt similarity index 100% rename from third_party/zap/templates/cluster-id.zapt rename to src/app/zap/cluster-id.zapt diff --git a/third_party/zap/templates/command-id.zapt b/src/app/zap/command-id.zapt similarity index 100% rename from third_party/zap/templates/command-id.zapt rename to src/app/zap/command-id.zapt diff --git a/third_party/zap/templates/endpoint_config.zapt b/src/app/zap/endpoint_config.zapt similarity index 100% rename from third_party/zap/templates/endpoint_config.zapt rename to src/app/zap/endpoint_config.zapt diff --git a/third_party/zap/templates/enums.zapt b/src/app/zap/enums.zapt similarity index 100% rename from third_party/zap/templates/enums.zapt rename to src/app/zap/enums.zapt diff --git a/third_party/zap/templates/gen_config.zapt b/src/app/zap/gen_config.zapt similarity index 100% rename from third_party/zap/templates/gen_config.zapt rename to src/app/zap/gen_config.zapt diff --git a/third_party/zap/templates/helper-chip.js b/src/app/zap/helper-chip.js similarity index 100% rename from third_party/zap/templates/helper-chip.js rename to src/app/zap/helper-chip.js diff --git a/third_party/zap/templates/print-cluster.zapt b/src/app/zap/print-cluster.zapt similarity index 100% rename from third_party/zap/templates/print-cluster.zapt rename to src/app/zap/print-cluster.zapt