diff options
| author | Roland Levillain <rpl@google.com> | 2018-11-14 17:32:18 +0000 |
|---|---|---|
| committer | Roland Levillain <rpl@google.com> | 2018-11-19 16:20:54 +0000 |
| commit | 5305880a6abcf69b511fdb875d500a954a1adc70 (patch) | |
| tree | 93434ac23374ba03fa1d4e50ce8ac3f52409a3d7 /Android.mk | |
| parent | bf86464506dce85a7b67ea1c4eb3e1f4f1d2085f (diff) | |
| download | art-5305880a6abcf69b511fdb875d500a954a1adc70.tar.gz art-5305880a6abcf69b511fdb875d500a954a1adc70.tar.bz2 art-5305880a6abcf69b511fdb875d500a954a1adc70.zip | |
Release Android Runtime APEX module.
Introduce a release Android Runtime APEX module
(`com.android.runtime.release`), containing only the essential parts
of the runtime (i.e. without debug variants nor tools). This lighter
Runtime APEX package is intended for user builds as well as for
storage-constrained devices (like marlin and sailfish).
Rename the original Android Runtime APEX module (which also contains
debug variants and tools) as `com.android.runtime.debug`, and include
it in userdebug and eng builds (except configured otherwise).
Also introduce phony package (build target) `com.android.runtime` as
an alias for module `com.android.runtime.release` (for now).
Test: make com.android.runtime
Test: make com.android.runtime.release
Test: make com.android.runtime.debug
Test: art/build/apex/runtests.sh
Bug: 113373927
Change-Id: I27a50aee9d83c8c3a9bd38636022e9f5335a2a0d
Diffstat (limited to 'Android.mk')
| -rw-r--r-- | Android.mk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk index b9f617035c..d6392201cb 100644 --- a/Android.mk +++ b/Android.mk @@ -326,6 +326,17 @@ endif ####################### +# Android Runtime APEX. + +include $(CLEAR_VARS) +LOCAL_MODULE := com.android.runtime +# TODO: Select the debug module (`com.android.runtime.debug`) for +# userdebug and eng products. +LOCAL_REQUIRED_MODULES := com.android.runtime.release +include $(BUILD_PHONY_PACKAGE) + + +####################### # Fake packages for ART # The art-runtime package depends on the core ART libraries and binaries. It exists so we can |
