Commit graph

1220 commits

Author SHA1 Message Date
Elliott Hughes
c4472d517c am 0c2dcc08: am cc3b0c41: am 5c11a76b: Merge "Add debug.atrace.tags.enableflags=0 to /default.prop."
* commit '0c2dcc08454851b74a8c4ee265e2a56beab89052':
  Add debug.atrace.tags.enableflags=0 to /default.prop.
2014-09-04 00:28:12 +00:00
Elliott Hughes
0c2dcc0845 am cc3b0c41: am 5c11a76b: Merge "Add debug.atrace.tags.enableflags=0 to /default.prop."
* commit 'cc3b0c411389a7f8dbcc9317614f9027585cc3d0':
  Add debug.atrace.tags.enableflags=0 to /default.prop.
2014-09-04 00:17:05 +00:00
Elliott Hughes
cc3b0c4113 am 5c11a76b: Merge "Add debug.atrace.tags.enableflags=0 to /default.prop."
* commit '5c11a76badbea36c4f6b89a0d2b2dd2acee35a5d':
  Add debug.atrace.tags.enableflags=0 to /default.prop.
2014-09-04 00:04:59 +00:00
Stephen Smalley
88c5a130b4 Add debug.atrace.tags.enableflags=0 to /default.prop.
This ensures that the property is always set by init
prior to starting any other process, which avoids the need
for the bionic systrace code to try to set the property
if it has not already been set to avoid the full cost of
searching for an undefined property each time.  See
change I30ed5b377c91ca4c36568a0e647ddf95d4e4a61a for
the relevant bionic code.

The problem with the current bionic code is that it can
trigger an attempt to set this property from any random
process, which will be denied unless the process is already
authorized to set debug properties.  This is visible in the
form of various SELinux avc: denied messages and
init sys_prop:  permission denied messages in dmesg output.
Allowing all domains to set such properties is undesirable.

Change-Id: I6d953c0c281fd72ad3eba8a479fd258023579b5b
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2014-09-03 15:08:08 -04:00
Marcin Kosiba
2380261057 am 15493ceb: Merge "Remove webviewchromium from PRODUCT_BOOT_JARS for real."
* commit '15493ceba52ce6bc962c66fd38d1cb0cbd88e2eb':
  Remove webviewchromium from PRODUCT_BOOT_JARS for real.
2014-09-01 10:30:13 +00:00
Marcin Kosiba
6eeacd322f Remove webviewchromium from PRODUCT_BOOT_JARS for real.
The WebView Java code is now loaded by WebViewFactory from an APK
when an app needs it, so remove the old jar from the boot classpath.
The previous change removed the webview from core_minimal.mk but
not from core_base.mk, which is what this change addresses.

Change-Id: I6f4bcd427a7e65f3a20372c3c177e9342a953290
2014-09-01 10:57:44 +01:00
Marcin Kosiba
e3345bcd76 am aab8cdb7: Merge "Remove webviewchromium from PRODUCT_BOOT_JARS."
* commit 'aab8cdb7044555fc88c7aaffa83884bb68a2ddb0':
  Remove webviewchromium from PRODUCT_BOOT_JARS.
2014-09-01 09:37:10 +00:00
Marcin Kosiba
aab8cdb704 Merge "Remove webviewchromium from PRODUCT_BOOT_JARS." 2014-09-01 09:26:59 +00:00
Marcin Kosiba
98cee3b415 Remove webviewchromium from PRODUCT_BOOT_JARS.
The WebView Java code is now loaded by WebViewFactory from an APK
when an app needs it, so remove the old jar from the boot classpath.

Bug: 16329371
Change-Id: Ibed49641d04fd5e93e26ab12e203e4596e0b3bb6
2014-09-01 10:22:10 +01:00
Calin Juravle
cf4e6a722c am 8078df97: Merge "Make sure that ro.dalvik.vm.native.bridge is always set."
* commit '8078df9755fc0942feae8ac10a4965c5de4968a8':
  Make sure that ro.dalvik.vm.native.bridge is always set.
2014-08-27 15:58:44 +00:00
Calin Juravle
c783b5065b Make sure that ro.dalvik.vm.native.bridge is always set.
A value of "0" means that native bridge is disabled.

Bug: 17104449

(cherry picked from commit 4f703a7f9f)

Change-Id: I4ca379923996ea08828dea4b2cd2da045e3f8031
2014-08-27 14:55:32 +01:00
Calin Juravle
08cef7185f am d9f31612: am 4f703a7f: Make sure that ro.dalvik.vm.native.bridge is always set.
* commit 'd9f31612f2af69abc7b56c154e48d4ac639eeac1':
  Make sure that ro.dalvik.vm.native.bridge is always set.
2014-08-27 13:37:42 +00:00
Calin Juravle
d9f31612f2 am 4f703a7f: Make sure that ro.dalvik.vm.native.bridge is always set.
* commit '4f703a7f9ffd9a0d0432401a3173533d695d2ae6':
  Make sure that ro.dalvik.vm.native.bridge is always set.
2014-08-27 13:27:53 +00:00
Calin Juravle
4f703a7f9f Make sure that ro.dalvik.vm.native.bridge is always set.
A value of "0" means that native bridge is disabled.

Bug: 17104449

Change-Id: Id68afe305cd11471fed8aa3f5568e5dbfc22166c
2014-08-26 23:03:16 +01:00
David 'Digit' Turner
ddcbb89a8d am 4d3f581d: resolved conflicts for merge of 7a58de4e to lmp-dev-plus-aosp
* commit '4d3f581d872ff1634b772411a66dab5ba9c6bebe':
  arm64: Fix the sdk_arm64 build products
  arm64: Fix aosp_arm64 system image.
2014-08-25 18:07:39 +00:00
David 'Digit' Turner
4d3f581d87 resolved conflicts for merge of 7a58de4e to lmp-dev-plus-aosp
Change-Id: I74491684909c34022c20932e1acd57887b1f0c15
2014-08-25 16:14:02 +02:00
David 'Digit' Turner
7a58de4e09 am d0015f71: Merge changes I152eb090,Ic40360bf
* commit 'd0015f7173d4bc2962d3c89b945e9c3bce5cb313':
  arm64: Fix the sdk_arm64 build products
  arm64: Fix aosp_arm64 system image.
2014-08-25 10:25:32 +00:00
David 'Digit' Turner
46299f5efd arm64: Fix the sdk_arm64 build products
This patch fixes the sdk_arm64 system images to boot properly when run
under emulation with the new qemu-android binaries.

BUG=17154406

Change-Id: I152eb09086ce4abc4b623e54de78cdaaac6b90a1
2014-08-22 11:15:07 +02:00
David 'Digit' Turner
d3e8cb7fda arm64: Fix aosp_arm64 system image.
This patch ensures that the system image produced for the 'aosp_arm64'
build products can actually run under emulation with the new qemu-android
binaries [1]

The main issue is that the virtual board is named 'ranchu' instead of
'goldfish' (because the virtual hardware is _very_ different), and thus
requires specific files for the boot to start properly

(in particular fstab.ranchu is required to mount the system, data and
cache partitions, otherwise init will fail badly because /system/bin/
and /data/ are missing important files).

IMPORTANT: This requires the files under device/generic/goldfish/ from:

    https://android-review.googlesource.com/#/c/105020/

[1] Binaries built from https://qemu-android.googlesource.com/qemu-android

BUG=17154406

Change-Id: Ic40360bf56e32aab708551c810000467d23793d4
2014-08-22 11:15:01 +02:00
Baligh Uddin
d43b1cedb0 am 8883508a: am cc4c481b: Add en_AU as a supported locale
* commit '8883508aa905ce3d9d5eda5a0bfa7c8f12c0b90e':
  Add en_AU as a supported locale
2014-08-21 16:54:06 +00:00
Baligh Uddin
8883508aa9 am cc4c481b: Add en_AU as a supported locale
* commit 'cc4c481b8f6f57b964715cbdab56092db08000d9':
  Add en_AU as a supported locale
2014-08-21 16:41:59 +00:00
Baligh Uddin
cc4c481b8f Add en_AU as a supported locale
Bug: 14587692
2014-08-21 16:04:26 +00:00
Michael Wright
c869a51a4e am ec8aee21: Merge "Remove inputflinger from build. DO NOT MERGE" into lmp-dev
* commit 'ec8aee21583d014563c11735af0219b2bac23c0f':
  Remove inputflinger from build. DO NOT MERGE
2014-08-19 01:49:26 +00:00
Michael Wright
08c71b2f77 Remove inputflinger from build. DO NOT MERGE
Change-Id: Ic3031732ea9915e5fac0f5261985027f07125618
2014-08-18 10:19:59 -07:00
Narayan Kamath
a82a069dd1 am 50fbf71b: Merge "Remove services, wifi, ethernet from BOOTCLASSPATH." into lmp-dev
* commit '50fbf71b2e21b899ff5fcb507e5725cd9bd0991f':
  Remove services, wifi, ethernet from BOOTCLASSPATH.
2014-08-15 13:17:13 +00:00
Jeff Tinker
74492f2092 am 335f84fc: Merge "make com.android.mediadrm.signer available on all devices" into lmp-dev
* commit '335f84fcc8091a82079fbad444852593585f62ab':
  make com.android.mediadrm.signer available on all devices
2014-08-15 11:33:22 +00:00
Narayan Kamath
50fbf71b2e Merge "Remove services, wifi, ethernet from BOOTCLASSPATH." into lmp-dev 2014-08-15 04:32:23 +00:00
Jeff Tinker
86d238bde0 make com.android.mediadrm.signer available on all devices
bug: 16978496
Change-Id: I238e6fa7fc4e588f52f86130a2721c391959a94a
2014-08-13 11:27:59 -07:00
Narayan Kamath
89ec496f98 Remove services, wifi, ethernet from BOOTCLASSPATH.
They belong to the system_server classpath.

bug: 16555230

Change-Id: Ic84f0b2baf611eeedff6d123cb7191bb0259e600
2014-08-12 10:25:19 +01:00
Alex Light
c6b7676719 Make system use patchoat to relocate during runtime.
Change DexPreOpt to include patch information of all compiled files so
we can relocate at runtime.

Bug: 15358152

(cherry picked from commit ce090d3f45)

Change-Id: I75a1eec3a38d6bce1f678c510d57849f8dfa04fa
2014-08-06 13:48:04 -07:00
Brian Carlstrom
cd76736081 am 557e7e54: am ce06199a: Merge "Make system use patchoat to relocate during runtime."
* commit '557e7e54131999d25fc75c71ad2c15d931033312':
  Make system use patchoat to relocate during runtime.
2014-08-05 21:43:06 +00:00
Brian Carlstrom
557e7e5413 am ce06199a: Merge "Make system use patchoat to relocate during runtime."
* commit 'ce06199a047f81d6afe522ab4e6f489deecb46f3':
  Make system use patchoat to relocate during runtime.
2014-08-05 17:51:10 +00:00
Alex Light
ce090d3f45 Make system use patchoat to relocate during runtime.
Change DexPreOpt to include patch information of all compiled files so
we can relocate at runtime.

Bug: 15358152

Change-Id: Ibe92d8b55a24bbf718b0416a21b76e5df7a2de26
2014-08-05 10:22:09 -07:00
Ben Murdoch
70c6e14492 am 9e6ba597: Merge "Remove webviewchromium from PRODUCT_BOOT_JARS." into lmp-dev
* commit '9e6ba597ba438fd4ad314f27bb532f36a9ec5aa9':
  Remove webviewchromium from PRODUCT_BOOT_JARS.
2014-08-01 16:58:27 +00:00
Ying Wang
9bee9d7d11 am bb164eb6: Merge "Fix 64 bit emulator booting (again)."
* commit 'bb164eb64036b8e49309bc82eb0800562eaf9852':
  Fix 64 bit emulator booting (again).
2014-07-30 16:40:53 +00:00
Ying Wang
3b548515fb am 4b323c62: Merge "SDK targets should inherit from core_64_bit.mk"
* commit '4b323c62564337c96e0e0694c14d64f1c57182ee':
  SDK targets should inherit from core_64_bit.mk
2014-07-30 16:40:52 +00:00
Ying Wang
7dcd694ae0 am b0da8265: Merge "Add SDK product for arm64, x86_64 and mips64."
* commit 'b0da8265b21035641c964826e17c215972036669':
  Add SDK product for arm64, x86_64 and mips64.
2014-07-30 16:40:52 +00:00
Ying Wang
fe07e79113 am 8f509bad: Merge "Remove the unused large_emu_hw.mk"
* commit '8f509bad6d1eaa9928ff54eca220ba3e72214ac7':
  Remove the unused large_emu_hw.mk
2014-07-30 16:40:51 +00:00
Narayan Kamath
0ad0d197c3 SDK targets should inherit from core_64_bit.mk
bug: 15661143

(cherry picked from commit e78ba32d23)

Change-Id: Icf9d0a7d429f848ca6163a8658c6e5f208fdd039
2014-07-30 09:35:08 -07:00
Ying Wang
be7449b0e1 Add SDK product for arm64, x86_64 and mips64.
Bug: 14411602
Change-Id: Ia609321864ddade27df97448c8037f25c4ef99aa
2014-07-30 09:33:46 -07:00
Ying Wang
3381a52556 Remove the unused large_emu_hw.mk
Change-Id: Iea8330e00983f4eac44d8a072c1bf185afcf6a80

Conflicts:
	target/product/large_emu_hw.mk
2014-07-30 09:33:28 -07:00
Vignesh Venkatasubramanian
ea63b7ae40 am 82af97fc: Add opus entries in generic makefiles.
* commit '82af97fc274c27da7099c46f84ad48f6f9624537':
  Add opus entries in generic makefiles.
2014-07-26 02:40:35 +00:00
Vignesh Venkatasubramanian
82af97fc27 Add opus entries in generic makefiles.
libopus is necessary for opus software decoding support. add that to
base.mk and add an entry for libstagefright_soft_opusdec to
core_base.mk.

Change-Id: Iddd6ab2b2a84bb966b7e635a6aa73efb6a803e98
2014-07-26 01:08:12 +00:00
Edwin Wong
4d366fb6d5 am dbb3d2e7: Add libdrmclearkeyplugin.so to image.
* commit 'dbb3d2e732b5b66bade851bb1791c2040f233ef2':
  Add libdrmclearkeyplugin.so to image.
2014-07-25 23:42:09 +00:00
Edwin Wong
dbb3d2e732 Add libdrmclearkeyplugin.so to image.
The library will be added to /system/vendor/lib/mediadrm.

Change-Id: Iebfd00077c2a13e4ad4296aedba21230a7e4f37f
2014-07-25 23:25:20 +00:00
Ben Murdoch
9e6ba597ba Merge "Remove webviewchromium from PRODUCT_BOOT_JARS." into lmp-dev 2014-07-25 23:00:08 +00:00
Narayan Kamath
97eae625a0 Fix 64 bit emulator booting (again).
Not only should they inherit from core_64_bit.mk, we should
inherit from that first to make sure sdk.mk doesn't override
those values with other cruft.

Change-Id: Ibcd3c47b5be92544c1e86b6e85608b875c468461
2014-07-30 09:35:41 -07:00
Svet Ganov
843025ad61 am 6693649a: Merge "Add appwidget to system image." into lmp-dev
* commit '6693649a42177484c6439912c1d56712378a851c':
  Add appwidget to system image.
2014-07-23 17:24:15 +00:00
Svet Ganov
6693649a42 Merge "Add appwidget to system image." into lmp-dev 2014-07-22 16:21:19 +00:00
Ying Wang
2d733b71e8 am 0ea63e0c: Merge "Remove framework2" into lmp-dev
* commit '0ea63e0cbd974863f9c828951d3a9228de962db6':
  Remove framework2
2014-07-21 22:36:34 +00:00