aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaewoong Jung <jungjw@google.com>2019-09-04 13:26:18 -0700
committerJaewoong Jung <jungjw@google.com>2019-09-04 13:26:18 -0700
commit105e166581d314d8229c903e3d23611acfcbf3dd (patch)
treee3b3fbf7e34940d5bd548b8af08dca63816cd3a0
parent5961cb45989ad17b3a0d45c4a6144199fab1f3f1 (diff)
downloadbuild_soong-105e166581d314d8229c903e3d23611acfcbf3dd.tar.gz
build_soong-105e166581d314d8229c903e3d23611acfcbf3dd.tar.bz2
build_soong-105e166581d314d8229c903e3d23611acfcbf3dd.zip
Add NOTICE file path to apex bundle base rule.
The NOTICE files are missing from prebuilt apexes, and it turns out they were excluded when building bundles. Bug: 140317706 Test: Ran build_mainline_modules.sh and checked bundle base modules. Change-Id: I92c4231f2007e1d8cd9c2bd044201458803c0fd7
-rw-r--r--apex/apex.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/apex/apex.go b/apex/apex.go
index 69a50f1c..e5d431ed 100644
--- a/apex/apex.go
+++ b/apex/apex.go
@@ -86,7 +86,8 @@ var (
Command: `${zip2zip} -i $in -o $out ` +
`apex_payload.img:apex/${abi}.img ` +
`apex_manifest.json:root/apex_manifest.json ` +
- `AndroidManifest.xml:manifest/AndroidManifest.xml`,
+ `AndroidManifest.xml:manifest/AndroidManifest.xml ` +
+ `assets/NOTICE.html.gz:assets/NOTICE.html.gz`,
CommandDeps: []string{"${zip2zip}"},
Description: "app bundle",
}, "abi")