aboutsummaryrefslogtreecommitdiffstats
path: root/Android.bp
diff options
context:
space:
mode:
authorJaewoong Jung <jungjw@google.com>2019-06-17 17:40:56 -0700
committerJaewoong Jung <jungjw@google.com>2019-06-25 20:56:17 +0000
commit5c6572e53fa2810e45215850842b81b8fa9a22ec (patch)
tree0db20545dd2f0cda070b05d11069bb8f813cd09d /Android.bp
parent3ad00bf196544f686eaf8b9caf8ef44d3e991744 (diff)
downloadbuild_soong-5c6572e53fa2810e45215850842b81b8fa9a22ec.tar.gz
build_soong-5c6572e53fa2810e45215850842b81b8fa9a22ec.tar.bz2
build_soong-5c6572e53fa2810e45215850842b81b8fa9a22ec.zip
Optionally embed NOTICE files in apks.
If embed_notices or ALWAYS_EMBED_NOTICES is set, collect NOTICE files from all dependencies of the android_app, merge them with the app's own one (if exists), transform it to HTML, gzip it, and put it as an asset in the final APK output. Bug: 135460391 Test: app_test.go + Built Mainline modules Change-Id: I52d92e2fd19b3f5f396100424665c5cc344190d8 Merged-In: I52d92e2fd19b3f5f396100424665c5cc344190d8 (cherry picked from commit 5b425e2e20c55216c1ed13fcf047b0df33886736)
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 0121b70e..1d65dff0 100644
--- a/Android.bp
+++ b/Android.bp
@@ -54,6 +54,7 @@ bootstrap_go_package {
"android/mutator.go",
"android/namespace.go",
"android/neverallow.go",
+ "android/notices.go",
"android/onceper.go",
"android/override_module.go",
"android/package_ctx.go",