diff options
author | Colin Cross <ccross@android.com> | 2018-10-29 23:14:58 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2018-10-31 14:39:16 +0000 |
commit | f623721c08bb95e2c333e43a41be3c8e27ff1f8f (patch) | |
tree | 6aa1eb113697df8da686370d1d4e4d8d331dd8f5 /java/androidmk.go | |
parent | 724c854f6a28a73191cd8ce1b1c0e5df4797decb (diff) | |
download | android_build_soong-f623721c08bb95e2c333e43a41be3c8e27ff1f8f.tar.gz android_build_soong-f623721c08bb95e2c333e43a41be3c8e27ff1f8f.tar.bz2 android_build_soong-f623721c08bb95e2c333e43a41be3c8e27ff1f8f.zip |
Create bundle modules suitable for bundletool
Create a bundle module in addition to creating an APK, which can
then optionally be merged with bundle modules from builds for
other architectures and then be passed to bundletool to create an
app bundle.
Bug: 117295826
Test: tapas RecoveryLocalizer && m dist
Change-Id: I98a17d7407dc56823ece9ec88c087780185a6555
Diffstat (limited to 'java/androidmk.go')
-rw-r--r-- | java/androidmk.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/java/androidmk.go b/java/androidmk.go index e395c9be..23e26add 100644 --- a/java/androidmk.go +++ b/java/androidmk.go @@ -209,6 +209,9 @@ func (app *AndroidApp) AndroidMk() android.AndroidMkData { if app.headerJarFile != nil { fmt.Fprintln(w, "LOCAL_SOONG_HEADER_JAR :=", app.headerJarFile.String()) } + if app.bundleFile != nil { + fmt.Fprintln(w, "LOCAL_SOONG_BUNDLE :=", app.bundleFile.String()) + } if app.jacocoReportClassesFile != nil { fmt.Fprintln(w, "LOCAL_SOONG_JACOCO_REPORT_CLASSES_JAR :=", app.jacocoReportClassesFile.String()) } |