Skip to content

Commit

Permalink
Initial sample terms-and-conditions app
Browse files Browse the repository at this point in the history
```bash
$ export ZAP_DEVELOPMENT_PATH=/workspace/zap

$ /workspace/connectedhomeip/scripts/tools/zap/generate.py examples/terms-and-conditions-app/common/terms-and-conditions-app.zap

$ gn gen --check --fail-on-unused-args --export-compile-commands --root=/workspace/connectedhomeip/examples/terms-and-conditions-app/linux \
    --args="chip_config_network_layer_ble=false chip_enable_wifi=false is_debug=true chip_config_tc_required_acknowledgements=1 chip_config_tc_required_acknowledgements_version=1" \
    /workspace/connectedhomeip/out/examples/terms-and-conditions-app

$ ninja -C /workspace/connectedhomeip/out/examples/terms-and-conditions-app
```
  • Loading branch information
swan-amazon committed Sep 12, 2024
1 parent bdac951 commit 281631f
Show file tree
Hide file tree
Showing 10 changed files with 3,286 additions and 0 deletions.
22 changes: 22 additions & 0 deletions examples/terms-and-conditions-app/common/BUILD.gn
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright (c) 2024 Project CHIP Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import("//build_overrides/chip.gni")

import("${chip_root}/src/app/chip_data_model.gni")

chip_data_model("common") {
zap_file = "terms-and-conditions-app.zap"
is_server = true
}
Loading

0 comments on commit 281631f

Please sign in to comment.