OSDN Git Service

android-x86/build.git
10 years agoam bc30611f: Merge "Vary non-image Xmx for dex2oat on MIPS."
Ian Rogers [Thu, 17 Jul 2014 12:30:33 +0000 (12:30 +0000)]
am bc30611f: Merge "Vary non-image Xmx for dex2oat on MIPS."

* commit 'bc30611f8e08361a41c7e78c799732a7f685e568':
  Vary non-image Xmx for dex2oat on MIPS.

10 years agoam e1caecfa: Merge "Fix the MIPS build."
Ying Wang [Thu, 17 Jul 2014 12:30:31 +0000 (12:30 +0000)]
am e1caecfa: Merge "Fix the MIPS build."

* commit 'e1caecfaa2c9b5165e5a0f31faac1b983b5d128a':
  Fix the MIPS build.

10 years agoMerge "Vary non-image Xmx for dex2oat on MIPS."
Ian Rogers [Thu, 17 Jul 2014 06:14:28 +0000 (06:14 +0000)]
Merge "Vary non-image Xmx for dex2oat on MIPS."

10 years agoVary non-image Xmx for dex2oat on MIPS.
Ian Rogers [Thu, 17 Jul 2014 05:25:35 +0000 (22:25 -0700)]
Vary non-image Xmx for dex2oat on MIPS.

The image Xmx is already fixed at 64m. The issue is in the non boot image case.

Change-Id: Idd508187ce8ac3d3c8dbe357c74bc33a5c8185dd

10 years agoMerge "Fix the MIPS build."
Ying Wang [Thu, 17 Jul 2014 01:12:36 +0000 (01:12 +0000)]
Merge "Fix the MIPS build."

10 years agoFix the MIPS build.
Ian Rogers [Thu, 17 Jul 2014 01:06:02 +0000 (18:06 -0700)]
Fix the MIPS build.

Use an override for the dex2oat Xmx value when cross-compiling.
Bug: 16221224

Change-Id: Iaeac95cd50a0bae7817ee7da23b3cf25246f1d6d

10 years agoam 15d00664: Merge "Revert "Fix Java detection on some Linux distributions""
Ying Wang [Tue, 15 Jul 2014 01:27:42 +0000 (01:27 +0000)]
am 15d00664: Merge "Revert "Fix Java detection on some Linux distributions""

* commit '15d00664884b9b8ce4766ab3a7fd15b83cbeaad9':
  Revert "Fix Java detection on some Linux distributions"

10 years agoMerge "Revert "Fix Java detection on some Linux distributions""
Ying Wang [Tue, 15 Jul 2014 01:23:49 +0000 (01:23 +0000)]
Merge "Revert "Fix Java detection on some Linux distributions""

10 years agoRevert "Fix Java detection on some Linux distributions"
Ying Wang [Tue, 15 Jul 2014 01:22:50 +0000 (01:22 +0000)]
Revert "Fix Java detection on some Linux distributions"

This reverts commit 09040dd8232f8fe588d938e04581ba1648f452f4.

Change-Id: Iafb126a6200e259f4176d903bacf8d3de28c6d97

10 years agoam c7f1389d: Merge "Fix Java detection on some Linux distributions"
Ying Wang [Mon, 14 Jul 2014 21:40:49 +0000 (21:40 +0000)]
am c7f1389d: Merge "Fix Java detection on some Linux distributions"

* commit 'c7f1389d2683be9068d22666b484e48abcff12f1':
  Fix Java detection on some Linux distributions

10 years agoam 60a0ba2b: Merge "Remove bcc from generic_no_telephony.mk."
Stephen Hines [Mon, 14 Jul 2014 20:29:47 +0000 (20:29 +0000)]
am 60a0ba2b: Merge "Remove bcc from generic_no_telephony.mk."

* commit '60a0ba2b345720313d1beb0421db57ece75c063c':
  Remove bcc from generic_no_telephony.mk.

10 years agoam fd5e704c: Merge "Add bcc into /system/bin."
Stephen Hines [Mon, 14 Jul 2014 20:29:46 +0000 (20:29 +0000)]
am fd5e704c: Merge "Add bcc into /system/bin."

* commit 'fd5e704c5683077e4c689d4a27769c034b48be7f':
  Add bcc into /system/bin.

10 years agoMerge "Fix Java detection on some Linux distributions"
Ying Wang [Mon, 14 Jul 2014 21:36:53 +0000 (21:36 +0000)]
Merge "Fix Java detection on some Linux distributions"

10 years agoMerge "Add bcc into /system/bin."
Stephen Hines [Mon, 14 Jul 2014 20:27:53 +0000 (20:27 +0000)]
Merge "Add bcc into /system/bin."

10 years agoAdd bcc into /system/bin.
leozwang [Sun, 13 Jul 2014 05:03:52 +0000 (22:03 -0700)]
Add bcc into /system/bin.

Bug: 16161758
Change-Id: I492f6780ecf7d18f291532fc934a80ff7ac643cf

10 years agoMerge "Remove bcc from generic_no_telephony.mk."
Stephen Hines [Mon, 14 Jul 2014 20:28:27 +0000 (20:28 +0000)]
Merge "Remove bcc from generic_no_telephony.mk."

10 years agoRemove bcc from generic_no_telephony.mk.
leozwang [Mon, 14 Jul 2014 17:28:38 +0000 (10:28 -0700)]
Remove bcc from generic_no_telephony.mk.

bcc was added into core_minimal.mk.

Change-Id: I29fa6eb3df0dada609e2f6b3e28ffd08d13c6afc

10 years agoFix Java detection on some Linux distributions
Bernhard Rosenkränzer [Mon, 14 Jul 2014 08:42:11 +0000 (10:42 +0200)]
Fix Java detection on some Linux distributions

On some Linux distributions (spotted here on OpenMandriva Lx, but I'm
pretty sure some others do the same thing), "which javac" returns
/usr/bin/javac, which is a symlink to "../../etc/alternatives/javac",
which in turn points at whatever the JDK the user picked as his default.

Given "../../etc/alternatives/javac" is a relative, symlink, the next
iteration of LSLINE=$(ls -l "$JAVAC") fails (no
../../etc/alternatives/java relative to the build directory), causing
tools.jar not to be found.

Using readlink -f should work in all cases (while also simplifying the
script a bit).

Change-Id: I96afcf8e6460861bf8bb849dae05c27c42b91e84
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
10 years agoam 6ff84956: Merge "Fix PIC default to be -fPIC"
Nick Kralevich [Fri, 11 Jul 2014 01:56:46 +0000 (01:56 +0000)]
am 6ff84956: Merge "Fix PIC default to be -fPIC"

* commit '6ff849568c94c53c8a722f71f33c1e688ebbed74':
  Fix PIC default to be -fPIC

10 years agoam ec5563b5: Merge "build: fix host dex2oat runtime args"
Colin Cross [Thu, 10 Jul 2014 06:33:08 +0000 (06:33 +0000)]
am ec5563b5: Merge "build: fix host dex2oat runtime args"

* commit 'ec5563b55146372fe33ebd4fc13661d811b77323':
  build: fix host dex2oat runtime args

10 years agoMerge "Fix PIC default to be -fPIC"
Nick Kralevich [Thu, 10 Jul 2014 17:27:20 +0000 (17:27 +0000)]
Merge "Fix PIC default to be -fPIC"

10 years agoam c4954f39: Merge "Don\'t enable LOCAL_DEX_PREOPT for apks outside system.img"
Ying Wang [Thu, 10 Jul 2014 00:08:18 +0000 (00:08 +0000)]
am c4954f39: Merge "Don\'t enable LOCAL_DEX_PREOPT for apks outside system.img"

* commit 'c4954f392e94f1877ab77ccef725a26c5d549ed1':
  Don't enable LOCAL_DEX_PREOPT for apks outside system.img

10 years agoam c35cc93d: Merge "Allow symlinks to device or vendor tree in envsetup.sh."
Ying Wang [Thu, 10 Jul 2014 00:08:13 +0000 (00:08 +0000)]
am c35cc93d: Merge "Allow symlinks to device or vendor tree in envsetup.sh."

* commit 'c35cc93d3b12880ae4de00ae9ef867ab91dbc412':
  Allow symlinks to device or vendor tree in envsetup.sh.

10 years agoMerge "Don't enable LOCAL_DEX_PREOPT for apks outside system.img"
Ying Wang [Wed, 9 Jul 2014 23:18:08 +0000 (23:18 +0000)]
Merge "Don't enable LOCAL_DEX_PREOPT for apks outside system.img"

10 years agoMerge "Allow symlinks to device or vendor tree in envsetup.sh."
Ying Wang [Wed, 9 Jul 2014 22:40:33 +0000 (22:40 +0000)]
Merge "Allow symlinks to device or vendor tree in envsetup.sh."

10 years agoAllow symlinks to device or vendor tree in envsetup.sh.
Ying Wang [Wed, 9 Jul 2014 22:37:34 +0000 (15:37 -0700)]
Allow symlinks to device or vendor tree in envsetup.sh.

Change-Id: I1190a0b1c84fa17b3692427eb6071ffbe84bc529

10 years agoDon't enable LOCAL_DEX_PREOPT for apks outside system.img
Ying Wang [Wed, 9 Jul 2014 17:57:32 +0000 (10:57 -0700)]
Don't enable LOCAL_DEX_PREOPT for apks outside system.img

Bug: 15621103
Change-Id: If267a4aaad17b66d9779169237e06d65d67f088f

10 years agoMerge "build: fix host dex2oat runtime args"
Colin Cross [Thu, 10 Jul 2014 06:10:50 +0000 (06:10 +0000)]
Merge "build: fix host dex2oat runtime args"

10 years agobuild: fix host dex2oat runtime args
Colin Cross [Thu, 10 Jul 2014 05:09:50 +0000 (22:09 -0700)]
build: fix host dex2oat runtime args

The dalvik.vm.* properties are in PRODUCT_DEFAULT_PROPERTY_OVERRIDES,
not PRODUCT_PROPERTY_OVERRIDES.
Use $(call func,args) for user defined functions
Prepend the property contents with -Xms or -Xmx when passing to
dex2oat.  This only worked before because DEX2OAT_XMS, etc. were blank
due to the first two  bugs, which resulted in --runtime-arg --runtime-arg
and anything starting with -- as the argument to --runtime-arg is
silently ignored.

Change-Id: Ifa30038b397355171fefcc5248eea033bb634036

10 years agoam 02a5b517: Merge "Make dex2oat heap size product configurable [build]"
Brian Carlstrom [Wed, 9 Jul 2014 12:21:56 +0000 (12:21 +0000)]
am 02a5b517: Merge "Make dex2oat heap size product configurable [build]"

* commit '02a5b51798b06434b08ffe2f6e6c485e73cd42bc':
  Make dex2oat heap size product configurable [build]

10 years agoam bc7501e1: Merge "More consistent use of 64-bit build variable."
Ying Wang [Wed, 9 Jul 2014 12:21:48 +0000 (12:21 +0000)]
am bc7501e1: Merge "More consistent use of 64-bit build variable."

* commit 'bc7501e10324caf1318769901d8a382d46be0b60':
  More consistent use of 64-bit build variable.

10 years agoMerge "Make dex2oat heap size product configurable [build]"
Brian Carlstrom [Wed, 9 Jul 2014 04:07:43 +0000 (04:07 +0000)]
Merge "Make dex2oat heap size product configurable [build]"

10 years agoMerge "More consistent use of 64-bit build variable."
Ying Wang [Wed, 9 Jul 2014 01:06:23 +0000 (01:06 +0000)]
Merge "More consistent use of 64-bit build variable."

10 years agoMore consistent use of 64-bit build variable.
Ying Wang [Wed, 9 Jul 2014 00:07:36 +0000 (17:07 -0700)]
More consistent use of 64-bit build variable.

Set up TARGET_IS_64_BIT and HOST_IS_64_BIT early so we don't need 2
mechanisms to judge if it's 64-bit build;
Remove the unnecessary 32-bit host variables.

Change-Id: I08d6d4d9ea70f91135fe2ee05463fb9a0d1cee42

10 years agoam af95db03: Merge "ADBS now uses stack_core code to parse traces."
Elliott Hughes [Tue, 8 Jul 2014 20:12:20 +0000 (20:12 +0000)]
am af95db03: Merge "ADBS now uses stack_core code to parse traces."

* commit 'af95db033de4808826fde12772a6d33a72dda608':
  ADBS now uses stack_core code to parse traces.

10 years agoam 3ffcf184: Merge "Remove -Bsymbolic from builds."
Dan Albert [Tue, 8 Jul 2014 18:51:44 +0000 (18:51 +0000)]
am 3ffcf184: Merge "Remove -Bsymbolic from builds."

* commit '3ffcf184bcb61bad78f3e503ca1760e64e4d30bb':
  Remove -Bsymbolic from builds.

10 years agoMake dex2oat heap size product configurable [build]
Brian Carlstrom [Tue, 8 Jul 2014 17:35:29 +0000 (10:35 -0700)]
Make dex2oat heap size product configurable [build]

Bug: 15919420
Change-Id: If92318a6e3d5b9c8c6a2d08a3371386fa5ad8f45

10 years agoMerge "Remove -Bsymbolic from builds."
Dan Albert [Tue, 8 Jul 2014 18:47:16 +0000 (18:47 +0000)]
Merge "Remove -Bsymbolic from builds."

10 years agoam 979d578e: Merge "Fix host java doc by referring to the correct classpath."
Ying Wang [Tue, 8 Jul 2014 00:43:42 +0000 (00:43 +0000)]
am 979d578e: Merge "Fix host java doc by referring to the correct classpath."

* commit '979d578ee40c0a7d3e25915049350a23165f7a5a':
  Fix host java doc by referring to the correct classpath.

10 years agoam d2aa51b8: Merge "Clean the last bit of LOCAL_BUILD_HOST_DEX."
Ying Wang [Tue, 8 Jul 2014 00:22:13 +0000 (00:22 +0000)]
am d2aa51b8: Merge "Clean the last bit of LOCAL_BUILD_HOST_DEX."

* commit 'd2aa51b8aee454baf96d8ac6d1997dd9450ae974':
  Clean the last bit of LOCAL_BUILD_HOST_DEX.

10 years agoMerge "ADBS now uses stack_core code to parse traces."
Elliott Hughes [Tue, 8 Jul 2014 20:06:09 +0000 (20:06 +0000)]
Merge "ADBS now uses stack_core code to parse traces."

10 years agoADBS now uses stack_core code to parse traces.
Brigid Smith [Tue, 1 Jul 2014 00:21:27 +0000 (17:21 -0700)]
ADBS now uses stack_core code to parse traces.

Change-Id: Ic1d822e2599fb0ad54dbe20d54e1dd6e3eaf18d6

10 years agoMerge "Fix host java doc by referring to the correct classpath."
Ying Wang [Tue, 8 Jul 2014 00:39:35 +0000 (00:39 +0000)]
Merge "Fix host java doc by referring to the correct classpath."

10 years agoFix host java doc by referring to the correct classpath.
Ying Wang [Mon, 7 Jul 2014 23:43:49 +0000 (16:43 -0700)]
Fix host java doc by referring to the correct classpath.

In droiddoc for host, we don't generate classes.jar for
LOCAL_JAVA_LIBRARIES. Switch to refer to the installed jar file instead.
This is consistent with how LOCAL_JAVA_LIBRARIES for host is handled in
base_rules.mk.

Bug: 9176318
Change-Id: If7460b30ca5da28743487d66da0029a44108d556

10 years agoMerge "Clean the last bit of LOCAL_BUILD_HOST_DEX."
Ying Wang [Tue, 8 Jul 2014 00:17:31 +0000 (00:17 +0000)]
Merge "Clean the last bit of LOCAL_BUILD_HOST_DEX."

10 years agoClean the last bit of LOCAL_BUILD_HOST_DEX.
Ying Wang [Tue, 8 Jul 2014 00:15:38 +0000 (17:15 -0700)]
Clean the last bit of LOCAL_BUILD_HOST_DEX.

Long live LOCAL_BUILD_HOST_DEX!

Change-Id: I8de23cfc78edc554606a2e1a8a955e8bc3ad02b0

10 years agoam 7b53bca0: Merge "Strip all multidex files, not just classes.dex"
Brian Carlstrom [Wed, 2 Jul 2014 16:39:23 +0000 (16:39 +0000)]
am 7b53bca0: Merge "Strip all multidex files, not just classes.dex"

* commit '7b53bca0b925bc9f47b51afba14c3c8f064eae81':
  Strip all multidex files, not just classes.dex

10 years agoam cc80f5a1: Merge "Fix partition_tag usage in install_jni_libs"
Ying Wang [Wed, 2 Jul 2014 16:15:35 +0000 (16:15 +0000)]
am cc80f5a1: Merge "Fix partition_tag usage in install_jni_libs"

* commit 'cc80f5a1ff4a8b751e36b7d1d5a3670f6ec12ba0':
  Fix partition_tag usage in install_jni_libs

10 years agoFix PIC default to be -fPIC
Pavel Chupin [Wed, 2 Jul 2014 09:52:21 +0000 (13:52 +0400)]
Fix PIC default to be -fPIC

-fPIC is more restrictive than -fPIE, but when "-fPIC -fPIE" used together
the latter overrides. It may lead to issues when building DSO where
-fPIC and not -fPIE is required.

For executables -fPIE -pie shoudld be added and it's fine to override
-fPIC as it is done now.

The reason why we don't have these issues so far is probably related to
-Bsymbolic added by default. But any attempt to remove it reveals these
problems:
https://android-review.googlesource.com/#/c/98061/

Change-Id: If0f10628b7cc41e564221a7a37298f7d65f859a8
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
10 years agoMerge "Fix partition_tag usage in install_jni_libs"
Ying Wang [Wed, 2 Jul 2014 16:12:10 +0000 (16:12 +0000)]
Merge "Fix partition_tag usage in install_jni_libs"

10 years agoFix partition_tag usage in install_jni_libs
Dan Willemsen [Wed, 2 Jul 2014 01:56:31 +0000 (18:56 -0700)]
Fix partition_tag usage in install_jni_libs

This was expanding to TARGET_VENDOR_OUT_SHARED_LIBRARIES which was
empty. It should be expanding to TARGET_OUT_VENDOR_SHARED_LIBRARIES.

Change-Id: I32fe22e3e0b91a6d41f6a09a33d3ce2e4061d078

10 years agoMerge "Strip all multidex files, not just classes.dex"
Brian Carlstrom [Wed, 2 Jul 2014 16:35:53 +0000 (16:35 +0000)]
Merge "Strip all multidex files, not just classes.dex"

10 years agoStrip all multidex files, not just classes.dex
Brian Carlstrom [Mon, 30 Jun 2014 17:09:56 +0000 (10:09 -0700)]
Strip all multidex files, not just classes.dex

Bug: 10447095
Change-Id: I6053ca97cb0e28621262a385d57c0996e7c1aaab

10 years agoam 4b539d15: Merge "More consistent host library path in multilib build."
Ying Wang [Tue, 1 Jul 2014 00:22:30 +0000 (00:22 +0000)]
am 4b539d15: Merge "More consistent host library path in multilib build."

* commit '4b539d1533a5d8647e5f54b0a41b2a49d7f4c785':
  More consistent host library path in multilib build.

10 years agoam 4b7ba417: Merge "Add -Wl,--fatal-warnings to x86_64."
Elliott Hughes [Mon, 30 Jun 2014 22:53:49 +0000 (22:53 +0000)]
am 4b7ba417: Merge "Add -Wl,--fatal-warnings to x86_64."

* commit '4b7ba41704a8f028ffdf9f2c8bff57d9d4055f93':
  Add -Wl,--fatal-warnings to x86_64.

10 years agoMerge "More consistent host library path in multilib build."
Ying Wang [Tue, 1 Jul 2014 00:16:30 +0000 (00:16 +0000)]
Merge "More consistent host library path in multilib build."

10 years agoMore consistent host library path in multilib build.
Ying Wang [Tue, 1 Jul 2014 00:06:21 +0000 (17:06 -0700)]
More consistent host library path in multilib build.

In 64-bit multilib host build, changed from
32-bit lib: out/host/<platform>/lib32
64-bit lib: out/host/<platform>/lib
to
32-bit lib: out/host/<platform>/lib
64-bit lib: out/host/<platform>/lib64
.
That way the host library path is consistent with the multilib target
build's. Also with this change prebuilt 32-bit libraries can be reused
in 64-bit host build as 2nd arch binaries. (With previous setup, they
can't be used because they have rpath ../lib in it while the 2nd arch
library path needs ../lib32.

Change-Id: I020199d0c7dd52cdc8dcb7d3a1d22cd6178672e1

10 years agoam 51254e6c: Merge "Fix missing rs_compatibility_jni_libs."
Ying Wang [Mon, 30 Jun 2014 18:25:37 +0000 (18:25 +0000)]
am 51254e6c: Merge "Fix missing rs_compatibility_jni_libs."

* commit '51254e6c6065c0c771886472853e6dbc5377c6ae':
  Fix missing rs_compatibility_jni_libs.

10 years agoam dc58c2a6: Merge "Remove nonexistent from /buildbot/automergers/mirror-aosp-master...
Ying Wang [Mon, 30 Jun 2014 17:32:05 +0000 (17:32 +0000)]
am dc58c2a6: Merge "Remove nonexistent  from /buildbot/automergers/mirror-aosp-master-to-stage-aosp-master/.repo/repo:/buildbot/automergers/mirror-aosp-master-to-stage-aosp-master/.repo/repo:/buildbot/automergers/mirror-aosp-master-to-stage-aosp-master/.repo/repo:/usr/lib/google-golang/bin:/usr/local/buildtools/java/jdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/buildbot/automergers:/buildbot/automergers."

* commit 'dc58c2a6c216577110682521fa787fd9640cc89d':
  Remove nonexistent $ANDROID_QTOOLS from $PATH.

10 years agoam 7634e413: Merge "Host support for prefer symlink"
Ian Rogers [Sat, 28 Jun 2014 00:30:43 +0000 (00:30 +0000)]
am 7634e413: Merge "Host support for prefer symlink"

* commit '7634e4136fee6c7a02f4a343072400ba575c0051':
  Host support for prefer symlink

10 years agoMerge "Fix missing rs_compatibility_jni_libs."
Ying Wang [Mon, 30 Jun 2014 18:21:22 +0000 (18:21 +0000)]
Merge "Fix missing rs_compatibility_jni_libs."

10 years agoFix missing rs_compatibility_jni_libs.
Ying Wang [Mon, 30 Jun 2014 18:17:16 +0000 (11:17 -0700)]
Fix missing rs_compatibility_jni_libs.

Bug: 15935150
Change-Id: I2971bcf4a9fa96e7a5098a759ecc67ba4f565b6c

10 years agoMerge "Remove nonexistent $ANDROID_QTOOLS from $PATH."
Ying Wang [Mon, 30 Jun 2014 17:27:07 +0000 (17:27 +0000)]
Merge "Remove nonexistent $ANDROID_QTOOLS from $PATH."

10 years agoRemove nonexistent $ANDROID_QTOOLS from $PATH.
Ying Wang [Mon, 30 Jun 2014 17:25:33 +0000 (10:25 -0700)]
Remove nonexistent $ANDROID_QTOOLS from $PATH.

Bug: 15983070
Change-Id: Id3807a6dabd616ae06aafc2b894c1858e4400e26

10 years agoMerge "Host support for prefer symlink"
Ian Rogers [Sat, 28 Jun 2014 00:26:33 +0000 (00:26 +0000)]
Merge "Host support for prefer symlink"

10 years agoHost support for prefer symlink
Ian Rogers [Wed, 25 Jun 2014 07:04:30 +0000 (00:04 -0700)]
Host support for prefer symlink

We need a host symlink for dalvik, our *-dalvik-host build targets
are failing.

Change-Id: I6045de20c948b456a150033deb3459895aff83c6

10 years agoam e1b43254: Merge "Add --pseudo-localize aapt parameter for builds."
Ying Wang [Fri, 27 Jun 2014 16:14:30 +0000 (16:14 +0000)]
am e1b43254: Merge "Add --pseudo-localize aapt parameter for builds."

* commit 'e1b43254b72613e6bf9ac994c1b3f07e0020ed9c':
  Add --pseudo-localize aapt parameter for builds.

10 years agoMerge "Add -Wl,--fatal-warnings to x86_64."
Elliott Hughes [Mon, 30 Jun 2014 22:48:54 +0000 (22:48 +0000)]
Merge "Add -Wl,--fatal-warnings to x86_64."

10 years agoAdd -Wl,--fatal-warnings to x86_64.
Elliott Hughes [Mon, 30 Jun 2014 21:52:30 +0000 (14:52 -0700)]
Add -Wl,--fatal-warnings to x86_64.

Bug: 11358761
Change-Id: I0c86a2ce3f95e89cc6c6eed65f3595922a90f45f

10 years agoMerge "Add --pseudo-localize aapt parameter for builds."
Ying Wang [Fri, 27 Jun 2014 16:09:37 +0000 (16:09 +0000)]
Merge "Add --pseudo-localize aapt parameter for builds."

10 years agoAdd --pseudo-localize aapt parameter for builds.
Igor Viarheichyk [Thu, 26 Jun 2014 21:56:21 +0000 (14:56 -0700)]
Add --pseudo-localize aapt parameter for builds.

Some packages can override list of locales with
LOCAL_AAPT_INCLUDE_ALL_RESOURCES parameter, disabling
pseudolocalization. Adding new --pseudo-localize flag to
aapt if pseudo-locales are specified in product locales
list solves this issue.

Change-Id: Iae705d4fe99453650339fd1ca65d1005671b3e4f

10 years agoam 432cd6dd: Merge "Allow LOCAL_RESOURCE_DIR pointing to dir generated during the...
Ying Wang [Wed, 25 Jun 2014 22:58:11 +0000 (22:58 +0000)]
am 432cd6dd: Merge "Allow LOCAL_RESOURCE_DIR pointing to dir generated during the build"

* commit '432cd6dd78afe9c23cd0ddf669e4f0f973a17a7c':
  Allow LOCAL_RESOURCE_DIR pointing to dir generated during the build

10 years agoam e69d4350: Merge "Support to add JNI of both archs in multilib build."
Ying Wang [Wed, 25 Jun 2014 18:37:53 +0000 (18:37 +0000)]
am e69d4350: Merge "Support to add JNI of both archs in multilib build."

* commit 'e69d4350cd4af04349b703ba169ba516a96913ba':
  Support to add JNI of both archs in multilib build.

10 years agoMerge "Allow LOCAL_RESOURCE_DIR pointing to dir generated during the build"
Ying Wang [Wed, 25 Jun 2014 22:53:17 +0000 (22:53 +0000)]
Merge "Allow LOCAL_RESOURCE_DIR pointing to dir generated during the build"

10 years agoAllow LOCAL_RESOURCE_DIR pointing to dir generated during the build
Ying Wang [Wed, 25 Jun 2014 20:23:58 +0000 (13:23 -0700)]
Allow LOCAL_RESOURCE_DIR pointing to dir generated during the build

Bug: 15850610
Change-Id: I46b98adb556d8e6bf166761f8bb240006dbe5b14

10 years agoMerge "Support to add JNI of both archs in multilib build."
Ying Wang [Wed, 25 Jun 2014 18:33:51 +0000 (18:33 +0000)]
Merge "Support to add JNI of both archs in multilib build."

10 years agoSupport to add JNI of both archs in multilib build.
Ying Wang [Wed, 25 Jun 2014 03:01:52 +0000 (20:01 -0700)]
Support to add JNI of both archs in multilib build.

Use "LOCAL_MULTILIB := both" to install jni libraries of both archs in
multilib build.
The build system will package jni of both archs to the apk, or install
them to the right location on the system image and create symlinks,
extract .so files from prebuilt apk, etc if appropriate.

Bug: 15849902
Change-Id: I7e147b5a47db476584c38250de7b36c75ea40d81

10 years agoam b0c6ea9f: Merge "Invoke debuggerd64 when appropriate with stacks."
Michael Wright [Wed, 25 Jun 2014 01:30:40 +0000 (01:30 +0000)]
am b0c6ea9f: Merge "Invoke debuggerd64 when appropriate with stacks."

* commit 'b0c6ea9f290261c12b6cb127b7bcd53f8ecc2d60':
  Invoke debuggerd64 when appropriate with stacks.

10 years agoam b00bb2d8: Merge "Resolve :32 to 32-bit variant only if the variant exists."
Ying Wang [Tue, 24 Jun 2014 18:17:52 +0000 (18:17 +0000)]
am b00bb2d8: Merge "Resolve :32 to 32-bit variant only if the variant exists."

* commit 'b00bb2d865c21a446d94422346e1bb0fdbc9ba29':
  Resolve :32 to 32-bit variant only if the variant exists.

10 years agoam eb12847b: Merge "Switch another reference from core to core-libart"
Ying Wang [Tue, 24 Jun 2014 06:53:20 +0000 (06:53 +0000)]
am eb12847b: Merge "Switch another reference from core to core-libart"

* commit 'eb12847b332831e31a3cf7e2f89bd10fd626d7d5':
  Switch another reference from core to core-libart

10 years agoMerge "Switch another reference from core to core-libart"
Ying Wang [Mon, 23 Jun 2014 22:44:38 +0000 (22:44 +0000)]
Merge "Switch another reference from core to core-libart"

10 years agoSwitch another reference from core to core-libart
Brian Carlstrom [Mon, 23 Jun 2014 22:34:17 +0000 (15:34 -0700)]
Switch another reference from core to core-libart

Bug: 14298175
Change-Id: I37dc7d5bc63d967db4b3cb8aee695a40b12a8c8d

10 years agoMerge "Invoke debuggerd64 when appropriate with stacks."
Michael Wright [Wed, 25 Jun 2014 01:25:49 +0000 (01:25 +0000)]
Merge "Invoke debuggerd64 when appropriate with stacks."

10 years agoInvoke debuggerd64 when appropriate with stacks.
Michael Wright [Fri, 20 Jun 2014 02:58:12 +0000 (19:58 -0700)]
Invoke debuggerd64 when appropriate with stacks.

Read out the ELF header to see if the executable is 64-bit or 32-bit,
then call the appropriate debuggerd. In bash. Ugh.

Change-Id: I6550fe92e775659cd0370bcb70f40dd59238ad8f

10 years agoMerge "Resolve :32 to 32-bit variant only if the variant exists."
Ying Wang [Tue, 24 Jun 2014 18:12:47 +0000 (18:12 +0000)]
Merge "Resolve :32 to 32-bit variant only if the variant exists."

10 years agoResolve :32 to 32-bit variant only if the variant exists.
Ying Wang [Tue, 24 Jun 2014 17:22:17 +0000 (10:22 -0700)]
Resolve :32 to 32-bit variant only if the variant exists.

Otherwise we just use the original module name.
With this change :32 in 32-bit product configuration will be installed
as expected.

Change-Id: Ibbbf3e8807a17b47f4259c00000a63336bc02f92

10 years agoam c04b4455: Merge "Updated gdbclient path support."
Elliott Hughes [Mon, 23 Jun 2014 19:44:23 +0000 (19:44 +0000)]
am c04b4455: Merge "Updated gdbclient path support."

* commit 'c04b4455689280fad51d48a5587fd93aa8980d01':
  Updated gdbclient path support.

10 years agoam 6a8b3b43: Merge " delete duplicate variable definition"
Ying Wang [Mon, 23 Jun 2014 16:54:01 +0000 (16:54 +0000)]
am 6a8b3b43: Merge " delete duplicate variable definition"

* commit '6a8b3b43bbc99f23439ae32c0ec1180d5586b773':
  delete duplicate variable definition

10 years agoMerge "Updated gdbclient path support."
Elliott Hughes [Mon, 23 Jun 2014 18:47:25 +0000 (18:47 +0000)]
Merge "Updated gdbclient path support."

10 years agoUpdated gdbclient path support.
Brigid Smith [Fri, 20 Jun 2014 21:12:12 +0000 (14:12 -0700)]
Updated gdbclient path support.

Now gdbclient accepts a fully qualified pathname for EXEs, which it will
not modify, or a relative pathname, to which it will prefix
"/system/bin".  As an example, each of the following now works.

Fully qualified:
adb shell gdbserver :5039 /system/bin/ping
bg
gdbclient /system/bin/ping :5039 /system/bin/ping

Relative:
adb shell gdbserver :5039 /system/bin/ping
bg
gdbclient ping :5039 /system/bin/ping

Change-Id: I1e4c9fca64c4fbc52c255271cc7f83f35c258509

10 years agoMerge " delete duplicate variable definition"
Ying Wang [Mon, 23 Jun 2014 16:51:26 +0000 (16:51 +0000)]
Merge " delete duplicate variable definition"

10 years agoam e0be9135: Merge "Bump BOARD_SYSTEMIMAGE_PARTITION_SIZE for generic_x86_64"
Brian Carlstrom [Fri, 20 Jun 2014 20:58:52 +0000 (20:58 +0000)]
am e0be9135: Merge "Bump BOARD_SYSTEMIMAGE_PARTITION_SIZE for generic_x86_64"

* commit 'e0be9135a249ee5d60c6b897e7d538b1afb94b29':
  Bump BOARD_SYSTEMIMAGE_PARTITION_SIZE for generic_x86_64

10 years agoam 85fe1439: (-s ours) Merge "Restore AOSP-style version numbers - DO NOT MERGE"
Bill Yi [Fri, 20 Jun 2014 18:29:59 +0000 (18:29 +0000)]
am 85fe1439: (-s ours) Merge "Restore AOSP-style version numbers - DO NOT MERGE"

* commit '85fe14395b8bbc5b44383c1705f60bfdc12c61cf':
  Restore AOSP-style version numbers - DO NOT MERGE

10 years agoMerge "Bump BOARD_SYSTEMIMAGE_PARTITION_SIZE for generic_x86_64"
Brian Carlstrom [Fri, 20 Jun 2014 20:55:58 +0000 (20:55 +0000)]
Merge "Bump BOARD_SYSTEMIMAGE_PARTITION_SIZE for generic_x86_64"

10 years agoBump BOARD_SYSTEMIMAGE_PARTITION_SIZE for generic_x86_64
Brian Carlstrom [Fri, 20 Jun 2014 20:09:25 +0000 (13:09 -0700)]
Bump BOARD_SYSTEMIMAGE_PARTITION_SIZE for generic_x86_64

Change-Id: Ia856159017f6228dbfd5a7100e3731b82e6e8fe4

10 years agoMerge "Restore AOSP-style version numbers - DO NOT MERGE"
Bill Yi [Fri, 20 Jun 2014 17:54:09 +0000 (17:54 +0000)]
Merge "Restore AOSP-style version numbers - DO NOT MERGE"

10 years agoam 17c6426e: Merge "Document the worker_threads option."
Ying Wang [Thu, 19 Jun 2014 17:11:59 +0000 (17:11 +0000)]
am 17c6426e: Merge "Document the worker_threads option."

* commit '17c6426e75ef46238f5866f9a9295db4a95f21b5':
  Document the worker_threads option.

10 years agoam fa63e306: Merge "Fix the CTS build now that core is gone"
Neil Fuller [Thu, 19 Jun 2014 10:34:02 +0000 (10:34 +0000)]
am fa63e306: Merge "Fix the CTS build now that core is gone"

* commit 'fa63e30605ff723cfef493540553dabdf0440339':
  Fix the CTS build now that core is gone

10 years agoRestore AOSP-style version numbers - DO NOT MERGE
Bill Yi [Thu, 19 Jun 2014 07:22:38 +0000 (00:22 -0700)]
Restore AOSP-style version numbers - DO NOT MERGE

10 years agoam dab766a7: Merge "Switch from core to core-libart"
Brian Carlstrom [Thu, 19 Jun 2014 02:14:26 +0000 (02:14 +0000)]
am dab766a7: Merge "Switch from core to core-libart"

* commit 'dab766a7312b1313c89930b5307f33f0baec1549':
  Switch from core to core-libart