summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jaewoong Jung <jungjw@google.com> 2019-09-04 13:26:18 -0700
committer Jaewoong Jung <jungjw@google.com> 2019-09-11 17:40:59 -0700
commitb00c1fb2240ac8d61569f00f384e42f8da1df7e9 (patch)
treece14981aba676515137c203f7226c3e7076e6706
parentf59007cf23b31a99835eef59065940e8aefb11c7 (diff)
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 Merged-In: 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 1e99ff807..950fb1e6e 100644
--- a/apex/apex.go
+++ b/apex/apex.go
@@ -98,7 +98,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")