Skip to content

Commit c281529

Browse files
authored
Merge pull request #1 from SiliconLabsSoftware/bugfix/sdk_update
Merging CSA Pointer to develop
2 parents a8c0523 + b3c540d commit c281529

File tree

1,275 files changed

+91432
-39553
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,275 files changed

+91432
-39553
lines changed

.devcontainer/Dockerfile

+22-16
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,19 @@ ARG USER_UID=1000
2424
ARG USER_GID=$USER_UID
2525
ENV LANG en_US.utf8
2626

27-
# these are installed for terminal/dev convenience. If more tooling for build is required, please
28-
# add them to chip-build (in integrations/docker/images/chip-build)
27+
28+
# These are installed for terminal/dev convenience. If more tooling for build is required, please
29+
# add them to chip-build (in integrations/docker/images/chip-build).
2930
RUN apt-get update \
3031
&& apt-get install -y locales \
3132
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 \
32-
&& apt-get -fy install git vim emacs sudo \
33+
&& apt-get -fy install vim emacs sudo \
3334
apt-utils dialog zsh \
34-
iproute2 procps lsb-release \
35+
lsb-release \
3536
bash-completion \
36-
build-essential cmake cppcheck valgrind \
37-
wget curl telnet \
37+
valgrind \
3838
docker.io \
39-
iputils-ping net-tools \
40-
libncurses5 \
41-
libncursesw5 \
42-
libpython2.7 \
39+
iputils-ping \
4340
&& :
4441

4542
RUN groupadd -g $USER_GID $USERNAME \
@@ -55,13 +52,22 @@ RUN curl https://raw.githubusercontent.com/restyled-io/restyler/master/bin/resty
5552
RUN mkdir -p /opt/sdk/sdks/ \
5653
&& chown -R $USERNAME:$USERNAME \
5754
/opt/sdk/sdks/ `# NXP uses a patch_sdk script to change SDK files` \
58-
/opt/NordicSemiconductor/nrfconnect/ `# $USERNAME needs to own west configuration to build nRF Connect examples` \
59-
$IDF_PATH `# $USERNAME needs to own the esp-idf and tools for the examples to build` \
55+
$ANDROID_HOME \
56+
$IDF_TOOLS_PATH \
57+
&& find $AMEBA_PATH -name "inc_lp" -print0 | xargs -0 chown -R $USERNAME:$USERNAME \
58+
&& find $AMEBA_PATH -name "inc_hp" -print0 | xargs -0 chown -R $USERNAME:$USERNAME \
59+
&& find $AMEBA_PATH -name "project_lp" -print0 | xargs -0 chown -R $USERNAME:$USERNAME \
60+
&& find $AMEBA_PATH -name "project_hp" -print0 | xargs -0 chown -R $USERNAME:$USERNAME \
61+
&& chmod -R +x \
62+
$ANDROID_HOME/tools/bin `# sdkmanager for accepting licenses`\
63+
&& chmod -R +w \
6064
$IDF_TOOLS_PATH \
61-
$SYSROOT_AARCH64 `# allow read/write access to header and libraries` \
62-
$ANDROID_HOME `# allow licenses to be accepted` \
63-
$AMEBA_PATH `# AmebaD requires access to change build_info.h` \
64-
$IMX_SDK_ROOT \
65+
&& find $AMEBA_PATH -name "inc_lp" -print0 | xargs -0 chmod -R +w \
66+
&& find $AMEBA_PATH -name "inc_hp" -print0 | xargs -0 chmod -R +w \
67+
&& find $AMEBA_PATH -name "project_lp" -print0 | xargs -0 chmod -R +w \
68+
&& find $AMEBA_PATH -name "project_hp" -print0 | xargs -0 chmod -R +w \
69+
# Safe directory is preffered over chown.
70+
&& git config --global --add safe.directory "*" \
6571
&& :
6672

6773
# Fix Tizen SDK paths for new user

.devcontainer/devcontainer.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,12 @@
1414
"mounts": [
1515
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"
1616
],
17-
"initializeCommand": "bash .devcontainer/build.sh --tag matter-dev-environment:local --version 22",
17+
"initializeCommand": "bash .devcontainer/build.sh --tag matter-dev-environment:local --version 74",
1818
"image": "matter-dev-environment:local",
1919
"remoteUser": "vscode",
20+
"containerEnv": {
21+
"PW_ENVIRONMENT_ROOT": "${containerWorkspaceFolder}/.environment-vscode"
22+
},
2023
"customizations": {
2124
"vscode": {
2225
// Add the IDs of extensions you want installed when the container is created in the array below.

.github/.wordlist.txt

+8-2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ AdvSendAdvert
3737
AE
3838
aef
3939
AES
40+
AFL
4041
AIDL
4142
algs
4243
alloc
@@ -340,6 +341,7 @@ datamodel
340341
DataModelRevision
341342
dataset
342343
datasets
344+
datastore
343345
DataVersion
344346
dbf
345347
DBG
@@ -454,6 +456,7 @@ DS
454456
duplicative
455457
DUT
456458
DUTS
459+
DUT's
457460
DV
458461
DVK
459462
dynload
@@ -562,12 +565,14 @@ forkpty
562565
FOTA
563566
FreeRTOS
564567
FreeRTOSConfig
568+
FS
565569
fsl
566570
fstab
567571
fsync
568572
ftd
569573
fullclean
570574
fuzzer
575+
fuzztest
571576
FW
572577
gbl
573578
gcloud
@@ -854,6 +859,7 @@ MbedNewTarget
854859
mbedos
855860
mbedTarget
856861
mbedTLS
862+
MCORE
857863
mcu
858864
MCUboot
859865
mcumgr
@@ -945,8 +951,6 @@ NitricOxideConcentrationMeasurement
945951
NitrogenDioxideConcentrationMeasurement
946952
nl
947953
nltest
948-
NLUnitTest
949-
NLUnitTests
950954
nmcli
951955
nmtui
952956
noc
@@ -1005,6 +1009,7 @@ optionOverride
10051009
optionsMask
10061010
optionsOverride
10071011
orgs
1012+
OSS
10081013
OTA
10091014
OTADownloader
10101015
otaDownloadPath
@@ -1527,6 +1532,7 @@ virtualenv
15271532
visualstudio
15281533
vlatest
15291534
VLEDs
1535+
vm
15301536
vn
15311537
vnc
15321538
vous

.github/workflows/build.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
with:
7676
languages: "cpp"
7777
- name: Setup Build
78-
run: scripts/build/gn_gen.sh --args="chip_config_memory_debug_checks=true chip_config_memory_debug_dmalloc=false"
78+
run: scripts/build/gn_gen.sh --args="chip_config_memory_debug_checks=true chip_config_memory_debug_dmalloc=false chip_data_model_check_die_on_failure=true"
7979
- name: Run Build
8080
run: scripts/run_in_build_env.sh "ninja -C ./out"
8181
- name: Run Tests
@@ -179,7 +179,7 @@ jobs:
179179
scripts/run_in_build_env.sh "ninja -C ./out/$BUILD_TYPE"
180180
- name: Setup Build, Run Build and Run Tests
181181
run: |
182-
BUILD_TYPE=gcc_release scripts/build/gn_gen.sh --args="is_debug=false"
182+
BUILD_TYPE=gcc_release scripts/build/gn_gen.sh --args="is_debug=false chip_data_model_check_die_on_failure=true"
183183
scripts/run_in_build_env.sh "ninja -C ./out/gcc_release"
184184
BUILD_TYPE=gcc_release scripts/tests/gn_tests.sh
185185
- name: Clean output
@@ -197,7 +197,7 @@ jobs:
197197
esac
198198
199199
rm -rf ./out/sanitizers
200-
BUILD_TYPE=sanitizers scripts/build/gn_gen.sh --args="$GN_ARGS" --export-compile-commands
200+
BUILD_TYPE=sanitizers scripts/build/gn_gen.sh --args="$GN_ARGS chip_data_model_check_die_on_failure=true" --export-compile-commands
201201
BUILD_TYPE=sanitizers scripts/tests/gn_tests.sh
202202
done
203203
- name: Ensure codegen is done for sanitize
@@ -308,7 +308,7 @@ jobs:
308308

309309
- name: Setup Build, Run Build and Run Tests
310310
run: |
311-
scripts/build/gn_gen.sh --args="enable_rtti=true chip_config_memory_debug_checks=false chip_config_memory_debug_dmalloc=false chip_generate_link_map_file=false"
311+
scripts/build/gn_gen.sh --args="enable_rtti=true chip_config_memory_debug_checks=false chip_config_memory_debug_dmalloc=false chip_generate_link_map_file=false chip_data_model_check_die_on_failure=true"
312312
scripts/run_in_build_env.sh "ninja -C ./out"
313313
scripts/tests/gn_tests.sh
314314
- name: Setup test python environment
@@ -415,7 +415,7 @@ jobs:
415415
# clang.
416416
"default") GN_ARGS='target_os="all" is_asan=true enable_host_clang_build=false';;
417417
esac
418-
BUILD_TYPE=$BUILD_TYPE scripts/build/gn_gen.sh --args="$GN_ARGS" --export-compile-commands
418+
BUILD_TYPE=$BUILD_TYPE scripts/build/gn_gen.sh --args="$GN_ARGS chip_data_model_check_die_on_failure=true" --export-compile-commands
419419
scripts/run_in_build_env.sh "ninja -C ./out/$BUILD_TYPE"
420420
BUILD_TYPE=$BUILD_TYPE scripts/tests/gn_tests.sh
421421
done

.github/workflows/darwin.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ jobs:
114114
mkdir -p /tmp/darwin/framework-tests
115115
echo "This is a simple log" > /tmp/darwin/framework-tests/end_user_support_log.txt
116116
../../../out/debug/all-clusters-app/chip-all-clusters-app --interface-id -1 --end_user_support_log /tmp/darwin/framework-tests/end_user_support_log.txt > >(tee /tmp/darwin/framework-tests/all-cluster-app.log) 2> >(tee /tmp/darwin/framework-tests/all-cluster-app-err.log >&2) &
117-
../../../out/debug/all-clusters-app/chip-all-clusters-app --interface-id -1 --dac_provider ../../../credentials/development/commissioner_dut/struct_cd_origin_pid_vid_correct/test_case_vector.json --product-id 32768 --discriminator 3839 --secured-device-port 5539 --KVS /tmp/chip-all-clusters-app-kvs2 > >(tee /tmp/darwin/framework-tests/all-cluster-app-origin-vid.log) 2> >(tee /tmp/darwin/framework-tests/all-cluster-app-origin-vid-err.log >&2) &
118117
119118
export TEST_RUNNER_ASAN_OPTIONS=__CURRENT_VALUE__:detect_stack_use_after_return=1
120119

.github/workflows/examples-nxp.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ jobs:
150150
if: github.actor != 'restyled-io[bot]'
151151

152152
container:
153-
image: ghcr.io/project-chip/chip-build-rw61x:74
153+
image: ghcr.io/project-chip/chip-build-nxp:74
154154
volumes:
155155
- "/tmp/bloat_reports:/tmp/bloat_reports"
156156
steps:

.github/workflows/lint.yml

+2
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ jobs:
149149
if [ "$idl_file" = './examples/placeholder/linux/apps/app2/config.matter' ]; then continue; fi
150150
if [ "$idl_file" = './examples/thermostat/thermostat-common/thermostat.matter' ]; then continue; fi
151151
if [ "$idl_file" = './examples/window-app/common/window-app.matter' ]; then continue; fi
152+
# Example is intentionally not spe compliant for use in cert testing
153+
if [ "$idl_file" = './examples/lighting-app-data-mode-no-unique-id/lighting-common/lighting-app.matter' ]; then continue; fi
152154
153155
# Test files are intentionally small and not spec-compilant, just parse-compliant
154156
if [ "$idl_file" = "./scripts/py_matter_idl/matter_idl/tests/inputs/cluster_struct_attribute.matter" ]; then continue; fi

.github/workflows/tests.yaml

+22-5
Original file line numberDiff line numberDiff line change
@@ -475,29 +475,43 @@ jobs:
475475
mkdir objdir-clone || true
476476
477477
- name: Build Python REPL and example apps
478+
# NOTE: the data-mode-check + check-failure-die is not 100% perfect as different
479+
# encoding sizes for data that keeps changing may alter over time (e.g. anything relating to time
480+
# or resources such as packet counts or other similar counters)
481+
#
482+
# This may result in invalid errors, however for most purposes of our testing, we are unlikely to
483+
# hit such cases so we remain very strict on testing here.
478484
run: |
479485
scripts/run_in_build_env.sh './scripts/build_python.sh --install_virtual_env out/venv'
480486
./scripts/run_in_build_env.sh \
481487
"./scripts/build/build_examples.py \
482-
--target linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test \
488+
--target linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test-data-model-check-check-failure-die \
483489
--target linux-x64-lock-ipv6only-no-ble-no-wifi-tsan-clang-test \
484490
--target linux-x64-lit-icd-ipv6only-no-ble-no-wifi-tsan-clang-test \
485491
--target linux-x64-energy-management-ipv6only-no-ble-no-wifi-tsan-clang-test \
486492
--target linux-x64-microwave-oven-ipv6only-no-ble-no-wifi-tsan-clang-test \
487493
--target linux-x64-rvc-ipv6only-no-ble-no-wifi-tsan-clang-test \
494+
--target linux-x64-network-manager-ipv6only-no-ble-no-wifi-tsan-clang-test \
495+
--target linux-x64-fabric-admin-rpc-ipv6only-clang \
496+
--target linux-x64-fabric-bridge-rpc-ipv6only-no-ble-no-wifi-clang \
497+
--target linux-x64-light-data-model-no-unique-id-ipv6only-no-ble-no-wifi-clang \
488498
--target linux-x64-python-bindings \
489499
build \
490500
--copy-artifacts-to objdir-clone \
491501
"
492502
- name: Generate an argument environment file
493503
run: |
494504
echo -n "" >/tmp/test_env.yaml
495-
echo "ALL_CLUSTERS_APP: out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app" >> /tmp/test_env.yaml
505+
echo "ALL_CLUSTERS_APP: out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test-data-model-check-check-failure-die/chip-all-clusters-app" >> /tmp/test_env.yaml
496506
echo "CHIP_LOCK_APP: out/linux-x64-lock-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-lock-app" >> /tmp/test_env.yaml
497507
echo "ENERGY_MANAGEMENT_APP: out/linux-x64-energy-management-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-energy-management-app" >> /tmp/test_env.yaml
498508
echo "LIT_ICD_APP: out/linux-x64-lit-icd-ipv6only-no-ble-no-wifi-tsan-clang-test/lit-icd-app" >> /tmp/test_env.yaml
499509
echo "CHIP_MICROWAVE_OVEN_APP: out/linux-x64-microwave-oven-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-microwave-oven-app" >> /tmp/test_env.yaml
500510
echo "CHIP_RVC_APP: out/linux-x64-rvc-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-rvc-app" >> /tmp/test_env.yaml
511+
echo "NETWORK_MANAGEMENT_APP: out/linux-x64-network-manager-ipv6only-no-ble-no-wifi-tsan-clang-test/matter-network-manager-app" >> /tmp/test_env.yaml
512+
echo "FABRIC_ADMIN_APP: out/linux-x64-fabric-admin-rpc-ipv6only-clang/fabric-admin" >> /tmp/test_env.yaml
513+
echo "FABRIC_BRIDGE_APP: out/linux-x64-fabric-bridge-rpc-ipv6only-no-ble-no-wifi-clang/fabric-bridge-app" >> /tmp/test_env.yaml
514+
echo "LIGHTING_APP_NO_UNIQUE_ID: out/linux-x64-light-data-model-no-unique-id-ipv6only-no-ble-no-wifi-clang/chip-lighting-app" >> /tmp/test_env.yaml
501515
echo "TRACE_APP: out/trace_data/app-{SCRIPT_BASE_NAME}" >> /tmp/test_env.yaml
502516
echo "TRACE_TEST_JSON: out/trace_data/test-{SCRIPT_BASE_NAME}" >> /tmp/test_env.yaml
503517
echo "TRACE_TEST_PERFETTO: out/trace_data/test-{SCRIPT_BASE_NAME}" >> /tmp/test_env.yaml
@@ -507,17 +521,20 @@ jobs:
507521
mkdir -p out/trace_data
508522
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --load-from-env /tmp/test_env.yaml --script src/controller/python/test/test_scripts/mobile-device-test.py'
509523
scripts/run_in_python_env.sh out/venv 'python3 ./src/python_testing/execute_python_tests.py --env-file /tmp/test_env.yaml --search-directory src/python_testing'
510-
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --script "src/python_testing/TestMatterTestingSupport.py" --script-args "--trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
511-
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --script "src/python_testing/TestSpecParsingSupport.py" --script-args "--trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
512-
scripts/run_in_python_env.sh out/venv './scripts/tests/TestTimeSyncTrustedTimeSourceRunner.py'
524+
scripts/run_in_python_env.sh out/venv './scripts/tests/TestTimeSyncTrustedTimeSourceRunner.py --all-clusters out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test-data-model-check-check-failure-die/chip-all-clusters-app'
513525
scripts/run_in_python_env.sh out/venv './src/python_testing/test_testing/test_TC_ICDM_2_1.py'
514526
scripts/run_in_python_env.sh out/venv 'python3 ./src/python_testing/TestIdChecks.py'
515527
scripts/run_in_python_env.sh out/venv 'python3 ./src/python_testing/TestSpecParsingDeviceType.py'
528+
scripts/run_in_python_env.sh out/venv 'python3 ./src/python_testing/TestSpecParsingSupport.py'
529+
scripts/run_in_python_env.sh out/venv 'python3 ./src/python_testing/TestConformanceTest.py'
516530
scripts/run_in_python_env.sh out/venv 'python3 ./src/python_testing/TestConformanceSupport.py'
531+
scripts/run_in_python_env.sh out/venv 'python3 ./src/python_testing/TestConformanceTest.py'
517532
scripts/run_in_python_env.sh out/venv 'python3 ./src/python_testing/TestChoiceConformanceSupport.py'
518533
scripts/run_in_python_env.sh out/venv 'python3 ./src/python_testing/test_testing/test_IDM_10_4.py'
519534
scripts/run_in_python_env.sh out/venv 'python3 ./src/python_testing/test_testing/test_TC_SC_7_1.py'
520535
scripts/run_in_python_env.sh out/venv 'python3 ./src/python_testing/test_testing/TestDecorators.py'
536+
scripts/run_in_python_env.sh out/venv 'python3 ./src/python_testing/TestMatterTestingSupport.py'
537+
scripts/run_in_python_env.sh out/venv 'python3 ./src/python_testing/TestSpecParsingSupport.py'
521538
522539
523540
- name: Uploading core files

.github/workflows/unit_integration_test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
*) ;;
7474
esac
7575
76-
scripts/build/gn_gen.sh --args="$GN_ARGS"
76+
scripts/build/gn_gen.sh --args="$GN_ARGS chip_data_model_check_die_on_failure=true"
7777
- name: Run Build
7878
run: scripts/run_in_build_env.sh "ninja -C out/$BUILD_TYPE"
7979
- name: Run Tests

.gitignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ out/
1515
/src/darwin/Framework/build/
1616

1717
# Pigweed Environment
18-
.environment/
18+
.environment*/
1919
build_overrides/pigweed_environment.gni
2020

2121
# Temporary Directories
@@ -84,4 +84,3 @@ examples/*/esp32/dependencies.lock
8484

8585
# jupyter temporary files
8686
.ipynb_checkpoints
87-

.gitmodules

+16
Original file line numberDiff line numberDiff line change
@@ -329,3 +329,19 @@
329329
path = third_party/infineon/psoc6/psoc6_sdk/libs/lwip-network-interface-integration
330330
url = https://github.com/Infineon/lwip-network-interface-integration.git
331331
platforms = infineon
332+
[submodule "third_party/abseil-cpp/src"]
333+
path = third_party/abseil-cpp/src
334+
url = https://github.com/abseil/abseil-cpp.git
335+
platforms = linux,darwin
336+
[submodule "third_party/fuzztest"]
337+
path = third_party/fuzztest
338+
url = https://github.com/google/fuzztest.git
339+
platforms = linux,darwin
340+
[submodule "third_party/googletest"]
341+
path = third_party/googletest
342+
url = https://github.com/google/googletest
343+
platforms = linux,darwin
344+
[submodule "third_party/re2/src"]
345+
path = third_party/re2/src
346+
url = https://github.com/google/re2.git
347+
platforms = linux,darwin

.vscode/settings.json

+4
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"editor.defaultFormatter": "esbenp.prettier-vscode"
5151
},
5252
"files.associations": {
53+
".gitmodules": "ini",
5354
"*.mm": "cpp",
5455
"iostream": "cpp",
5556
"array": "cpp",
@@ -138,6 +139,9 @@
138139
"list": "cpp",
139140
"unordered_set": "cpp"
140141
},
142+
"[ini]": {
143+
"editor.formatOnSave": false
144+
},
141145
// Configure paths or glob patterns to exclude from file watching.
142146
"files.watcherExclude": {
143147
"**/.git/objects/**": true,

BUILD.gn

+17
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ if (current_toolchain != "${dir_pw_toolchain}/default:default") {
5252
if (enable_fuzz_test_targets) {
5353
group("fuzz_tests") {
5454
deps = [
55+
"${chip_root}/examples/all-clusters-app/linux:fuzz-chip-all-clusters-app",
5556
"${chip_root}/src/credentials/tests:fuzz-chip-cert",
5657
"${chip_root}/src/lib/core/tests:fuzz-tlv-reader",
5758
"${chip_root}/src/lib/dnssd/minimal_mdns/tests:fuzz-minmdns-packet-parsing",
@@ -62,6 +63,18 @@ if (current_toolchain != "${dir_pw_toolchain}/default:default") {
6263
}
6364
}
6465

66+
if (pw_enable_fuzz_test_targets) {
67+
group("pw_fuzz_tests") {
68+
deps = [
69+
"${chip_root}/src/credentials/tests:fuzz-chip-cert-pw(//build/toolchain/pw_fuzzer:chip_pw_fuzztest)",
70+
"${chip_root}/src/lib/core/tests:fuzz-tlv-reader-pw(//build/toolchain/pw_fuzzer:chip_pw_fuzztest)",
71+
"${chip_root}/src/lib/dnssd/minimal_mdns/tests:fuzz-minmdns-packet-parsing-pw(//build/toolchain/pw_fuzzer:chip_pw_fuzztest)",
72+
"${chip_root}/src/lib/format/tests:fuzz-payload-decoder-pw(//build/toolchain/pw_fuzzer:chip_pw_fuzztest)",
73+
"${chip_root}/src/setup_payload/tests:fuzz-setup-payload-base38-pw(//build/toolchain/pw_fuzzer:chip_pw_fuzztest)",
74+
]
75+
}
76+
}
77+
6578
# Matter's in-tree pw_python_package or pw_python_distribution targets.
6679
_matter_python_packages = [
6780
"//examples/chef",
@@ -140,6 +153,10 @@ if (current_toolchain != "${dir_pw_toolchain}/default:default") {
140153
deps += [ "//:fuzz_tests" ]
141154
}
142155

156+
if (pw_enable_fuzz_test_targets) {
157+
deps += [ "//:pw_fuzz_tests" ]
158+
}
159+
143160
if (chip_device_platform != "none") {
144161
deps += [ "${chip_root}/src/app/server" ]
145162
}

0 commit comments

Comments
 (0)