| { |
| "pw": { |
| "bazel_presubmit": { |
| "remote_cache": true, |
| "upload_local_results": true, |
| "programs": { |
| "default": [ |
| [ |
| "build", |
| "--config=presubmit" |
| ] |
| ] |
| } |
| }, |
| "pw_cli": { |
| "plugins": { |
| "build": { |
| "module": "sample_project_tools.build_project", |
| "function": "build_project" |
| }, |
| "console": { |
| "module": "sample_project_tools.console", |
| "function": "main" |
| }, |
| "device-sim": { |
| "module": "sample_project_tools.device_sim", |
| "function": "main" |
| }, |
| "watch": { |
| "module": "sample_project_tools.build_project", |
| "function": "watch_project" |
| }, |
| "flash": { |
| "module": "sample_project_tools.flash_device", |
| "function": "main" |
| }, |
| "presubmit": { |
| "module": "sample_project_tools.presubmit_checks", |
| "function": "main" |
| }, |
| "heap-viewer": { |
| "module": "pw_allocator.heap_viewer", |
| "function": "main" |
| }, |
| "rpc": { |
| "module": "pw_system.console", |
| "function": "main" |
| }, |
| "package": { |
| "module": "pw_package.pigweed_packages", |
| "function": "main" |
| } |
| } |
| }, |
| "pw_presubmit": { |
| "format": { |
| "python_formatter": "black", |
| "exclude": [ |
| "^patches\\.json$" |
| ] |
| } |
| }, |
| "pw_env_setup": { |
| "root_variable": "SAMPLE_PROJECT_ROOT", |
| "relative_pigweed_root": "third_party/pigweed", |
| "cipd_package_files": [ |
| "third_party/pigweed/pw_env_setup/py/pw_env_setup/cipd_setup/bazel.json", |
| "third_party/pigweed/pw_env_setup/py/pw_env_setup/cipd_setup/cmake.json", |
| "third_party/pigweed/pw_env_setup/py/pw_env_setup/cipd_setup/default.json", |
| "third_party/pigweed/pw_env_setup/py/pw_env_setup/cipd_setup/kythe.json" |
| ], |
| "virtualenv": { |
| "gn_root": ".", |
| "gn_targets": [ |
| ":pip_install_sample_project_tools.install" |
| ] |
| }, |
| "required_submodules": [ |
| "third_party/FreeRTOS", |
| "third_party/nanopb", |
| "third_party/pico_sdk", |
| "third_party/pico_sdk/lib/tinyusb", |
| "third_party/pigweed", |
| "third_party/stm32cube_f4/cmsis_core", |
| "third_party/stm32cube_f4/cmsis_device", |
| "third_party/stm32cube_f4/hal_driver" |
| ], |
| "gni_file": "build_overrides/pigweed_environment.gni" |
| } |
| } |
| } |