From 105e166581d314d8229c903e3d23611acfcbf3dd Mon Sep 17 00:00:00 2001 From: Jaewoong Jung Date: Wed, 4 Sep 2019 13:26:18 -0700 Subject: 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 --- apex/apex.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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") -- cgit v1.2.3