OSDN Git Service

android-x86/build.git
9 years agoam c3aeddd3: Merge "Fix mma/mmma by making gettop canonicalize TOP when set"
Brian Carlstrom [Fri, 12 Sep 2014 22:29:00 +0000 (22:29 +0000)]
am c3aeddd3: Merge "Fix mma/mmma by making gettop canonicalize TOP when set"

* commit 'c3aeddd331a62ebe7a4d6d6e5892cbe35222d6e7':
  Fix mma/mmma by making gettop canonicalize TOP when set

9 years agoMerge "Fix mma/mmma by making gettop canonicalize TOP when set"
Brian Carlstrom [Fri, 12 Sep 2014 22:18:11 +0000 (22:18 +0000)]
Merge "Fix mma/mmma by making gettop canonicalize TOP when set"

9 years agoFix mma/mmma by making gettop canonicalize TOP when set
Brian Carlstrom [Fri, 12 Sep 2014 07:33:25 +0000 (00:33 -0700)]
Fix mma/mmma by making gettop canonicalize TOP when set

Bug: 17253957

(cherry picked from commit a5c4f178ae3f3e94b1d1dceae3cc8d3196633c4a)

Change-Id: Id5f5a6e9c81d4332ef5a846423ea41384a053db6

9 years agoam 1feb478d: Merge "Missed one part of removing the vbox target."
Dan Albert [Thu, 11 Sep 2014 01:42:49 +0000 (01:42 +0000)]
am 1feb478d: Merge "Missed one part of removing the vbox target."

* commit '1feb478d28cfb427650e4cd2752bcd988b3258e6':
  Missed one part of removing the vbox target.

9 years agoMerge "Missed one part of removing the vbox target."
Dan Albert [Thu, 11 Sep 2014 01:32:05 +0000 (01:32 +0000)]
Merge "Missed one part of removing the vbox target."

9 years agoMissed one part of removing the vbox target.
Dan Albert [Wed, 10 Sep 2014 22:58:20 +0000 (15:58 -0700)]
Missed one part of removing the vbox target.

Change-Id: I8edb5252b5e71de042b79cb9eb2a497d89efb773

9 years agoam 30dbfce5: Merge "Remove the vbox target from the build system."
Dan Albert [Wed, 10 Sep 2014 22:39:26 +0000 (22:39 +0000)]
am 30dbfce5: Merge "Remove the vbox target from the build system."

* commit '30dbfce52fdf3ec554b1818ac40fea734e8eac3f':
  Remove the vbox target from the build system.

9 years agoMerge "Remove the vbox target from the build system."
Dan Albert [Wed, 10 Sep 2014 22:31:41 +0000 (22:31 +0000)]
Merge "Remove the vbox target from the build system."

9 years agoRemove the vbox target from the build system.
Dan Albert [Wed, 10 Sep 2014 22:10:31 +0000 (15:10 -0700)]
Remove the vbox target from the build system.

I've been told this is no longer in use, and it's the only user of
external/grub, which is distressingly out of date.

Change-Id: I434a55e0d68f6db97fa71e294e983ff1802e9ba6

9 years agoam 48505328: Merge "Refine TARGET_GLOBAL_CFLAGS for x86 and x86_64:"
Ying Wang [Wed, 10 Sep 2014 17:05:59 +0000 (17:05 +0000)]
am 48505328: Merge "Refine TARGET_GLOBAL_CFLAGS for x86 and x86_64:"

* commit '48505328c83d644db04703ce35af81d368279fc4':
  Refine TARGET_GLOBAL_CFLAGS for x86 and x86_64:

9 years agoMerge "Refine TARGET_GLOBAL_CFLAGS for x86 and x86_64:"
Ying Wang [Wed, 10 Sep 2014 16:26:49 +0000 (16:26 +0000)]
Merge "Refine TARGET_GLOBAL_CFLAGS for x86 and x86_64:"

9 years agoRefine TARGET_GLOBAL_CFLAGS for x86 and x86_64:
Alexander Ivchenko [Tue, 9 Sep 2014 13:24:27 +0000 (17:24 +0400)]
Refine TARGET_GLOBAL_CFLAGS for x86 and x86_64:

       Remove -msse2 for x86 (-mssse3 should be provided by the compiler).
       Remove -fPIC (compiler provides by default).
       Remove -fno-inline-functions-called-once.

Change-Id: Ibb29934224c4eedfff926dc72c3b6342c1861ac9

9 years agoam 53e95027: Merge "Add LOCAL_POST_LINK_CMD."
Ying Wang [Fri, 5 Sep 2014 23:49:14 +0000 (23:49 +0000)]
am 53e95027: Merge "Add LOCAL_POST_LINK_CMD."

* commit '53e9502704bb492e0c387a21098f772f2aa60da9':
  Add LOCAL_POST_LINK_CMD.

9 years agoMerge "Add LOCAL_POST_LINK_CMD."
Ying Wang [Fri, 5 Sep 2014 23:41:13 +0000 (23:41 +0000)]
Merge "Add LOCAL_POST_LINK_CMD."

9 years agoAdd LOCAL_POST_LINK_CMD.
Ying Wang [Fri, 5 Sep 2014 22:46:43 +0000 (15:46 -0700)]
Add LOCAL_POST_LINK_CMD.

For now we support LOCAL_POST_LINK_CMD only for static executables.
This fixed the hack of building linker which need to insert additional
step after link.

Bug: 17403674
Change-Id: Iefdfe1e3fab3a30c5d4ad701d46f931481eab572

9 years agoam 1051d5dc: Merge "Add LOCAL_CLANG_*FLAGS for clang only flags."
Chih-Hung Hsieh [Fri, 5 Sep 2014 02:19:57 +0000 (02:19 +0000)]
am 1051d5dc: Merge "Add LOCAL_CLANG_*FLAGS for clang only flags."

* commit '1051d5dc21549b852f5452aa3a265e2f8c6c61b9':
  Add LOCAL_CLANG_*FLAGS for clang only flags.

9 years agoMerge "Add LOCAL_CLANG_*FLAGS for clang only flags."
Chih-Hung Hsieh [Fri, 5 Sep 2014 02:13:10 +0000 (02:13 +0000)]
Merge "Add LOCAL_CLANG_*FLAGS for clang only flags."

9 years agoAdd LOCAL_CLANG_*FLAGS for clang only flags.
Chih-Hung Hsieh [Fri, 5 Sep 2014 00:15:47 +0000 (17:15 -0700)]
Add LOCAL_CLANG_*FLAGS for clang only flags.

To be used only for some modules.

Change-Id: I107ec37f11f738f860598f0c86c4ad7ec20c9011

9 years agoam 5c11a76b: Merge "Add debug.atrace.tags.enableflags=0 to /default.prop."
Elliott Hughes [Thu, 4 Sep 2014 00:04:59 +0000 (00:04 +0000)]
am 5c11a76b: Merge "Add debug.atrace.tags.enableflags=0 to /default.prop."

* commit '5c11a76badbea36c4f6b89a0d2b2dd2acee35a5d':
  Add debug.atrace.tags.enableflags=0 to /default.prop.

9 years agoMerge "Add debug.atrace.tags.enableflags=0 to /default.prop."
Elliott Hughes [Wed, 3 Sep 2014 23:55:03 +0000 (23:55 +0000)]
Merge "Add debug.atrace.tags.enableflags=0 to /default.prop."

9 years agoam 039cd7e0: Merge "Add LOCAL_NO_FPIE."
Tim Murray [Wed, 3 Sep 2014 22:55:51 +0000 (22:55 +0000)]
am 039cd7e0: Merge "Add LOCAL_NO_FPIE."

* commit '039cd7e076e904dfe6d4c9e2e2d99fb31444b2ad':
  Add LOCAL_NO_FPIE.

9 years agoMerge "Add LOCAL_NO_FPIE."
Tim Murray [Wed, 3 Sep 2014 22:46:45 +0000 (22:46 +0000)]
Merge "Add LOCAL_NO_FPIE."

9 years agoAdd LOCAL_NO_FPIE.
Tim Murray [Wed, 3 Sep 2014 22:01:46 +0000 (15:01 -0700)]
Add LOCAL_NO_FPIE.

Not all executables should be built with -pie.

bug 15814177

Change-Id: I402e8a531866b507ee80a0bf677f9f3551ca7693

9 years agoam 7754e0ce: Merge "[MIPS64] Modify the default MIPS64 build to MIPS64R6."
Ying Wang [Wed, 3 Sep 2014 19:30:25 +0000 (19:30 +0000)]
am 7754e0ce: Merge "[MIPS64] Modify the default MIPS64 build to MIPS64R6."

* commit '7754e0ce894044e43c50e002e342f03317205668':
  [MIPS64] Modify the default MIPS64 build to MIPS64R6.

9 years agoMerge "[MIPS64] Modify the default MIPS64 build to MIPS64R6."
Ying Wang [Wed, 3 Sep 2014 19:20:28 +0000 (19:20 +0000)]
Merge "[MIPS64] Modify the default MIPS64 build to MIPS64R6."

9 years agoAdd debug.atrace.tags.enableflags=0 to /default.prop.
Stephen Smalley [Wed, 3 Sep 2014 19:08:08 +0000 (15:08 -0400)]
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>
9 years agoam 2f9fa520: Merge "Fix build breakage due to incorrect bcc_compat RS_TRIPLE."
Stephen Hines [Wed, 3 Sep 2014 16:09:03 +0000 (16:09 +0000)]
am 2f9fa520: Merge "Fix build breakage due to incorrect bcc_compat RS_TRIPLE."

* commit '2f9fa5202532fb2b5c9ea89a4c15171346f63ec1':
  Fix build breakage due to incorrect bcc_compat RS_TRIPLE.

9 years agoMerge "Fix build breakage due to incorrect bcc_compat RS_TRIPLE."
Stephen Hines [Wed, 3 Sep 2014 16:02:08 +0000 (16:02 +0000)]
Merge "Fix build breakage due to incorrect bcc_compat RS_TRIPLE."

9 years agoFix build breakage due to incorrect bcc_compat RS_TRIPLE.
Stephen Hines [Wed, 3 Sep 2014 02:09:35 +0000 (19:09 -0700)]
Fix build breakage due to incorrect bcc_compat RS_TRIPLE.

Bug: 17333374
Change-Id: I13582ce0cde86f7b3728aa4f45a5197438d65a2d
(cherry picked from commit 52626d2a7b4767905e8a369ddc8316c1290ad156)

9 years agoam cee38d55: Merge "[MIPSR6] R6 target options for clang"
Ying Wang [Wed, 3 Sep 2014 01:09:58 +0000 (01:09 +0000)]
am cee38d55: Merge "[MIPSR6] R6 target options for clang"

* commit 'cee38d55f8021c9720b883fc1e4feafc8f45d87c':
  [MIPSR6] R6 target options for clang

9 years agoMerge "[MIPSR6] R6 target options for clang"
Ying Wang [Wed, 3 Sep 2014 01:02:54 +0000 (01:02 +0000)]
Merge "[MIPSR6] R6 target options for clang"

9 years ago[MIPS64] Modify the default MIPS64 build to MIPS64R6.
Raghu Gandham [Tue, 2 Sep 2014 23:30:00 +0000 (16:30 -0700)]
[MIPS64] Modify the default MIPS64 build to MIPS64R6.

Change-Id: I797e4c2e5b69c6991545c26886b5b25e6f8c2a67

9 years agoam 0850330c: Merge "Default host module to 64-bit except for SDK builds."
Ying Wang [Tue, 2 Sep 2014 23:16:25 +0000 (23:16 +0000)]
am 0850330c: Merge "Default host module to 64-bit except for SDK builds."

* commit '0850330caa352ea2dc412df495c6ad95e4264d05':
  Default host module to 64-bit except for SDK builds.

9 years agoMerge "Default host module to 64-bit except for SDK builds."
Ying Wang [Tue, 2 Sep 2014 23:05:43 +0000 (23:05 +0000)]
Merge "Default host module to 64-bit except for SDK builds."

9 years agoDefault host module to 64-bit except for SDK builds.
Ying Wang [Tue, 2 Sep 2014 22:11:20 +0000 (15:11 -0700)]
Default host module to 64-bit except for SDK builds.

Set "HOST_PREFER_32_BIT := true" only if "sdk" or "win_sdk" is among the
make command line goals, or it's a MinGW windows build, which only builds
host SDK tools.

Bug: 13751317
Change-Id: I8ec1a97a5d1af065a153b16523c2ee3434d0dd71

9 years agoam ec8778e8: Merge "Fix RS_TRIPLE and RS_TRIPLE_CFLAGS."
Stephen Hines [Tue, 2 Sep 2014 16:31:35 +0000 (16:31 +0000)]
am ec8778e8: Merge "Fix RS_TRIPLE and RS_TRIPLE_CFLAGS."

* commit 'ec8778e89f872b9a12cc6b3367400ecd33cb32d0':
  Fix RS_TRIPLE and RS_TRIPLE_CFLAGS.

9 years agoMerge "Fix RS_TRIPLE and RS_TRIPLE_CFLAGS."
Stephen Hines [Tue, 2 Sep 2014 16:23:10 +0000 (16:23 +0000)]
Merge "Fix RS_TRIPLE and RS_TRIPLE_CFLAGS."

9 years agoam 7852b80c: Merge "Add missing flags to x86 (both 32- and 64-bit) arch variants...
Ying Wang [Mon, 1 Sep 2014 17:58:52 +0000 (17:58 +0000)]
am 7852b80c: Merge "Add missing flags to x86 (both 32- and 64-bit) arch variants. Delete x86_64-atom.mk as we don\'t support 64-bit on old Atom."

* commit '7852b80c05e33c873819b1bf22bcaa54bb583c99':
  Add missing flags to x86 (both 32- and 64-bit) arch variants. Delete x86_64-atom.mk as we don't support 64-bit on old Atom.

9 years agoMerge "Add missing flags to x86 (both 32- and 64-bit) arch variants. Delete x86_64...
Ying Wang [Mon, 1 Sep 2014 17:47:54 +0000 (17:47 +0000)]
Merge "Add missing flags to x86 (both 32- and 64-bit) arch variants. Delete x86_64-atom.mk as we don't support 64-bit on old Atom."

9 years agoam 15493ceb: Merge "Remove webviewchromium from PRODUCT_BOOT_JARS for real."
Marcin Kosiba [Mon, 1 Sep 2014 10:30:13 +0000 (10:30 +0000)]
am 15493ceb: Merge "Remove webviewchromium from PRODUCT_BOOT_JARS for real."

* commit '15493ceba52ce6bc962c66fd38d1cb0cbd88e2eb':
  Remove webviewchromium from PRODUCT_BOOT_JARS for real.

9 years agoMerge "Remove webviewchromium from PRODUCT_BOOT_JARS for real."
Marcin Kosiba [Mon, 1 Sep 2014 10:20:14 +0000 (10:20 +0000)]
Merge "Remove webviewchromium from PRODUCT_BOOT_JARS for real."

9 years agoRemove webviewchromium from PRODUCT_BOOT_JARS for real.
Marcin Kosiba [Mon, 1 Sep 2014 09:57:44 +0000 (10:57 +0100)]
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

9 years agoam aab8cdb7: Merge "Remove webviewchromium from PRODUCT_BOOT_JARS."
Marcin Kosiba [Mon, 1 Sep 2014 09:37:10 +0000 (09:37 +0000)]
am aab8cdb7: Merge "Remove webviewchromium from PRODUCT_BOOT_JARS."

* commit 'aab8cdb7044555fc88c7aaffa83884bb68a2ddb0':
  Remove webviewchromium from PRODUCT_BOOT_JARS.

9 years agoMerge "Remove webviewchromium from PRODUCT_BOOT_JARS."
Marcin Kosiba [Mon, 1 Sep 2014 09:26:59 +0000 (09:26 +0000)]
Merge "Remove webviewchromium from PRODUCT_BOOT_JARS."

9 years agoRemove webviewchromium from PRODUCT_BOOT_JARS.
Marcin Kosiba [Mon, 1 Sep 2014 09:21:28 +0000 (10:21 +0100)]
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

9 years agoFix RS_TRIPLE and RS_TRIPLE_CFLAGS.
Stephen Hines [Fri, 29 Aug 2014 21:43:53 +0000 (14:43 -0700)]
Fix RS_TRIPLE and RS_TRIPLE_CFLAGS.

Bug: 17333374

Add RS_TRIPLE_CFLAGS to ensure that we build with the proper defines on
targets like x86. This also changes all build targets to use the
proper 32/64-bit triples when creating their runtime libraries.

Change-Id: I8f6175b1a14af6d03ee90f32069f3688ec227fb9

9 years agoam d2cf1b92: Merge "Add --no-include-debug-symbols to avoid bloat in user builds"
Brian Carlstrom [Fri, 29 Aug 2014 05:27:45 +0000 (05:27 +0000)]
am d2cf1b92: Merge "Add --no-include-debug-symbols to avoid bloat in user builds"

* commit 'd2cf1b924d3eee40c43d40af9dd66d9b83495b22':
  Add --no-include-debug-symbols to avoid bloat in user builds

9 years agoMerge "Add --no-include-debug-symbols to avoid bloat in user builds"
Brian Carlstrom [Fri, 29 Aug 2014 05:21:04 +0000 (05:21 +0000)]
Merge "Add --no-include-debug-symbols to avoid bloat in user builds"

9 years agoAdd --no-include-debug-symbols to avoid bloat in user builds
Brian Carlstrom [Fri, 29 Aug 2014 00:16:11 +0000 (17:16 -0700)]
Add --no-include-debug-symbols to avoid bloat in user builds

Bug: 16938924

(cherry picked from commit 91b9d01b6ba2d3ea37928febce67d13c005a2336)

Change-Id: I0b744e0aaacc11fe8983f22f56ffc546a07ae764

9 years agoam 8078df97: Merge "Make sure that ro.dalvik.vm.native.bridge is always set."
Calin Juravle [Wed, 27 Aug 2014 15:58:44 +0000 (15:58 +0000)]
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.

9 years agoMerge "Make sure that ro.dalvik.vm.native.bridge is always set."
Calin Juravle [Wed, 27 Aug 2014 15:50:28 +0000 (15:50 +0000)]
Merge "Make sure that ro.dalvik.vm.native.bridge is always set."

9 years agoMake sure that ro.dalvik.vm.native.bridge is always set.
Calin Juravle [Tue, 26 Aug 2014 21:46:13 +0000 (22:46 +0100)]
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 4f703a7f9ffd9a0d0432401a3173533d695d2ae6)

Change-Id: I4ca379923996ea08828dea4b2cd2da045e3f8031

9 years agoam 90d5c7f6: Merge "Clang rejects -Wno-old-style-declaration flag."
Chih-Hung Hsieh [Wed, 27 Aug 2014 01:45:44 +0000 (01:45 +0000)]
am 90d5c7f6: Merge "Clang rejects -Wno-old-style-declaration flag."

* commit '90d5c7f613c0fa7dc4c50a6d21d2484c1a1f0f66':
  Clang rejects -Wno-old-style-declaration flag.

9 years agoMerge "Clang rejects -Wno-old-style-declaration flag."
Chih-Hung Hsieh [Wed, 27 Aug 2014 01:27:39 +0000 (01:27 +0000)]
Merge "Clang rejects -Wno-old-style-declaration flag."

9 years agoClang rejects -Wno-old-style-declaration flag.
Chih-Hung Hsieh [Tue, 26 Aug 2014 23:37:00 +0000 (16:37 -0700)]
Clang rejects -Wno-old-style-declaration flag.

BUG: 17258227
Change-Id: I2a35263298ffd8dd7cda25183e185274cbf62b7b

9 years agoam b699b0ea: Merge "Clang does not recognize -Wno-literal-suffix."
Chih-Hung Hsieh [Tue, 26 Aug 2014 23:30:49 +0000 (23:30 +0000)]
am b699b0ea: Merge "Clang does not recognize -Wno-literal-suffix."

* commit 'b699b0ea58bb41c53cf5236c88d37482063ef438':
  Clang does not recognize -Wno-literal-suffix.

9 years agoMerge "Clang does not recognize -Wno-literal-suffix."
Chih-Hung Hsieh [Tue, 26 Aug 2014 23:01:34 +0000 (23:01 +0000)]
Merge "Clang does not recognize -Wno-literal-suffix."

9 years agoClang does not recognize -Wno-literal-suffix.
Chih-Hung Hsieh [Tue, 26 Aug 2014 17:11:50 +0000 (10:11 -0700)]
Clang does not recognize -Wno-literal-suffix.

BUG: 17258227
Change-Id: I2d98e68daa780fbe0e127605840ae7edcb4e9880

9 years agoam 18f23def: Merge "Push ISA features into system properties"
Calin Juravle [Tue, 26 Aug 2014 18:07:16 +0000 (18:07 +0000)]
am 18f23def: Merge "Push ISA features into system properties"

* commit '18f23def0e2cda7934c2aef71e2defc729726913':
  Push ISA features into system properties

9 years agoMerge "Push ISA features into system properties"
Calin Juravle [Tue, 26 Aug 2014 17:52:11 +0000 (17:52 +0000)]
Merge "Push ISA features into system properties"

9 years agoPush ISA features into system properties
Calin Juravle [Tue, 19 Aug 2014 19:28:08 +0000 (20:28 +0100)]
Push ISA features into system properties

We need to know instruction set featues at runtime as well so that the
apps get compiled on target with the proper features. The properties are
read by installd and passed to dex2oat.

Bug: 16716262

(cherry picked from commit 28be9d8884861f70fbd39b3768a6d4b34009deed)

Change-Id: I45b363558dea17e9b049e4a83a55990b4911d9d8

9 years agoam f1c63b02: Merge "Add GCC only flags to clang .mk files."
Chih-Hung Hsieh [Tue, 26 Aug 2014 02:12:56 +0000 (02:12 +0000)]
am f1c63b02: Merge "Add GCC only flags to clang .mk files."

* commit 'f1c63b0212f756355e4e189217858b8ae42c4e21':
  Add GCC only flags to clang .mk files.

9 years agoMerge "Add GCC only flags to clang .mk files."
Chih-Hung Hsieh [Tue, 26 Aug 2014 02:04:12 +0000 (02:04 +0000)]
Merge "Add GCC only flags to clang .mk files."

9 years agoAdd GCC only flags to clang .mk files.
Chih-Hung Hsieh [Mon, 25 Aug 2014 20:57:57 +0000 (13:57 -0700)]
Add GCC only flags to clang .mk files.

BUG: 17258227
Change-Id: Iec9fdb21a9fa31e18a17704beb27bb493c9b7192

9 years agoam d0015f71: Merge changes I152eb090,Ic40360bf
David 'Digit' Turner [Mon, 25 Aug 2014 10:25:32 +0000 (10:25 +0000)]
am d0015f71: Merge changes I152eb090,Ic40360bf

* commit 'd0015f7173d4bc2962d3c89b945e9c3bce5cb313':
  arm64: Fix the sdk_arm64 build products
  arm64: Fix aosp_arm64 system image.

9 years agoMerge changes I152eb090,Ic40360bf
David 'Digit' Turner [Mon, 25 Aug 2014 10:19:07 +0000 (10:19 +0000)]
Merge changes I152eb090,Ic40360bf

* changes:
  arm64: Fix the sdk_arm64 build products
  arm64: Fix aosp_arm64 system image.

10 years agoarm64: Fix the sdk_arm64 build products
David 'Digit' Turner [Wed, 20 Aug 2014 15:42:08 +0000 (17:42 +0200)]
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

10 years agoarm64: Fix aosp_arm64 system image.
David 'Digit' Turner [Wed, 20 Aug 2014 15:39:00 +0000 (17:39 +0200)]
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

10 years agoam d61f0ffd: Merge "HAVE_FUTEX is unused."
Elliott Hughes [Thu, 21 Aug 2014 05:08:47 +0000 (05:08 +0000)]
am d61f0ffd: Merge "HAVE_FUTEX is unused."

* commit 'd61f0ffdfc13ce7b563015ea5fdd4513fb7c9d59':
  HAVE_FUTEX is unused.

10 years agoMerge "HAVE_FUTEX is unused."
Elliott Hughes [Thu, 21 Aug 2014 04:59:53 +0000 (04:59 +0000)]
Merge "HAVE_FUTEX is unused."

10 years agoHAVE_FUTEX is unused.
Elliott Hughes [Thu, 21 Aug 2014 04:24:23 +0000 (21:24 -0700)]
HAVE_FUTEX is unused.

I missed this the other day.

Change-Id: Ifb6912de3aae6d03593ffb08d8d9555dc9e53f4d

10 years agoam a9ec8350: Merge "Remove HAVE_ANDROID_PTHREAD_SETNAME_NP."
Elliott Hughes [Thu, 21 Aug 2014 04:24:35 +0000 (04:24 +0000)]
am a9ec8350: Merge "Remove HAVE_ANDROID_PTHREAD_SETNAME_NP."

* commit 'a9ec8350b05d3c46656344876cee897616f84f00':
  Remove HAVE_ANDROID_PTHREAD_SETNAME_NP.

10 years agoam 10f5a420: Merge "HAVE_OPEN_MEMSTREAM is no longer used."
Elliott Hughes [Thu, 21 Aug 2014 04:24:34 +0000 (04:24 +0000)]
am 10f5a420: Merge "HAVE_OPEN_MEMSTREAM is no longer used."

* commit '10f5a420eba1504fda05ff1e6347f4e78bdba2d8':
  HAVE_OPEN_MEMSTREAM is no longer used.

10 years agoMerge "Remove HAVE_ANDROID_PTHREAD_SETNAME_NP."
Elliott Hughes [Thu, 21 Aug 2014 04:20:33 +0000 (04:20 +0000)]
Merge "Remove HAVE_ANDROID_PTHREAD_SETNAME_NP."

10 years agoMerge "HAVE_OPEN_MEMSTREAM is no longer used."
Elliott Hughes [Thu, 21 Aug 2014 04:16:48 +0000 (04:16 +0000)]
Merge "HAVE_OPEN_MEMSTREAM is no longer used."

10 years agoRemove HAVE_ANDROID_PTHREAD_SETNAME_NP.
Elliott Hughes [Thu, 21 Aug 2014 03:21:29 +0000 (20:21 -0700)]
Remove HAVE_ANDROID_PTHREAD_SETNAME_NP.

https://android-review.googlesource.com/104945 removes the only user.

Change-Id: I303d941036ab889ab747f26561506a5e1c93f0c2

10 years agoHAVE_OPEN_MEMSTREAM is no longer used.
Elliott Hughes [Wed, 20 Aug 2014 23:17:28 +0000 (16:17 -0700)]
HAVE_OPEN_MEMSTREAM is no longer used.

Bug: 17164505
Change-Id: I8055e52019d8cdea957d0fb8cbd46ca9b52564e1

10 years agoam df73a5fa: Merge "Performance improvement for whole static libs"
Dan Albert [Wed, 20 Aug 2014 21:22:42 +0000 (21:22 +0000)]
am df73a5fa: Merge "Performance improvement for whole static libs"

* commit 'df73a5fa0a9b44aa3a76dcf1dc7bc6606e7b367a':
  Performance improvement for whole static libs

10 years agoMerge "Performance improvement for whole static libs"
Dan Albert [Wed, 20 Aug 2014 21:15:25 +0000 (21:15 +0000)]
Merge "Performance improvement for whole static libs"

10 years agoPerformance improvement for whole static libs
Dan Albert [Fri, 23 May 2014 19:26:51 +0000 (12:26 -0700)]
Performance improvement for whole static libs

Improves performance for LOCAL_WHOLE_STATIC_LIBS by copying the first .a
to the new .a rather than extracting and recreating

Change-Id: Iecdb5e4bb2ce987bb41a70c3393d18a6d72ae689

10 years agoam 36ba1db4: Merge "Remove unused entries from AndroidConfig.h."
Elliott Hughes [Mon, 18 Aug 2014 19:38:37 +0000 (19:38 +0000)]
am 36ba1db4: Merge "Remove unused entries from AndroidConfig.h."

* commit '36ba1db405637ef97276103fced526f5e5d9e354':
  Remove unused entries from AndroidConfig.h.

10 years agoam be0af1f7: Merge "Strip my_clang on assignment."
Dan Albert [Mon, 18 Aug 2014 19:24:40 +0000 (19:24 +0000)]
am be0af1f7: Merge "Strip my_clang on assignment."

* commit 'be0af1f7fb4b4a52bf85f3be1e5b1e71ccfbc2c1':
  Strip my_clang on assignment.

10 years agoam f8d88579: Merge "Remove HAVE_GETTID."
Elliott Hughes [Mon, 18 Aug 2014 19:24:39 +0000 (19:24 +0000)]
am f8d88579: Merge "Remove HAVE_GETTID."

* commit 'f8d885793dd27a6b19eae59e99d32f2549227511':
  Remove HAVE_GETTID.

10 years agoMerge "Remove unused entries from AndroidConfig.h."
Elliott Hughes [Mon, 18 Aug 2014 19:29:30 +0000 (19:29 +0000)]
Merge "Remove unused entries from AndroidConfig.h."

10 years agoRemove unused entries from AndroidConfig.h.
Elliott Hughes [Mon, 18 Aug 2014 19:18:59 +0000 (12:18 -0700)]
Remove unused entries from AndroidConfig.h.

We should probably try to remove these files completely, but this at
least takes care of the stuff that's completely obsolete.

Change-Id: Ic71b7b491c119963068294e258dc6afe5a45b40d

10 years agoMerge "Strip my_clang on assignment."
Dan Albert [Mon, 18 Aug 2014 18:36:25 +0000 (18:36 +0000)]
Merge "Strip my_clang on assignment."

10 years agoStrip my_clang on assignment.
Dan Albert [Mon, 18 Aug 2014 18:14:38 +0000 (11:14 -0700)]
Strip my_clang on assignment.

There were a few cases that my_clang was being used without being
stripped. This was causing uses like the following to fail because it
would be partially applied (use clang as the compiler, but don't strip
out incompatible cflags).

    LOCAL_CLANG := true # explanation

To avoid this problem in the future, just strip my_clang when it is
assigned.

Change-Id: I41c2f36a4d4c3aa305a25b4a151c066dad5ffe0f

10 years agoMerge "Remove HAVE_GETTID."
Elliott Hughes [Mon, 18 Aug 2014 18:19:15 +0000 (18:19 +0000)]
Merge "Remove HAVE_GETTID."

10 years agoRemove HAVE_GETTID.
Elliott Hughes [Mon, 18 Aug 2014 17:49:12 +0000 (10:49 -0700)]
Remove HAVE_GETTID.

Bug: 17048545
Change-Id: Ib5b72ecb451a26cb393147a44601566400ca1dd6

10 years agoam ce9b58b1: Merge "Add compile time check for statically linked libc"
Dmitriy Ivanov [Fri, 15 Aug 2014 22:44:15 +0000 (22:44 +0000)]
am ce9b58b1: Merge "Add compile time check for statically linked libc"

* commit 'ce9b58b1e432f834e00e84592576f69923781dad':
  Add compile time check for statically linked libc

10 years agoMerge "Add compile time check for statically linked libc"
Dmitriy Ivanov [Fri, 15 Aug 2014 22:38:48 +0000 (22:38 +0000)]
Merge "Add compile time check for statically linked libc"

10 years agoAdd compile time check for statically linked libc
Dmitriy Ivanov [Fri, 15 Aug 2014 18:30:23 +0000 (11:30 -0700)]
Add compile time check for statically linked libc

Bug: 17047392

(cherry picked from commit 655d6851f308ad890193787a848b003685d3df9c)

Change-Id: Ia824137e690b9bca1688a7603254273a737ddcbb

10 years agoam 3c6e4910: Merge "Fix HOST_LIBRARY_PATH."
Ying Wang [Thu, 14 Aug 2014 20:03:23 +0000 (20:03 +0000)]
am 3c6e4910: Merge "Fix HOST_LIBRARY_PATH."

* commit '3c6e4910a6646e36425e5c6ea4b7cc4bee47b6ca':
  Fix HOST_LIBRARY_PATH.

10 years agoam 9c80e8a5: Merge "Apply TARGET_GLOBAL_LDFLAGS to transform-bc-to-so"
Ying Wang [Thu, 14 Aug 2014 02:08:06 +0000 (02:08 +0000)]
am 9c80e8a5: Merge "Apply TARGET_GLOBAL_LDFLAGS to transform-bc-to-so"

* commit '9c80e8a531f7bcfe42550aad12d2a8d7d4cb74f5':
  Apply TARGET_GLOBAL_LDFLAGS to transform-bc-to-so

10 years agoam b771d956: Merge "Add flag to enable default clang builds--USE_CLANG_PLATFORM_BUILD."
Tim Murray [Wed, 13 Aug 2014 19:34:37 +0000 (19:34 +0000)]
am b771d956: Merge "Add flag to enable default clang builds--USE_CLANG_PLATFORM_BUILD."

* commit 'b771d95605a9076591d769edc36d6a544c3639be':
  Add flag to enable default clang builds--USE_CLANG_PLATFORM_BUILD.

10 years agoMerge "Apply TARGET_GLOBAL_LDFLAGS to transform-bc-to-so"
Ying Wang [Thu, 14 Aug 2014 02:04:27 +0000 (02:04 +0000)]
Merge "Apply TARGET_GLOBAL_LDFLAGS to transform-bc-to-so"

10 years agoApply TARGET_GLOBAL_LDFLAGS to transform-bc-to-so
Ying Wang [Thu, 14 Aug 2014 01:47:50 +0000 (18:47 -0700)]
Apply TARGET_GLOBAL_LDFLAGS to transform-bc-to-so

This fixes mips unbundled build since we switched to mips64el toolchain
for both mips and mips64.
TODO: multilib build support.

Change-Id: I7add92d2cecfc3ab739785ceef6700240a25093a

10 years agoMerge "Add flag to enable default clang builds--USE_CLANG_PLATFORM_BUILD."
Tim Murray [Wed, 13 Aug 2014 19:30:19 +0000 (19:30 +0000)]
Merge "Add flag to enable default clang builds--USE_CLANG_PLATFORM_BUILD."

10 years agoAdd flag to enable default clang builds--USE_CLANG_PLATFORM_BUILD.
Tim Murray [Wed, 13 Aug 2014 18:53:07 +0000 (11:53 -0700)]
Add flag to enable default clang builds--USE_CLANG_PLATFORM_BUILD.

bug 17007253

Change-Id: Ib11c017bf8aee384e6780e2a1252221fbff3327a

10 years agoMerge "Fix HOST_LIBRARY_PATH."
Ying Wang [Thu, 14 Aug 2014 19:49:06 +0000 (19:49 +0000)]
Merge "Fix HOST_LIBRARY_PATH."