OSDN Git Service

Make the zygote 64-bit for the x86-64 emulator.
authorIan Rogers <irogers@google.com>
Fri, 21 Mar 2014 23:31:33 +0000 (16:31 -0700)
committerIan Rogers <irogers@google.com>
Sat, 19 Apr 2014 00:09:33 +0000 (17:09 -0700)
Change-Id: I4ad5d1ef2406e947176c8e180822b25c04fc83f0

target/board/generic_x86_64/device.mk
target/product/full_x86_64.mk

index 089f584..5b002bd 100755 (executable)
@@ -25,7 +25,8 @@ PRODUCT_PROPERTY_OVERRIDES := \
 PRODUCT_COPY_FILES := \
     device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml \
     device/generic/goldfish/camera/media_profiles.xml:system/etc/media_profiles.xml \
-    device/generic/goldfish/camera/media_codecs.xml:system/etc/media_codecs.xml
+    device/generic/goldfish/camera/media_codecs.xml:system/etc/media_codecs.xml \
+    system/core/rootdir/init.zygote64.rc:root/init.zygote64.rc
 
 PRODUCT_PACKAGES := \
     audio.primary.goldfish \
index 8b964c2..ce5dcf7 100755 (executable)
@@ -23,6 +23,9 @@
 # that isn't a wifi connection. This will instruct init.rc to enable the
 # network connection so that you can use it with ADB
 
+# Override and force 64-bit Zygote. Must come first.
+PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.zygote=zygote64
+
 $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
 $(call inherit-product, $(SRC_TARGET_DIR)/board/generic_x86_64/device.mk)