| { |
| "directory": { |
| "fuchsiaDir": "{FUCHSIA_DIR}", |
| "skips": [ |
| { |
| "notes": [ |
| "This directory has a 'vendor' subdirectory that shouldn't", |
| "be processed separately. Skip the directory for now to", |
| "unblock developers, but investigate a better way of ignoring", |
| "barrier directory names" |
| ], |
| "paths": [ |
| "third_party/android/platform/system/tools/aidl/build" |
| ] |
| }, |
| { |
| "notes": [ |
| "Unblocking the landing of the rust analyzer prebuilt.", |
| "License files and README.fuchsia files to come later.", |
| "More info in https://fxbug.dev/326281393" |
| ], |
| "paths": [ |
| "prebuilt/third_party/rust-analyzer" |
| ] |
| }, |
| { |
| "notes": [ |
| "Understand what check-licenses is attempting to parse.", |
| "It may have to do with the SPDX file, since this tool cannot parse it.", |
| "Investigation in https://fxbug.dev/333576929" |
| ], |
| "paths": [ |
| "prebuilt/connectivity/bluetooth/bt-host", |
| "prebuilt/drivers/msd-arm-mali-debug", |
| "prebuilt/drivers/msd-arm-mali-release" |
| ] |
| }, |
| { |
| "notes": [ |
| "Temporary skip, to allow landing of shac check repos in fuchsia.git" |
| ], |
| "paths": [ |
| "third_party/shac-project" |
| ] |
| }, |
| { |
| "notes": [ |
| "Temporary skip, to allow removal of icu stable library." |
| ], |
| "paths": [ |
| "third_party/icu/stable" |
| ] |
| }, |
| { |
| "notes": [ |
| "Temporary skip, to allow Vulkan-Utility-Libraries to land." |
| ], |
| "paths": [ |
| "third_party/Vulkan-Utility-Libraries" |
| ] |
| }, |
| { |
| "notes": [ |
| "Exempt the SDK workflow validation test workspace directory" |
| ], |
| "paths": [ |
| "build/bazel_sdk/e2e/test_workspace/third_party/fuchsia-infra-bazel-rules" |
| ] |
| }, |
| { |
| "notes": [ |
| "Exempt CTF releases from the license checker" |
| ], |
| "paths": [ |
| "prebuilt/ctf" |
| ] |
| }, |
| { |
| "notes": [ |
| "New Flutter licenses are tripping the license checker.", |
| "Remove this skip once the flutter licenses can be successfully parsed.", |
| "See b/225400494 for more info." |
| ], |
| "paths": [ |
| "third_party/dart-pkg/git/flutter" |
| ] |
| }, |
| { |
| "notes": [ |
| "Zircon prebuilt dir is empty, but it can cause licensing issues on developer workstations. fxr/735867" |
| ], |
| "paths": [ |
| "zircon/prebuilt" |
| ] |
| }, |
| { |
| "notes": [ |
| "Legacy GN license checker does not know how to process SPDX files.", |
| "This is a temporary skip until either the old system is updated to read spdx,", |
| "or the new bazel-based GN metadata solution is enabled across the tree.", |
| "See b/305986490" |
| ], |
| "paths": [ |
| "prebuilt/drivers/rtc/pcf8563" |
| ] |
| }, |
| { |
| "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/sys/pkg/bin/pm/examples", |
| "src/media/audio/examples", |
| "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", |
| "tools/fidl/fidlc/tests", |
| "tools/auto_owners/tests", |
| "build/bazel_sdk/tests" |
| ], |
| "notes": [ |
| "Skip test directories for now." |
| ] |
| }, |
| { |
| "paths": [ |
| "prebuilt/third_party/sysroot/linux", |
| "prebuilt/third_party/sysroot/ubuntu20.04" |
| ], |
| "notes": [ |
| "Skip Linux sysroot directory, see https://fxbug.dev/42137267." |
| ] |
| }, |
| { |
| "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": [ |
| "prebuilt/tools/shac" |
| ], |
| "notes": [ |
| "1-P project. Metadata files & license files may come in a future CL." |
| ] |
| }, |
| { |
| "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: https://fxbug.dev/42076948", |
| "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: https://fxbug.dev/42076948", |
| "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: https://fxbug.dev/42076948", |
| "'__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" |
| ], |
| "notes": [ |
| "Bug: https://fxbug.dev/42076948", |
| "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": [ |
| "__pycache__" |
| ], |
| "notes": [ |
| "These contain compiled python files which are unreadable by check-licenses." |
| ], |
| "skipAnywhere": true |
| }, |
| { |
| "paths": [ |
| "testdata" |
| ], |
| "notes": [ |
| "Skip testdata directories." |
| ], |
| "skipAnywhere": true |
| }, |
| { |
| "paths": [ |
| ".clang-format", |
| ".cache", |
| ".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", |
| ".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", |
| "src/devices/tools/fidlgen_banjo/src/backends/templates" |
| ], |
| "notes": [ |
| "Skip template 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." |
| ] |
| }, |
| { |
| "paths": [ |
| "third_party/golibs/vendor/go.starlark.net/starlark", |
| "third_party/golibs/vendor/go.starlark.net/internal/compile", |
| "third_party/golibs/vendor/go.starlark.net/lib/time", |
| "third_party/golibs/vendor/go.starlark.net/cmd/starlark", |
| "third_party/golibs/vendor/go.starlark.net/starlarkstruct", |
| "third_party/golibs/vendor/go.starlark.net/syntax", |
| "third_party/golibs/vendor/go.starlark.net", |
| "third_party/golibs/vendor/go.starlark.net/internal/spell", |
| "third_party/golibs/vendor/go.starlark.net/resolve", |
| "third_party/golibs/vendor/go.starlark.net/lib/json", |
| "third_party/golibs/vendor/go.starlark.net/lib/math", |
| "third_party/golibs/vendor/go.starlark.net/repl" |
| ], |
| "notes": [ |
| "Temporary skip, to unblock checking in these third-party golib sources for building dev tools" |
| ] |
| }, |
| { |
| "paths": [ |
| "third_party/chre/src/apps/nearby/third_party/contexthub/chre/util" |
| ], |
| "notes": [ |
| "Skip third party chre directory that doesn't contain a license file." |
| ] |
| } |
| ] |
| } |
| } |