diff options
| author | 2019-06-17 17:40:56 -0700 | |
|---|---|---|
| committer | 2019-06-24 19:10:22 -0700 | |
| commit | 5b425e2e20c55216c1ed13fcf047b0df33886736 (patch) | |
| tree | 2132a8c71e33faaa86e822238ff33ea9bcbcd36d /java/java_test.go | |
| parent | 0b4ca8605caff533d231e12f5dab372f20f9af66 (diff) | |
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
Change-Id: I52d92e2fd19b3f5f396100424665c5cc344190d8
Diffstat (limited to 'java/java_test.go')
| -rw-r--r-- | java/java_test.go | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/java/java_test.go b/java/java_test.go index 22dec073f..a98ea8443 100644 --- a/java/java_test.go +++ b/java/java_test.go @@ -121,6 +121,10 @@ func testContext(config android.Config, bp string,  		"b.kt":                   nil,  		"a.jar":                  nil,  		"b.jar":                  nil, +		"APP_NOTICE":             nil, +		"GENRULE_NOTICE":         nil, +		"LIB_NOTICE":             nil, +		"TOOL_NOTICE":            nil,  		"java-res/a/a":           nil,  		"java-res/b/b":           nil,  		"java-res2/a":            nil,  |