platform_build/tools/compliance
Bob Badour f87922450e license metadata xml notice files
Introduce the below command-line tool:

xmlnotice outputs a NOTICE.xml file constructed from the license
texts of the transitive closure of dependencies.

Bug: 68860345
Bug: 151177513
Bug: 151953481
Bug: 213388645
Bug: 210912771

Test: m all
Test: m systemlicense
Test: m xmlnotice; out/soong/host/linux-x85/xmlnotice ...

where ... is the path to the .meta_lic file for the system image. In my
case if

$ export PRODUCT=$(realpath $ANDROID_PRODUCT_OUT --relative-to=$PWD)

... can be expressed as:

${PRODUCT}/gen/META/lic_intermediates/${PRODUCT}/system.img.meta_lic

Change-Id: I267effd3a1c1b981bcdc5e058dce561a2d4a7948
2022-02-02 15:32:50 -08:00
..
cmd license metadata xml notice files 2022-02-02 15:32:50 -08:00
Android.bp license metadata xml notice files 2022-02-02 15:32:50 -08:00
condition.go Run gofmt on compliance 2022-01-27 17:14:02 -08:00
condition_test.go Performance and scale. 2022-01-11 10:40:50 -08:00
conditionset.go Performance and scale. 2022-01-11 10:40:50 -08:00
conditionset_test.go Fix errors caught by go vet in compliance package 2022-01-27 17:14:02 -08:00
doc.go compliance package documentation 2021-12-06 16:39:35 -08:00
go.mod Give compliance a pkgPath 2022-01-27 17:14:03 -08:00
graph.go Run gofmt on compliance 2022-01-27 17:14:02 -08:00
noticeindex.go Track dependencies when reading notice files 2022-01-31 10:15:10 -08:00
policy_policy.go license metadata reverse trace 2022-01-31 14:16:23 -08:00
policy_policy_test.go license metadata reverse trace 2022-01-31 14:16:23 -08:00
policy_resolve.go license metadata reverse trace 2022-01-31 14:16:23 -08:00
policy_resolve_test.go Move policy subdirectory into package directory 2022-01-27 17:14:03 -08:00
policy_resolvenotices.go Move policy subdirectory into package directory 2022-01-27 17:14:03 -08:00
policy_resolvenotices_test.go Move policy subdirectory into package directory 2022-01-27 17:14:03 -08:00
policy_resolveprivacy.go Move policy subdirectory into package directory 2022-01-27 17:14:03 -08:00
policy_resolveprivacy_test.go Move policy subdirectory into package directory 2022-01-27 17:14:03 -08:00
policy_resolveshare.go Move policy subdirectory into package directory 2022-01-27 17:14:03 -08:00
policy_resolveshare_test.go Move policy subdirectory into package directory 2022-01-27 17:14:03 -08:00
policy_shareprivacyconflicts.go Move policy subdirectory into package directory 2022-01-27 17:14:03 -08:00
policy_shareprivacyconflicts_test.go Move policy subdirectory into package directory 2022-01-27 17:14:03 -08:00
policy_shipped.go Move policy subdirectory into package directory 2022-01-27 17:14:03 -08:00
policy_shipped_test.go Move policy subdirectory into package directory 2022-01-27 17:14:03 -08:00
policy_walk.go Move policy subdirectory into package directory 2022-01-27 17:14:03 -08:00
policy_walk_test.go Move policy subdirectory into package directory 2022-01-27 17:14:03 -08:00
readgraph.go Run gofmt on compliance 2022-01-27 17:14:02 -08:00
readgraph_test.go Fix errors caught by go vet in compliance package 2022-01-27 17:14:02 -08:00
resolution.go Run gofmt on compliance 2022-01-27 17:14:02 -08:00
resolutionset.go license metadata reverse trace 2022-01-31 14:16:23 -08:00
resolutionset_test.go Performance and scale. 2022-01-11 10:40:50 -08:00
test_util.go Run gofmt on compliance 2022-01-27 17:14:02 -08:00