diff options
author | Vladimir Chtchetkine <vchtchetkine@google.com> | 2011-12-13 11:31:54 -0800 |
---|---|---|
committer | Vladimir Chtchetkine <vchtchetkine@google.com> | 2012-01-10 16:31:08 -0800 |
commit | 2cbcd24ba708be5e387b8bf54351f5c2df7abbec (patch) | |
tree | 550b65d815a060cc582520e5ea82c10ccdcb7fe4 | |
parent | 9a46327e123360490801d0dde95fc94e437e1e73 (diff) | |
download | build-2cbcd24ba708be5e387b8bf54351f5c2df7abbec.tar.gz |
Cherry-picked from e6b969f3b in master. Do not merge.
Add boot property enabling ADBD over QEMU
Emulator and system image now support ADBD communication over QEMUD pipe rather
than over a TCP port forwarding. However, emulator has to know ahead of time
(before system starts booting) whether or not the system image supports ADBD
over pipe to properly setup the communication. For that, we introduce a boot
property "ro.adb.qemu" that is readable by the emulator early enough for the
proper ADB communication setup.
Change-Id: I978489c5acf46177b520e775d745bcc78f469837
-rw-r--r-- | target/board/generic/device.mk | 3 | ||||
-rw-r--r-- | target/board/generic_x86/device.mk | 3 | ||||
-rw-r--r-- | target/board/vbox_x86/device.mk | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/target/board/generic/device.mk b/target/board/generic/device.mk index 8b187d5e17..4edcc19dcf 100644 --- a/target/board/generic/device.mk +++ b/target/board/generic/device.mk @@ -19,7 +19,8 @@ PRODUCT_PROPERTY_OVERRIDES := \ ro.ril.hsxpa=1 \ - ro.ril.gprsclass=10 + ro.ril.gprsclass=10 \ + ro.adb.qemud=1 PRODUCT_COPY_FILES := \ development/data/etc/apns-conf.xml:system/etc/apns-conf.xml \ diff --git a/target/board/generic_x86/device.mk b/target/board/generic_x86/device.mk index 1055cbad2e..0dd2bc0541 100644 --- a/target/board/generic_x86/device.mk +++ b/target/board/generic_x86/device.mk @@ -19,7 +19,8 @@ PRODUCT_PROPERTY_OVERRIDES := \ ro.ril.hsxpa=1 \ - ro.ril.gprsclass=10 + ro.ril.gprsclass=10 \ + ro.adb.qemud=1 PRODUCT_COPY_FILES := \ development/data/etc/apns-conf.xml:system/etc/apns-conf.xml \ diff --git a/target/board/vbox_x86/device.mk b/target/board/vbox_x86/device.mk index a76d8fa60a..66a6e844bc 100644 --- a/target/board/vbox_x86/device.mk +++ b/target/board/vbox_x86/device.mk @@ -21,7 +21,8 @@ LOCAL_PATH := $(call my-dir) PRODUCT_PROPERTY_OVERRIDES := \ ro.ril.hsxpa=1 \ - ro.ril.gprsclass=10 + ro.ril.gprsclass=10 \ + ro.adb.qemud=1 LOCAL_KERNEL := prebuilt/android-x86/kernel/kernel-vbox |