| { |
| "directory": { |
| "fuchsiaDir": "{FUCHSIA_DIR}", |
| "skips": [ |
| { |
| "paths": [ |
| "src/connectivity/telephony/lib/qmi-protocol/tests", |
| "third_party/android/platform/system/tools/hidl/test", |
| "sdk/ctf/tests/pkg/fdio/test_bins/echo_arguments.sh", |
| "src/security/fcrypto/test/hmac-fuzzer.cc", |
| "src/sys/component_manager/testing/lib.rs", |
| "examples/diagnostics/inspect/rust-ergonomic/BUILD.gn", |
| "examples/drivers/driver_test_realm/non_hermetic/simple/rust/test.rs", |
| "examples/intl/wisdom/cpp/server/main.cc", |
| "sdk/ctf/tests/pkg/fdio/test_bins/attempt_use_shell_outside_package.sh", |
| "scripts/sdk/gn/test_project", |
| "src/devices/sysmem/tests", |
| "src/experiences/examples", |
| "src/sys/pkg/bin/pm/examples", |
| "src/media/audio/examples", |
| "/usr/local/google/home/jcecil/fuchsia/src/sys/component_manager/testing", |
| "src/sys/component_manager/src/elf_runner/tests", |
| "scripts/fxtest/test", |
| "zircon/system/ulib/bitmap/test", |
| "tools/devshell/tests", |
| "src/tests", |
| "src/ui/lib/escher/test/gtest_escher.cc", |
| "src/sys/component_manager/tests", |
| "sdk/dart/zircon/test", |
| "tools/fidl/fidlc/tests", |
| "tools/auto_owners/tests", |
| "build/bazel_sdk/tests" |
| ], |
| "notes": [ |
| "Skip test directories for now." |
| ] |
| }, |
| { |
| "paths": [ |
| "prebuilt/third_party/sysroot/linux" |
| ], |
| "notes": [ |
| "Skip Linux sysroot directory, see fxbug.dev/59222." |
| ] |
| }, |
| { |
| "paths": [ |
| "prebuilt/third_party/bazel/linux-x64/install_base/embedded_tools/jdk/legal/java.base/ADDITIONAL_LICENSE_INFO", |
| "prebuilt/third_party/cmake/linux-x64/doc/cmake-3.25/cmliblzma/COPYING", |
| "prebuilt/third_party/cmake/linux-x64/share/cmake-3.25/Templates/CPack.GenericLicense.txt" |
| ], |
| "notes": [ |
| "Additional licensing information for the developers.", |
| "This doesn't contain actual licensing info, and is not for distribution." |
| ] |
| }, |
| { |
| "paths": [ |
| "docs" |
| ], |
| "notes": [ |
| "Skip docs directory." |
| ] |
| }, |
| { |
| "paths": [ |
| "tools/check-licenses/assets" |
| ], |
| "notes": [ |
| "Skip assets directory." |
| ] |
| }, |
| { |
| "paths": [ |
| "integration" |
| ], |
| "notes": [ |
| "Skip infra directory." |
| ] |
| }, |
| { |
| "paths": [ |
| "third_party/zstd/src/COPYING" |
| ], |
| "notes": [ |
| "zstd provides two optional license files.", |
| "Fuchsia has chosen the other one, so skip this one.", |
| "See http://shortn/_uKuAuCIGJ7 for more info." |
| ] |
| }, |
| { |
| "paths": [ |
| "src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/firmware" |
| ], |
| "notes": [ |
| "Bug: fxbug.dev/126193", |
| "There are no distributable license files in this directory.", |
| "Handle it in a better way than simply skipping it." |
| ] |
| }, |
| { |
| "paths": [ |
| "third_party/crashpad/src/third_party/lss", |
| "third_party/crashpad/src/third_party/mini_chromium", |
| "third_party/crashpad/src/third_party/zlib", |
| "third_party/antlion/third_party/github.com/jd/tenacity", |
| "third_party/crashpad/src/third_party/edo", |
| "third_party/crashpad/src/third_party/googletest", |
| "third_party/crashpad/src/third_party/gyp", |
| "third_party/crashpad/src/third_party/ninja", |
| "third_party/crashpad/src/third_party/fuchsia", |
| "third_party/crashpad/src/third_party/linux", |
| "third_party/rust_crates/forks/libm", |
| "third_party/rust_crates/forks/zstd-sys", |
| "third_party/vboot_reference/scripts/image_signing", |
| "third_party/jinja2" |
| ], |
| "notes": [ |
| "Bug: fxbug.dev/126193", |
| "These projects don't have a LICENSE file currently.", |
| "Address this issue, and remove these projects from this list." |
| ] |
| }, |
| { |
| "paths": [ |
| "build/__init__.py", |
| "scripts/gn_complete/__init__.py", |
| "src/fonts/tools/__init__.py", |
| "src/fonts/tools/tests/__init__.py", |
| "src/security/tools/csa_helper/__init__.py", |
| "src/testing/end_to_end/examples/__init__.py", |
| "src/testing/end_to_end/examples/test_soft_reboot/__init__.py", |
| "src/testing/end_to_end/fuchsia_base_test/__init__.py", |
| "src/testing/end_to_end/honeydew/affordances/__init__.py", |
| "src/testing/end_to_end/honeydew/device_classes/__init__.py", |
| "src/testing/end_to_end/honeydew/interfaces/__init__.py", |
| "src/testing/end_to_end/honeydew/interfaces/affordances/__init__.py", |
| "src/testing/end_to_end/honeydew/interfaces/auxiliary_devices/__init__.py", |
| "src/testing/end_to_end/honeydew/interfaces/device_classes/__init__.py", |
| "src/testing/end_to_end/honeydew/interfaces/transports/__init__.py", |
| "src/testing/end_to_end/honeydew/mobly_controller/__init__.py", |
| "src/testing/end_to_end/honeydew/tests/__init__.py", |
| "src/testing/end_to_end/honeydew/tests/functional_tests/__init__.py", |
| "src/testing/end_to_end/honeydew/tests/functional_tests/affordance_tests/__init__.py", |
| "src/testing/end_to_end/honeydew/tests/functional_tests/affordance_tests/test_bluetooth_default/__init__.py", |
| "src/testing/end_to_end/honeydew/tests/functional_tests/affordance_tests/test_component_default/__init__.py", |
| "src/testing/end_to_end/honeydew/tests/functional_tests/device_class_tests/test_fuchsia_device_base/__init__.py", |
| "src/testing/end_to_end/honeydew/tests/functional_tests/device_class_tests/test_generic_fuchsia_device/__init__.py", |
| "src/testing/end_to_end/honeydew/tests/functional_tests/device_class_tests/test_x64/__init__.py", |
| "src/testing/end_to_end/honeydew/tests/unit_tests/__init__.py", |
| "src/testing/end_to_end/honeydew/tests/unit_tests/affordances_tests/__init__.py", |
| "src/testing/end_to_end/honeydew/tests/unit_tests/device_class_tests/__init__.py", |
| "src/testing/end_to_end/honeydew/tests/unit_tests/transports_tests/__init__.py", |
| "src/testing/end_to_end/honeydew/transports/__init__.py", |
| "src/testing/end_to_end/honeydew/tests/unit_tests/utility_tests/__init__.py", |
| "src/testing/end_to_end/honeydew/utils/__init__.py", |
| "src/testing/end_to_end/mobly_driver/tests/functional_tests/test_honeydew_integration/__init__.py", |
| "src/testing/end_to_end/mobly_driver/tests/unit_tests/drivers/__init__.py" |
| ], |
| "notes": [ |
| "Bug: fxbug.dev/126193", |
| "'__init__.py' files can hold licensing information, but the ones listed here are empty.", |
| "Add copyright headers to these files." |
| ] |
| }, |
| { |
| "paths": [ |
| "src/starnix/lib/linux_uapi/stub", |
| "zircon/LICENSE", |
| "src/ui/lib/uitypes/BUILD.gn" |
| ], |
| "notes": [ |
| "Bug: fxbug.dev/126193", |
| "Temporarily skip these files while proper license detection can be enabled." |
| ] |
| }, |
| { |
| "paths": [ |
| "third_party/openssh-portable/CREDITS", |
| "prebuilt/third_party/python3/linux-x64/lib/python3.8/idlelib/CREDITS.txt", |
| "prebuilt/third_party/vpython/3.8/lib/python3.8/idlelib/CREDITS.txt", |
| "prebuilt/third_party/vpython/2.7/lib/python2.7/idlelib/CREDITS.txt", |
| "third_party/libpcap/src/CREDITS", |
| "third_party/grpc/src/php/ext/grpc/CREDITS", |
| "third_party/tcpdump/src/CREDITS", |
| "prebuilt/third_party/vpython/3.11/lib/python3.11/idlelib/CREDITS.txt" |
| ], |
| "notes": [ |
| "Credits files that don't actually contain licensing information" |
| ] |
| }, |
| { |
| "paths": [ |
| "third_party/rust_crates/compat/brotli", |
| "third_party/rust_crates/compat/ring" |
| ], |
| "notes": [ |
| "3p rust crates with no sources or license files." |
| ] |
| }, |
| { |
| "paths": [ |
| "third_party/curl/LICENSES" |
| ], |
| "notes": [ |
| "The curl project includes several optional license files.", |
| "Skip this directory, and have the README.fuchsia file declare the correct files explicitly." |
| ] |
| }, |
| { |
| "paths": [ |
| "src/proc/lib/linux_uapi/stub" |
| ], |
| "notes": [ |
| "Skip stub directories." |
| ] |
| }, |
| { |
| "paths": [ |
| "src/proc/lib/linux_uapi/stub" |
| ], |
| "notes": [ |
| "Skip stub directories." |
| ] |
| }, |
| { |
| "paths": [], |
| "notes": [ |
| "Empty files." |
| ] |
| }, |
| { |
| "paths": [ |
| "cmake-build-debug" |
| ], |
| "notes": [ |
| "Autogenerated directories from CLion" |
| ] |
| }, |
| { |
| "paths": [ |
| "prebuilt/go.mod", |
| "build/checkout.gni", |
| "build/cipd.gni" |
| ], |
| "notes": [ |
| "This is a part of the Fuchsia project," |
| ] |
| }, |
| { |
| "paths": [ |
| "testdata" |
| ], |
| "notes": [ |
| "Skip testdata directories." |
| ], |
| "skipAnywhere": true |
| }, |
| { |
| "paths": [ |
| ".clang-format", |
| ".git", |
| ".build_id", |
| ".versions", |
| ".github", |
| ".gradle", |
| ".idea", |
| ".vscode", |
| ".hidden", |
| ".circleci", |
| ".cargo", |
| ".clang-tidy", |
| ".fx-build-dir", |
| ".fx-metrics-config", |
| ".fx-ssh-path", |
| ".git-blame-ignore-revs", |
| ".gitattributes", |
| ".cipd", |
| ".gn", |
| ".fx", |
| ".gitignore", |
| ".ignore", |
| ".jiri_root", |
| ".jiri_manifest", |
| ".style.yapf", |
| ".ssh" |
| ], |
| "notes": [ |
| "Skip these hidden directories that host infrastructure files." |
| ], |
| "skipAnywhere": true |
| }, |
| { |
| "paths": [ |
| "out" |
| ], |
| "notes": [ |
| "Don't check the fuchsia build out directory for licenses." |
| ] |
| }, |
| { |
| "paths": [ |
| "tools/check-licenses/project/testdata", |
| "tools/check-licenses/static", |
| "tools/check-licenses/directory/testdata", |
| "tools/check-licenses/result/templates", |
| "tools/check-licenses/golden", |
| "tools/check-licenses/license/patterns", |
| "tools/check-licenses/assets" |
| ], |
| "notes": [ |
| "Don't check the check-licenses test directories for licenses." |
| ] |
| }, |
| { |
| "paths": [ |
| "src/devices/tools/fidlgen_banjo/src/backends/templates", |
| "tools/femu-control/femu-grpc/proto", |
| "src/devices/tools/fidlgen_banjo/src/backends/templates" |
| ], |
| "notes": [ |
| "Skip template directories" |
| ] |
| }, |
| { |
| "paths": [ |
| "src/experiences/bin/simple_browser_internationalization/lib/localization", |
| "src/experiences/session_shells/ermine/internationalization/lib/localization" |
| ], |
| "notes": [ |
| "Skip generated localization directories" |
| ] |
| }, |
| { |
| "paths": [ |
| "third_party/golibs/vendor/github.com/spdx/tools-golang/spdx/v2_1/other_license.go", |
| "third_party/golibs/vendor/github.com/spdx/tools-golang/spdx/v2_2/other_license.go" |
| ], |
| "notes": [ |
| "These files don't hold license texts. They're used to process license files." |
| ] |
| }, |
| { |
| "paths": [ |
| "third_party/bazel_rules_license/examples", |
| "third_party/bazel_rules_license/tests" |
| ], |
| "notes": [ |
| "Skip bazel licensing example & test directories" |
| ] |
| }, |
| { |
| "paths": [ |
| "build/bazel/local_repositories" |
| ], |
| "notes": [ |
| "Skip local copies of external Bazel repositories" |
| ] |
| }, |
| { |
| "paths": [ |
| "build/rbe/proto" |
| ], |
| "notes": [ |
| "Subdirectories of this folder are auto-generated. It's easier to simply skip this dir." |
| ] |
| }, |
| { |
| "paths": [ |
| "build/bazel/tests/build_action/00_no_inputs/expected.gen", |
| "build/bazel/tests/build_action/01_input_resource_from_source/expected.gen", |
| "build/bazel/tests/build_action/02_input_from_bazel_source/expected.gen", |
| "build/bazel/tests/build_action/03_input_resource_directory/expected.gen" |
| ], |
| "notes": [ |
| "Auto-generated golden files for build system tests." |
| ] |
| }, |
| { |
| "paths": [ |
| "local" |
| ], |
| "notes": [ |
| "Skip developer-local files. These are not part of fuchsia.git." |
| ] |
| } |
| ] |
| } |
| } |