e6fdd1403b
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
36 lines
1.1 KiB
Text
36 lines
1.1 KiB
Text
package_name: "Android"
|
|
projects: "container/zip"
|
|
license_kinds: "SPDX-license-identifier-Apache-2.0"
|
|
license_conditions: "notice"
|
|
license_texts: "testdata/firstparty/FIRST_PARTY_LICENSE"
|
|
is_container: true
|
|
built: "out/target/product/fictional/obj/ETC/container_intermediates/container.zip"
|
|
installed: "out/target/product/fictional/data/container.zip"
|
|
install_map {
|
|
from_path: "out/target/product/fictional/system/lib/"
|
|
container_path: "/"
|
|
}
|
|
install_map {
|
|
from_path: "out/target/product/fictional/system/bin/"
|
|
container_path: "/"
|
|
}
|
|
sources: "out/target/product/fictional/system/lib/liba.so"
|
|
sources: "out/target/product/fictional/system/lib/libb.so"
|
|
sources: "out/target/product/fictional/system/bin/bin1"
|
|
sources: "out/target/product/fictional/system/bin/bin2"
|
|
deps: {
|
|
file: "testdata/proprietary/bin/bin1.meta_lic"
|
|
annotations: "static"
|
|
}
|
|
deps: {
|
|
file: "testdata/proprietary/bin/bin2.meta_lic"
|
|
annotations: "static"
|
|
}
|
|
deps: {
|
|
file: "testdata/proprietary/lib/liba.so.meta_lic"
|
|
annotations: "static"
|
|
}
|
|
deps: {
|
|
file: "testdata/proprietary/lib/libb.so.meta_lic"
|
|
annotations: "static"
|
|
}
|