diff options
author | Praneeth Bajjuri | 2018-10-25 17:45:34 -0500 |
---|---|---|
committer | Praneeth Bajjuri | 2018-10-26 16:41:48 -0500 |
commit | 782b8c9e94ccb9a8e0980eb188f86f86764003a4 (patch) | |
tree | 9430eed9be4aace900b0e86b5212bc11f112168d | |
parent | 1fe6e773828f8483f97e5d335db1c392ccaaa7b6 (diff) | |
download | device-ti-j721e-782b8c9e94ccb9a8e0980eb188f86f86764003a4.tar.gz device-ti-j721e-782b8c9e94ccb9a8e0980eb188f86f86764003a4.tar.xz device-ti-j721e-782b8c9e94ccb9a8e0980eb188f86f86764003a4.zip |
am65xevm: Add support for 64b and 32b apps
Set TARGET_SUPPORTS_32_BIT_APPS and TARGET_SUPPORTS_64_BIT_APPS,
TARGET_PREFERS_32_BIT_APPS get apps to build for 32-bit only,
and leaves TARGET_SUPPORTS_64_BIT_APPS unset.
This confuses zygote64 because it finds an empty 64-bit ABI list
and causes zygote* process to fail on android init.
Hence Enabling support for both 32b and 64b apps.
and making 64b as primary , 32b as secondary
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
-rw-r--r-- | BoardConfig.mk | 3 | ||||
-rw-r--r-- | device-common.mk | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk index 2b6ddd6..e64d531 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk | |||
@@ -36,7 +36,10 @@ TARGET_NO_RECOVERY := true | |||
36 | PRODUCT_COMPATIBILITY_MATRIX_LEVEL_OVERRIDE := legacy | 36 | PRODUCT_COMPATIBILITY_MATRIX_LEVEL_OVERRIDE := legacy |
37 | PRODUCT_FULL_TREBLE_OVERRIDE := true | 37 | PRODUCT_FULL_TREBLE_OVERRIDE := true |
38 | BOARD_VNDK_VERSION := current | 38 | BOARD_VNDK_VERSION := current |
39 | |||
39 | TARGET_USES_64_BIT_BINDER := true | 40 | TARGET_USES_64_BIT_BINDER := true |
41 | TARGET_SUPPORTS_32_BIT_APPS := true | ||
42 | TARGET_SUPPORTS_64_BIT_APPS := true | ||
40 | 43 | ||
41 | TARGET_USES_HWC2 := true | 44 | TARGET_USES_HWC2 := true |
42 | USE_CAMERA_STUB := true | 45 | USE_CAMERA_STUB := true |
diff --git a/device-common.mk b/device-common.mk index 3b38ee8..2a23fae 100644 --- a/device-common.mk +++ b/device-common.mk | |||
@@ -34,6 +34,11 @@ PRODUCT_PACKAGES += \ | |||
34 | libunwind | 34 | libunwind |
35 | 35 | ||
36 | PRODUCT_ENFORCE_VINTF_MANIFEST_OVERRIDE := true | 36 | PRODUCT_ENFORCE_VINTF_MANIFEST_OVERRIDE := true |
37 | |||
38 | # Set zygote config | ||
39 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.zygote=zygote64_32 | ||
40 | PRODUCT_COPY_FILES += system/core/rootdir/init.zygote64_32.rc:root/init.zygote64_32.rc | ||
41 | |||
37 | # Audio | 42 | # Audio |
38 | PRODUCT_PACKAGES += \ | 43 | PRODUCT_PACKAGES += \ |
39 | android.hardware.audio@2.0-impl \ | 44 | android.hardware.audio@2.0-impl \ |