OSDN Git Service

android-x86/build.git
9 years agoDisable transitive symbol resolving for arm64.
Ying Wang [Sat, 20 Dec 2014 00:37:46 +0000 (16:37 -0800)]
Disable transitive symbol resolving for arm64.

The transitive symbol resolving causes build breakage when a binary
has indirect dependency on the NDK library.
We only observed such behaviour in the aarch64 toolchain.

Change-Id: I29e01f16bdfa3aa206cd42d6f07c764fd436873a

9 years agoMerge "Remove libdvm support from the core build system."
Ying Wang [Tue, 16 Dec 2014 21:38:40 +0000 (21:38 +0000)]
Merge "Remove libdvm support from the core build system."

9 years agoMerge "Remove obsolete PRODUCT_DEX_PREOPT_.*_IN_DATA"
Brian Carlstrom [Tue, 16 Dec 2014 18:53:34 +0000 (18:53 +0000)]
Merge "Remove obsolete PRODUCT_DEX_PREOPT_.*_IN_DATA"

9 years agoRemove libdvm support from the core build system.
Ying Wang [Mon, 8 Dec 2014 22:46:29 +0000 (14:46 -0800)]
Remove libdvm support from the core build system.

Now libart is the only supported runtime and
we don't need the build variables PRODUCT_RUNTIMES and
DALVIK_VM_LIB.

Bug: 18465297
Change-Id: Ibfda931cde0649163d79b584fb5ccad927a9bc2b

9 years agoRemove obsolete PRODUCT_DEX_PREOPT_.*_IN_DATA
Brian Carlstrom [Tue, 16 Dec 2014 06:09:58 +0000 (22:09 -0800)]
Remove obsolete PRODUCT_DEX_PREOPT_.*_IN_DATA

Bug: 18673991
Change-Id: I64261ef6a37df92eeef8552b8fd0a67157e4a034

9 years agoMerge "Remove HAVE_SCHED_H."
Elliott Hughes [Mon, 15 Dec 2014 17:18:18 +0000 (17:18 +0000)]
Merge "Remove HAVE_SCHED_H."

9 years agoRemove HAVE_SCHED_H.
Elliott Hughes [Mon, 15 Dec 2014 00:55:11 +0000 (16:55 -0800)]
Remove HAVE_SCHED_H.

Change-Id: I1308b90c4b33d0ab1a01de44bebba03687217f2b

9 years agoMerge "Remove unused OS_SHARED_LIB_FORMAT_STR."
Elliott Hughes [Sat, 13 Dec 2014 18:51:23 +0000 (18:51 +0000)]
Merge "Remove unused OS_SHARED_LIB_FORMAT_STR."

9 years agoRemove unused OS_SHARED_LIB_FORMAT_STR.
Elliott Hughes [Fri, 12 Dec 2014 23:54:56 +0000 (15:54 -0800)]
Remove unused OS_SHARED_LIB_FORMAT_STR.

Change-Id: Ibaaf112c5a6bfe2084fe34e32e31bcd755e718a8

9 years agoMerge "Add a SANITIZE_HOST flag."
Dan Albert [Mon, 8 Dec 2014 19:07:33 +0000 (19:07 +0000)]
Merge "Add a SANITIZE_HOST flag."

9 years agoMerge "Let clang decide ASan linker flags for the host."
Dan Albert [Mon, 8 Dec 2014 19:06:01 +0000 (19:06 +0000)]
Merge "Let clang decide ASan linker flags for the host."

9 years agoAdd a SANITIZE_HOST flag.
Dan Albert [Fri, 31 Oct 2014 23:23:08 +0000 (16:23 -0700)]
Add a SANITIZE_HOST flag.

We had discussed the idea of making all host tools default to using
ASAN. Even if we don't make it the default, this makes it easy for the
user to switch all host binaries over.

Change-Id: I64a5c741b1b4e9aefed3a6be8dcd4f386e06b29c

9 years agoLet clang decide ASan linker flags for the host.
Dan Albert [Sat, 15 Nov 2014 01:15:00 +0000 (17:15 -0800)]
Let clang decide ASan linker flags for the host.

Pass -fsanitize=address instead of manually specifying asan libraries
and other linker flags.

Note that we enable LOCAL_ALLOW_UNDEFINED_SYMBOLS by default for host
builds because ASAN only links symbols in the final executable, so
there will _always_ be undefined symbols in intermediate libraries.

Bug: 18208352
Change-Id: Ief55ab296e94974560eeb10507ec8d90f0025d5c

9 years agoMerge "Upgrade gcc compiler for arm build from 4.8 to 4.9"
Rong Xu [Fri, 5 Dec 2014 19:14:15 +0000 (19:14 +0000)]
Merge "Upgrade gcc compiler for arm build from 4.8 to 4.9"

9 years agoMerge "bionic doesn't implement _FILE_OFFSET_BITS."
Elliott Hughes [Fri, 5 Dec 2014 19:05:42 +0000 (19:05 +0000)]
Merge "bionic doesn't implement _FILE_OFFSET_BITS."

9 years agoMerge "Darwin has never had a 32-bit off_t."
Elliott Hughes [Fri, 5 Dec 2014 19:05:03 +0000 (19:05 +0000)]
Merge "Darwin has never had a 32-bit off_t."

9 years agoDarwin has never had a 32-bit off_t.
Elliott Hughes [Fri, 5 Dec 2014 19:03:56 +0000 (11:03 -0800)]
Darwin has never had a 32-bit off_t.

Change-Id: Ifa48fab99d73fb532afc56d235b7397e05c0fc6a

9 years agobionic doesn't implement _FILE_OFFSET_BITS.
Elliott Hughes [Fri, 5 Dec 2014 19:01:43 +0000 (11:01 -0800)]
bionic doesn't implement _FILE_OFFSET_BITS.

Change-Id: Iec9978e0bb69585dde69593402d53309e0ecb662

9 years agoMerge "Remove ARCH_X86."
Elliott Hughes [Fri, 5 Dec 2014 18:57:28 +0000 (18:57 +0000)]
Merge "Remove ARCH_X86."

9 years agoMerge "Remove ARCH_ARM."
Elliott Hughes [Fri, 5 Dec 2014 18:55:19 +0000 (18:55 +0000)]
Merge "Remove ARCH_ARM."

9 years agoUpgrade gcc compiler for arm build from 4.8 to 4.9
Rong Xu [Thu, 4 Dec 2014 00:27:20 +0000 (16:27 -0800)]
Upgrade gcc compiler for arm build from 4.8 to 4.9

Change-Id: Id85c56452a478ea94bdb6ea2b990c3b46a81eed9

9 years agoRemove ARCH_X86.
Elliott Hughes [Fri, 5 Dec 2014 00:39:30 +0000 (16:39 -0800)]
Remove ARCH_X86.

Change-Id: I832247bec22f23666f14dfb715192ada201ab097

9 years agoRemove ARCH_ARM.
Elliott Hughes [Fri, 5 Dec 2014 00:29:20 +0000 (16:29 -0800)]
Remove ARCH_ARM.

Change-Id: Ic3014aa01f82204b75c54ab3f7afa3a44890e02e

9 years agoMerge "Switch to Clang 3.6."
Stephen Hines [Thu, 4 Dec 2014 02:59:20 +0000 (02:59 +0000)]
Merge "Switch to Clang 3.6."

9 years agoSwitch to Clang 3.6.
Stephen Hines [Wed, 26 Nov 2014 08:57:34 +0000 (00:57 -0800)]
Switch to Clang 3.6.

This change also defaults C compilations with clang to gnu99, and turns off
the -Winconsistent-missing-override flag, since we need further cleanup to
turn it on. -finline-functions is an unnecessary flag that only gcc needs.

Change-Id: I1cfcaedca32d9e3c248a6aa9460603205901c491

9 years agoMerge "Rename core/combo/arch/x86/x86-atom.mk to core/combo/arch/x86/atom.mk."
Elliott Hughes [Wed, 3 Dec 2014 20:09:38 +0000 (20:09 +0000)]
Merge "Rename core/combo/arch/x86/x86-atom.mk to core/combo/arch/x86/atom.mk."

9 years agoRename core/combo/arch/x86/x86-atom.mk to core/combo/arch/x86/atom.mk.
Alexander Ivchenko [Wed, 3 Dec 2014 14:00:21 +0000 (17:00 +0300)]
Rename core/combo/arch/x86/x86-atom.mk to core/combo/arch/x86/atom.mk.

Otherwise wrong set of memory/string functions is chosen when building atom
image (in Bionic we have libc/arch-x86/atom/atom.mk). Plus this naming is
consistent with other x86 architectures.

Change-Id: I21e899534e7ce10530474a22ceba770422b39d8d
Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
9 years agoMerge "Fix a preprocessor warning exposed by -Wundef."
Stephen Hines [Tue, 2 Dec 2014 19:25:18 +0000 (19:25 +0000)]
Merge "Fix a preprocessor warning exposed by -Wundef."

9 years agoFix a preprocessor warning exposed by -Wundef.
Stephen Hines [Tue, 2 Dec 2014 19:17:07 +0000 (11:17 -0800)]
Fix a preprocessor warning exposed by -Wundef.

Bug: 18589470

__LP64__ is only defined for 64-bit compilation targets, so this macro
is evaluated as an implicit 0 in the original case. This change makes
it explicit that we only care whether this is actually defined.

Change-Id: I8c11b41fc0bde9477c5efeea0782d9741d9d827d

9 years agoMerge "Remove unused BUILD_RAW_EXECUTABLE and BUILD_RAW_STATIC_LIBRARY."
Elliott Hughes [Tue, 2 Dec 2014 18:42:23 +0000 (18:42 +0000)]
Merge "Remove unused BUILD_RAW_EXECUTABLE and BUILD_RAW_STATIC_LIBRARY."

9 years agoMerge "Add more support for GLOBAL_CONLYFLAGS."
Stephen Hines [Tue, 2 Dec 2014 18:35:17 +0000 (18:35 +0000)]
Merge "Add more support for GLOBAL_CONLYFLAGS."

9 years agoMerge "Don't set up the prebuilt apk rule twice."
Ying Wang [Tue, 2 Dec 2014 17:31:44 +0000 (17:31 +0000)]
Merge "Don't set up the prebuilt apk rule twice."

9 years agoRemove unused BUILD_RAW_EXECUTABLE and BUILD_RAW_STATIC_LIBRARY.
Elliott Hughes [Tue, 2 Dec 2014 04:53:11 +0000 (20:53 -0800)]
Remove unused BUILD_RAW_EXECUTABLE and BUILD_RAW_STATIC_LIBRARY.

Change-Id: I1ba79197f3b9bb446ab34612bac8eb9485438709

9 years agoDon't set up the prebuilt apk rule twice.
Ying Wang [Mon, 1 Dec 2014 23:56:19 +0000 (15:56 -0800)]
Don't set up the prebuilt apk rule twice.

For apps, we don't want to set up the prebuilt apk rule twice even if
"LOCAL_MULTILIB := both", which for apps really means to set up only the
jni library rules twice. See also build/core/install_jni_libs.mk.

Change-Id: Id0406c3c605c6ede613dba06178a1710590c09b3

9 years agoAdd more support for GLOBAL_CONLYFLAGS.
Stephen Hines [Wed, 26 Nov 2014 08:53:46 +0000 (00:53 -0800)]
Add more support for GLOBAL_CONLYFLAGS.

This will be necessary to support -std=gnu99 mode for clang 3.6, which
defaults to C11 mode (unlike prior releases that use C99).

Change-Id: Iea84582f9f12ba76b988463cbc0a20bd61042538

9 years agoMerge "Fix a typo in my_cppflags assignment."
Dan Albert [Mon, 1 Dec 2014 17:59:44 +0000 (17:59 +0000)]
Merge "Fix a typo in my_cppflags assignment."

9 years agoFix a typo in my_cppflags assignment.
Dan Albert [Fri, 28 Nov 2014 22:00:12 +0000 (14:00 -0800)]
Fix a typo in my_cppflags assignment.

Make strikes once again...

Change-Id: I295b4157fc7566b1a2cb925b06918dc0a96a7bce

9 years agoMerge "Remove HAVE_SYS_UIO_H."
Elliott Hughes [Wed, 26 Nov 2014 00:15:36 +0000 (00:15 +0000)]
Merge "Remove HAVE_SYS_UIO_H."

9 years agoRemove HAVE_SYS_UIO_H.
Elliott Hughes [Tue, 25 Nov 2014 21:59:21 +0000 (13:59 -0800)]
Remove HAVE_SYS_UIO_H.

Change-Id: I4f401900285e166486bb426ac02bc69fc5509a3c

9 years agoMerge "Remove unused HAVE_STDBOOL_H."
Elliott Hughes [Tue, 25 Nov 2014 21:15:56 +0000 (21:15 +0000)]
Merge "Remove unused HAVE_STDBOOL_H."

9 years agoRemove unused HAVE_STDBOOL_H.
Elliott Hughes [Tue, 25 Nov 2014 20:22:43 +0000 (12:22 -0800)]
Remove unused HAVE_STDBOOL_H.

Change-Id: I0072847719566e9622ec9765673fdeb8be9eb5ef

9 years agoMerge "Make gnu++11 the default standard version."
Dan Albert [Tue, 25 Nov 2014 18:36:04 +0000 (18:36 +0000)]
Merge "Make gnu++11 the default standard version."

9 years agoMerge "Kill unused HAVE_WRITEV."
Elliott Hughes [Tue, 25 Nov 2014 18:35:46 +0000 (18:35 +0000)]
Merge "Kill unused HAVE_WRITEV."

9 years agoKill unused HAVE_WRITEV.
Elliott Hughes [Tue, 25 Nov 2014 18:30:55 +0000 (10:30 -0800)]
Kill unused HAVE_WRITEV.

Change-Id: I6e4df2449b27d67f207fc53b19e49b21f9cee611

9 years agoMerge "Revert "Use PRIVATE_POST_INSTALL_CMD to simplify executable_prefer_symlink...
Nicolas Geoffray [Tue, 25 Nov 2014 14:22:36 +0000 (14:22 +0000)]
Merge "Revert "Use PRIVATE_POST_INSTALL_CMD to simplify executable_prefer_symlink.mk""

9 years agoRevert "Use PRIVATE_POST_INSTALL_CMD to simplify executable_prefer_symlink.mk"
Nicolas Geoffray [Tue, 25 Nov 2014 12:52:26 +0000 (12:52 +0000)]
Revert "Use PRIVATE_POST_INSTALL_CMD to simplify executable_prefer_symlink.mk"

This breaks our build-art-host and build-art-target. I think we need to rewrite those rules as well.

This reverts commit 29f0a487b05f87cc3a6c9fbb7e7ae885064e27be.

Change-Id: I2e6674e01a2042e9d53e28ecd3e6bdf76fa806a3

9 years agoMake gnu++11 the default standard version.
Dan Albert [Tue, 9 Sep 2014 02:06:04 +0000 (19:06 -0700)]
Make gnu++11 the default standard version.

There are a _lot_ of users of `typeof` in the tree, and they'll need a
GNU flavored standard. Rather than fixing up all of these
individually, let's just use gnu++11 as the default.

Bug: 18466763
Change-Id: Ia1bd3adaa74fadba259fda3d37653fb8d5cff69a

9 years agoMerge "Use PRIVATE_POST_INSTALL_CMD to simplify executable_prefer_symlink.mk"
Ying Wang [Mon, 24 Nov 2014 23:48:44 +0000 (23:48 +0000)]
Merge "Use PRIVATE_POST_INSTALL_CMD to simplify executable_prefer_symlink.mk"

9 years agoUse PRIVATE_POST_INSTALL_CMD to simplify executable_prefer_symlink.mk
Ying Wang [Mon, 24 Nov 2014 23:44:39 +0000 (15:44 -0800)]
Use PRIVATE_POST_INSTALL_CMD to simplify executable_prefer_symlink.mk

Change-Id: I4a2827b2cdbb0bf5a8ca960561fbe17cc80cc275

9 years agoMerge "Remove TARGET_CPU_SMP."
Elliott Hughes [Mon, 24 Nov 2014 18:07:55 +0000 (18:07 +0000)]
Merge "Remove TARGET_CPU_SMP."

9 years agoRemove TARGET_CPU_SMP.
Serban Constantinescu [Fri, 21 Nov 2014 17:28:33 +0000 (17:28 +0000)]
Remove TARGET_CPU_SMP.

There are no more users of TARGET_CPU_SMP in the current codebase.
Expert users should set "-smp" in DEX2OAT_TARGET_INSTRUCTION_SET_FEATURES
for targets that run on a single-core CPU.

Change-Id: Ib94865f05a92c9a4622540cebc18ded4bdfa6363
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
9 years agoMerge "Ensure the base system includes toybox."
Elliott Hughes [Sun, 23 Nov 2014 17:47:49 +0000 (17:47 +0000)]
Merge "Ensure the base system includes toybox."

9 years agoEnsure the base system includes toybox.
Elliott Hughes [Sun, 23 Nov 2014 07:13:40 +0000 (23:13 -0800)]
Ensure the base system includes toybox.

Change-Id: I0eec19328855d67da1c574a88b452f0eeec6adc7

9 years agoMerge "Make cgrep check .hpp files as well."
Dan Albert [Sat, 22 Nov 2014 20:48:44 +0000 (20:48 +0000)]
Merge "Make cgrep check .hpp files as well."

9 years agoMake cgrep check .hpp files as well.
Dan Albert [Sat, 22 Nov 2014 18:16:01 +0000 (10:16 -0800)]
Make cgrep check .hpp files as well.

Change-Id: Ie8e9ce7270233ac01d7bc80bda5adc28afa158ed

9 years agoMerge "Kill HAVE_BIG_ENDIAN, HAVE_ENDIAN_H, and HAVE_LITTLE_ENDIAN."
Elliott Hughes [Sat, 22 Nov 2014 08:06:10 +0000 (08:06 +0000)]
Merge "Kill HAVE_BIG_ENDIAN, HAVE_ENDIAN_H, and HAVE_LITTLE_ENDIAN."

9 years agoKill HAVE_BIG_ENDIAN, HAVE_ENDIAN_H, and HAVE_LITTLE_ENDIAN.
Elliott Hughes [Sat, 22 Nov 2014 07:55:26 +0000 (23:55 -0800)]
Kill HAVE_BIG_ENDIAN, HAVE_ENDIAN_H, and HAVE_LITTLE_ENDIAN.

Change-Id: Ie596af7460ec33d70d7327e629b38d641ef48ba2

9 years agoMerge "Kill LOCAL_SOCKET_NAMESPACE."
Elliott Hughes [Sat, 22 Nov 2014 07:52:42 +0000 (07:52 +0000)]
Merge "Kill LOCAL_SOCKET_NAMESPACE."

9 years agoKill LOCAL_SOCKET_NAMESPACE.
Elliott Hughes [Sat, 22 Nov 2014 06:54:28 +0000 (22:54 -0800)]
Kill LOCAL_SOCKET_NAMESPACE.

Change-Id: I40c63b8e7ae1174ac902b545555ddab65b3fef38

9 years agoMerge "Revert "Fix the libgcc/libatomic link order.""
Dan Albert [Thu, 20 Nov 2014 23:27:24 +0000 (23:27 +0000)]
Merge "Revert "Fix the libgcc/libatomic link order.""

9 years agoRevert "Fix the libgcc/libatomic link order."
Dan Albert [Thu, 20 Nov 2014 22:48:50 +0000 (14:48 -0800)]
Revert "Fix the libgcc/libatomic link order."

This caused a lot of failures in the libc++ tests, since linking
libgcc.a before libc++.so means that the wrong unwinder will be used.

This patch is still correct, but I will revert for now while I find a
good way to apply it without breaking unwinding.

This reverts commit 741b36e922a09c47507b61cbfc9cd8bba029f476.

Change-Id: I57e0b89534adf5c1677dbf2f64ac750e74bd5fbf

9 years agoMerge "Kill INCLUDE_SYS_MOUNT_FOR_STATFS."
Elliott Hughes [Thu, 20 Nov 2014 21:03:29 +0000 (21:03 +0000)]
Merge "Kill INCLUDE_SYS_MOUNT_FOR_STATFS."

9 years agoKill INCLUDE_SYS_MOUNT_FOR_STATFS.
Elliott Hughes [Thu, 20 Nov 2014 20:58:26 +0000 (12:58 -0800)]
Kill INCLUDE_SYS_MOUNT_FOR_STATFS.

Change-Id: If3ff83c475921d72936a19317e356549d1706fab

9 years agoMerge "Fix building on modern versions of Xcode and OS X."
Ying Wang [Thu, 20 Nov 2014 17:18:36 +0000 (17:18 +0000)]
Merge "Fix building on modern versions of Xcode and OS X."

9 years agoMerge "arm: Support qemu-android on generic arm targets"
Ying Wang [Thu, 20 Nov 2014 17:17:54 +0000 (17:17 +0000)]
Merge "arm: Support qemu-android on generic arm targets"

9 years agoMerge "kill HAVE_PREAD"
Yabin Cui [Thu, 20 Nov 2014 05:15:14 +0000 (05:15 +0000)]
Merge "kill HAVE_PREAD"

9 years agokill HAVE_PREAD
Yabin Cui [Thu, 20 Nov 2014 04:48:36 +0000 (20:48 -0800)]
kill HAVE_PREAD

Bug: 18397613
Change-Id: I0061f8080709449f13dc76ce61097a2671c799ff

9 years agoarm: Support qemu-android on generic arm targets
Christoffer Dall [Mon, 27 Oct 2014 18:53:24 +0000 (19:53 +0100)]
arm: Support qemu-android on generic arm targets

When building a generic arm 32-bit target, we also want to include
support for the ranchu board model for the updated Android emulator
based on recent upstream QEMU.

Since the emulator.mk file is included by both the generic and
generic_arm64 targets and already defines a PRODUCT_COPY_FILES and
PRODUCT_PACKAGES, move duplicate entries from
target/board/generic*/device.mk to target/product/emulator.mk.

Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Change-Id: I7922ec0c4097776a185dbb245301d760ff332386

9 years agoMerge "Use ALL_MODULES.$(m).INSTALLED in modules-for-tag-list"
Ying Wang [Wed, 19 Nov 2014 18:53:18 +0000 (18:53 +0000)]
Merge "Use ALL_MODULES.$(m).INSTALLED in modules-for-tag-list"

9 years agoMerge "kill HAVE_MADVISE"
Yabin Cui [Wed, 19 Nov 2014 04:26:19 +0000 (04:26 +0000)]
Merge "kill HAVE_MADVISE"

9 years agokill HAVE_MADVISE
Yabin Cui [Wed, 19 Nov 2014 02:14:37 +0000 (18:14 -0800)]
kill HAVE_MADVISE

Bug: 18397020
Change-Id: I6b9c7d30432858131379759e738d3e04bc8d5fb5

9 years agoMerge "Build: Support for compiled-classes file"
Andreas Gampe [Tue, 18 Nov 2014 23:31:49 +0000 (23:31 +0000)]
Merge "Build: Support for compiled-classes file"

9 years agoBuild: Support for compiled-classes file
Andreas Gampe [Tue, 18 Nov 2014 19:45:10 +0000 (11:45 -0800)]
Build: Support for compiled-classes file

Allow a compiled-classes file for pre-opting.

Bug: 18410571

(cherry picked from commit 4fec0bb265ac8cdbe883b8868abfcb56713db170)

Change-Id: I8c69dd0fb8c04aaae0c4f062049cc9cce7d755c7

9 years agoMerge "core: Use WITH_DEXPREOPT_PIC=true to have dex2oat build pic oat files"
Andreas Gampe [Tue, 18 Nov 2014 23:08:16 +0000 (23:08 +0000)]
Merge "core: Use WITH_DEXPREOPT_PIC=true to have dex2oat build pic oat files"

9 years agocore: Use WITH_DEXPREOPT_PIC=true to have dex2oat build pic oat files
Igor Murashkin [Thu, 30 Oct 2014 23:08:07 +0000 (16:08 -0700)]
core: Use WITH_DEXPREOPT_PIC=true to have dex2oat build pic oat files

When WITH_DEXPREOPT=true is set, if we also set WITH_DEXPREOPT_PIC=true
then the build will generate position-independent OAT images.

This means that all the system applications no longer need to be
relocated into /data/dalvik-cache and this can achieve saving disk space
at the cost of slightly slower running code.

Bug: 18035729

(cherry picked from commit da9f1a7e82b7e6d0677553f211835625078347f2)

Change-Id: Ifd517c842f48bf31568bf5ff56667298d422c2c0

9 years agoMerge "Remove another unused definition."
Elliott Hughes [Tue, 18 Nov 2014 22:15:25 +0000 (22:15 +0000)]
Merge "Remove another unused definition."

9 years agoRemove another unused definition.
Elliott Hughes [Tue, 18 Nov 2014 22:10:27 +0000 (14:10 -0800)]
Remove another unused definition.

We have a lot of definitions around the tree, of which this is but one,
but we have no users.

Change-Id: Ic411505a0370be2b56150275fa9b8f5329241ce8

9 years agoMerge "Kill unused ARCH_* defines."
Elliott Hughes [Tue, 18 Nov 2014 21:55:12 +0000 (21:55 +0000)]
Merge "Kill unused ARCH_* defines."

9 years agoKill unused ARCH_* defines.
Elliott Hughes [Tue, 18 Nov 2014 20:57:34 +0000 (12:57 -0800)]
Kill unused ARCH_* defines.

No one's using ARCH_AARCH64 or AARCH_MIPS64 yet, and ARCH_PPC was always more
aspirational than real.

Change-Id: I07c6cbad6eb0917c4c24848a98c3bc9a3fe72db6

9 years agoMerge "Remove libdvm dex preopt support."
Elliott Hughes [Tue, 18 Nov 2014 20:52:31 +0000 (20:52 +0000)]
Merge "Remove libdvm dex preopt support."

9 years agoUse ALL_MODULES.$(m).INSTALLED in modules-for-tag-list
Ying Wang [Tue, 18 Nov 2014 20:41:53 +0000 (12:41 -0800)]
Use ALL_MODULES.$(m).INSTALLED in modules-for-tag-list

Previously we store tag's installed modules in a separate variable
ALL_MODULE_TAGS.$(tag). However we only record the main installed file
for a module, but omit affiliated files like .odex.
With this change, we handle the tagged module the same way as modules in
PRODUCT_PACKAGES.

Change-Id: I7972528a4df5a4ba8bc98930864da9672d32d7fe

9 years agoMerge "kill HAVE_TERMIO_H"
Yabin Cui [Tue, 18 Nov 2014 03:40:34 +0000 (03:40 +0000)]
Merge "kill HAVE_TERMIO_H"

9 years agoRemove libdvm dex preopt support.
Elliott Hughes [Mon, 17 Nov 2014 18:22:49 +0000 (10:22 -0800)]
Remove libdvm dex preopt support.

libdvm is dead.

Change-Id: Ib8571c007f8a9f0e0eaf5c61b5d2e416b2d95089

9 years agoMerge "Fix the libgcc/libatomic link order."
Dan Albert [Mon, 17 Nov 2014 23:55:57 +0000 (23:55 +0000)]
Merge "Fix the libgcc/libatomic link order."

9 years agoMerge "Remove libstlport from PRODUCT_PACKAGES."
Dan Albert [Mon, 17 Nov 2014 23:05:48 +0000 (23:05 +0000)]
Merge "Remove libstlport from PRODUCT_PACKAGES."

9 years agokill HAVE_TERMIO_H
Yabin Cui [Mon, 17 Nov 2014 22:49:39 +0000 (14:49 -0800)]
kill HAVE_TERMIO_H

Bug: 18398307
Change-Id: I54fc0235fbc40630f8024570b928dba115b1c39a

9 years agoRemove libstlport from PRODUCT_PACKAGES.
Dan Albert [Mon, 17 Nov 2014 22:26:11 +0000 (14:26 -0800)]
Remove libstlport from PRODUCT_PACKAGES.

Bug: 15193147
Change-Id: Idd2699d895393216bcd514da64145540faec4033

9 years agoMerge "Add -Wl,--hash-style=sysv flag to rs: transform-bc-to-so for compatibility...
Miao Wang [Mon, 17 Nov 2014 21:25:24 +0000 (21:25 +0000)]
Merge "Add -Wl,--hash-style=sysv flag to rs: transform-bc-to-so for compatibility lib."

9 years agoMerge "Disable gnu style linker hash for NDK builds."
Dan Albert [Mon, 17 Nov 2014 20:29:42 +0000 (20:29 +0000)]
Merge "Disable gnu style linker hash for NDK builds."

9 years agoMerge "Fix PDK build."
Ying Wang [Mon, 17 Nov 2014 19:34:32 +0000 (19:34 +0000)]
Merge "Fix PDK build."

9 years agoMerge "Install preloaded-classes as a standalone configuration file"
Ying Wang [Mon, 17 Nov 2014 19:34:21 +0000 (19:34 +0000)]
Merge "Install preloaded-classes as a standalone configuration file"

9 years agoMerge "Colorize build success/failure message."
Dan Albert [Mon, 17 Nov 2014 19:34:11 +0000 (19:34 +0000)]
Merge "Colorize build success/failure message."

9 years agoFix PDK build.
Ying Wang [Mon, 17 Nov 2014 19:01:18 +0000 (11:01 -0800)]
Fix PDK build.

Add frameworks/base/preloaded-classes to PRODUCT_COPY_FILES only if it
exists in the source tree.

Bug: 18305157
Change-Id: I46c277ebfb8095f9e5fe0fbb21276d932509f2eb

9 years agoInstall preloaded-classes as a standalone configuration file
Ying Wang [Thu, 13 Nov 2014 23:19:12 +0000 (15:19 -0800)]
Install preloaded-classes as a standalone configuration file

Install preloaded-classes as a standalone configuration file
/system/etc/preloaded-classes, so we can configure different file per product.
To override the default frameworks/base/preloaded-classes, just override
in your product configuration makefile with PRODUCT_COPY_FILES before it
inherits from build/target/product/base.mk: if there are multiple items
in PRODUCT_COPY_FILES with the same destination, the first one takes
precedence.

Bug: 18305157
Change-Id: I937632b4a1aa73310ec90e73fd708fbd0c704a21

9 years agoMerge "Remove logic for platform stlport gtest."
Dan Albert [Sat, 15 Nov 2014 23:42:15 +0000 (23:42 +0000)]
Merge "Remove logic for platform stlport gtest."

9 years agoAdd -Wl,--hash-style=sysv flag to rs: transform-bc-to-so for compatibility lib.
Miao Wang [Sat, 15 Nov 2014 22:25:33 +0000 (14:25 -0800)]
Add -Wl,--hash-style=sysv flag to rs: transform-bc-to-so for compatibility lib.

Bug 18395015

Change-Id: Ib9aecf347c685c8b8b725eecfbc0cec03d9b2c1b

9 years agoColorize build success/failure message.
Dan Albert [Sun, 9 Nov 2014 06:41:52 +0000 (22:41 -0800)]
Colorize build success/failure message.

Change-Id: I8901689876e65f5b72050c40e1580f167e49c2b0

9 years agoDisable gnu style linker hash for NDK builds.
Dan Albert [Fri, 14 Nov 2014 23:28:49 +0000 (15:28 -0800)]
Disable gnu style linker hash for NDK builds.

This feature is now available in AOSP, but not for any shipped
release. We don't have an API version for the release that this will
be available in yet, so for now the check is commented out.

Bug: 18395015
Change-Id: I247233d047ed5a7564d6602d47c9ad962313c8dc

9 years agoMerge "sign_target_files_apks: fix recovery patch generation"
Ying Wang [Fri, 14 Nov 2014 18:53:57 +0000 (18:53 +0000)]
Merge "sign_target_files_apks: fix recovery patch generation"

9 years agoMerge "Refactor transform-o-to-* definitions."
Dan Albert [Fri, 14 Nov 2014 18:01:21 +0000 (18:01 +0000)]
Merge "Refactor transform-o-to-* definitions."