diff --git a/examples/chip-tool/BUILD.gn b/examples/chip-tool/BUILD.gn index 992fbd53e4ecf5..b4878d5e2d701c 100644 --- a/examples/chip-tool/BUILD.gn +++ b/examples/chip-tool/BUILD.gn @@ -158,3 +158,7 @@ executable("chip-tool") { group("default") { deps = [ ":chip-tool" ] } + +if (current_os == "linux") { + chip_enable_nfc_commissioning = true +} diff --git a/examples/chip-tool/args.gni b/examples/chip-tool/args.gni index 801beb43274b38..30f4000365e4ef 100644 --- a/examples/chip-tool/args.gni +++ b/examples/chip-tool/args.gni @@ -31,5 +31,3 @@ matter_log_json_payload_decode_full = true # make chip-tool very strict by default chip_tlv_validate_char_string_on_read = true chip_tlv_validate_char_string_on_write = true - -chip_enable_nfc_commissioning = true