platform_build/tools/compliance/cmd
Bob Badour e6fdd1403b license metadata text notice files
Introduce the below command-line tool:

textnotice outputs a NOTICE text 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 textnotice; out/soong/host/linux-x85/textnotice ...

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: Ia691869fd8e58ef008024f48c23b1a4b4435677a
2022-01-26 16:02:11 -08:00
..
testdata license metadata text notice files 2022-01-26 16:02:11 -08:00
checkshare.go Performance and scale. 2022-01-11 10:40:50 -08:00
checkshare_test.go Performance and scale. 2022-01-11 10:40:50 -08:00
dumpgraph.go compliance package for license metadata: dumpgraph 2021-12-06 16:37:17 -08:00
dumpgraph_test.go Performance and scale. 2022-01-11 10:40:50 -08:00
dumpresolutions.go Performance and scale. 2022-01-11 10:40:50 -08:00
dumpresolutions_test.go Performance and scale. 2022-01-11 10:40:50 -08:00
listshare.go Performance and scale. 2022-01-11 10:40:50 -08:00
listshare_test.go Regression testcase for shipped vs nonshipped. 2022-01-11 16:38:55 -08:00
textnotice.go license metadata text notice files 2022-01-26 16:02:11 -08:00
textnotice_test.go license metadata text notice files 2022-01-26 16:02:11 -08:00