blob: ac47c6405c0bb6b1081aed8515841305574c2857 [file] [log] [blame]
{
"pw": {
"pw_presubmit": {
"format": {
"python_formatter": "black",
"black_config_file": "$pw_env{PW_ROOT}/.black.toml",
"exclude": [
"\\bthird_party/fuchsia/repo",
"\\bthird_party/perfetto/repo",
"\\bthird_party/.*\\.json$",
"\\bpackage\\.lock$",
"\\bpw_presubmit/py/pw_presubmit/format/test_data/.*",
"\\bpw_web/log-viewer/package(-lock)?\\.json",
"\\bpw_web/log-viewer/src/assets/material_symbols_rounded_subset\\.woff2",
"^patches\\.json$"
]
}
},
"pw_cli": {
"plugins": {
"build": {
"module": "pw_build.pigweed_upstream_build",
"function": "pigweed_upstream_main"
},
"console": {
"module": "pw_system.console",
"function": "main"
},
"emu": {
"module": "pw_emu.__main__",
"function": "main"
},
"clang-tidy-fix": {
"module": "pw_toolchain.clang_apply_replacements",
"function": "main"
},
"ffx": {
"module": "pw_cli.pigweed_aliases",
"function": "ffx"
},
"format": {
"module": "pw_presubmit.format_code",
"function": "main"
},
"heap-viewer": {
"module": "pw_allocator.heap_viewer",
"function": "main"
},
"ide": {
"module": "pw_ide.__main__",
"function": "main"
},
"package": {
"module": "pw_package.pigweed_packages",
"function": "main"
},
"presubmit": {
"module": "pw_presubmit.pigweed_presubmit",
"function": "main"
},
"requires": {
"module": "pw_cli.requires",
"function": "main"
},
"rpc": {
"module": "pw_hdlc.rpc_console",
"function": "main"
},
"seed": {
"module": "pw_module.seed",
"function": "main"
},
"update": {
"module": "pw_software_update.cli",
"function": "main"
},
"west": {
"module": "pw_env_setup_zephyr.zephyr",
"function": "main"
},
"sensor-desc": {
"module": "pw_sensor.sensor_desc",
"function": "main"
}
}
},
"pw_env_setup": {
"root_variable": "PW_ROOT",
"relative_pigweed_root": ".",
"rosetta": "never",
"project_actions": [
{
"import_path": "pw_env_setup",
"module_name": "npm_action"
}
],
"gni_file": "build_overrides/pigweed_environment.gni",
"cipd_package_files": [
"pw_env_setup/py/pw_env_setup/cipd_setup/upstream.json"
],
"virtualenv": {
"gn_targets": [
"python.install"
],
"gn_root": ".",
"requirements": [
"pw_env_setup/py/pw_env_setup/virtualenv_setup/pigweed_upstream_requirements.txt"
],
"constraints": [
"pw_env_setup/py/pw_env_setup/virtualenv_setup/constraint.list"
],
"pip_install_find_links": [
"${PW_MSRV_PYTHON_CIPD_INSTALL_DIR}/pip_cache"
]
}
},
"pw_package": {
"allow_middleware_only_packages": true
},
"pw_doctor": {
"new_bug_url": "https://issues.pigweed.dev/new"
},
"pw_emu": {
"target_files": [
"pw_emu/qemu-lm3s6965evb.json",
"pw_emu/qemu-stm32vldiscovery.json",
"pw_emu/qemu-netduinoplus2.json",
"pw_emu/renode-stm32f4_discovery.json"
]
},
"bazel_presubmit": {
"remote_cache": true,
"upload_local_results": true,
"programs": {
"default": [
[
"build",
"//..."
],
[
"test",
"//..."
],
[
"test",
"--//pw_unit_test:backend=//pw_unit_test:googletest",
"--//pw_unit_test:main=@com_google_googletest//:gtest_main",
"--platforms=//pw_unit_test:googletest_platform",
"//..."
],
[
"build",
"--aspects=@rules_rust//rust:defs.bzl%rust_clippy_aspect",
"--output_groups=clippy_checks",
"//..."
]
],
"integration": [
[
"test",
"--build_tag_filters=integration",
"--test_tag_filters=integration",
"//..."
]
],
"sanitizers": [
[
"test",
"--config=asan",
"//..."
],
[
"test",
"--config=tsan",
"//..."
],
[
"test",
"--config=ubsan",
"//..."
]
]
}
}
}
}