OSDN Git Service

android-x86/build.git
9 years agoMerge "Remove HAVE_SYS_SOCKET_H."
Elliott Hughes [Fri, 9 Jan 2015 22:40:36 +0000 (22:40 +0000)]
Merge "Remove HAVE_SYS_SOCKET_H."

9 years agoRemove HAVE_SYS_SOCKET_H.
Elliott Hughes [Fri, 9 Jan 2015 20:22:24 +0000 (12:22 -0800)]
Remove HAVE_SYS_SOCKET_H.

Change-Id: I9ee38c603e3933b012da818b386cb374eec9fe21

9 years agoMerge "[MIPS64] Set ART base address for mips64"
Brian Carlstrom [Fri, 9 Jan 2015 19:23:39 +0000 (19:23 +0000)]
Merge "[MIPS64] Set ART base address for mips64"

9 years agoMerge "Make TARGET_CPU_VARIANT the same as TARGET_ARCH_VARIANT for Mips."
Brian Carlstrom [Fri, 9 Jan 2015 17:51:57 +0000 (17:51 +0000)]
Merge "Make TARGET_CPU_VARIANT the same as TARGET_ARCH_VARIANT for Mips."

9 years agoMerge "Add build rules for 64bit Renderscript Compat lib."
Miao Wang [Fri, 9 Jan 2015 17:38:47 +0000 (17:38 +0000)]
Merge "Add build rules for 64bit Renderscript Compat lib."

9 years agoMerge "Move installed module dependency setup after proto handling."
Jeff Davidson [Fri, 9 Jan 2015 02:37:16 +0000 (02:37 +0000)]
Merge "Move installed module dependency setup after proto handling."

9 years agoMove installed module dependency setup after proto handling.
Jeff Davidson [Fri, 9 Jan 2015 02:25:30 +0000 (18:25 -0800)]
Move installed module dependency setup after proto handling.

The proto handling will modify the set of dependent libraries, but
this was not actually accounted for in dependency handling because
dependencies had already been established.

Change-Id: Iba1582f3c9eeeada19569e4b5358b6ec4168fccc

9 years agoAdd build rules for 64bit Renderscript Compat lib.
Miao Wang [Thu, 8 Jan 2015 02:18:41 +0000 (18:18 -0800)]
Add build rules for 64bit Renderscript Compat lib.

Change-Id: Iea168f8ecb3b4cf6b9ab6ffefc403eb77ee09000

9 years agoMake TARGET_CPU_VARIANT the same as TARGET_ARCH_VARIANT for Mips.
Douglas Leung [Thu, 8 Jan 2015 00:29:39 +0000 (16:29 -0800)]
Make TARGET_CPU_VARIANT the same as TARGET_ARCH_VARIANT for Mips.

This is used to set --instruction-set-variant for dex2oat.

Change-Id: Ic93d1bfab634489e004ccf1195cdcfc767f092ef

9 years agoMerge "build_image: Set file system labels on disk images"
David Turner [Wed, 7 Jan 2015 20:19:04 +0000 (20:19 +0000)]
Merge "build_image: Set file system labels on disk images"

9 years agoMerge "Stop defining HAVE_UNWIND_CONTEXT_STRUCT."
Elliott Hughes [Wed, 7 Jan 2015 04:34:52 +0000 (04:34 +0000)]
Merge "Stop defining HAVE_UNWIND_CONTEXT_STRUCT."

9 years agoStop defining HAVE_UNWIND_CONTEXT_STRUCT.
Elliott Hughes [Wed, 7 Jan 2015 03:14:37 +0000 (19:14 -0800)]
Stop defining HAVE_UNWIND_CONTEXT_STRUCT.

The only code that still references this is only built for arm, so this
should be a no-op.

Change-Id: I64f40fc68bb387b6309075d158f5bd12f398ef20

9 years agoMerge "Remove unused PRODUCT_TAGS"
Brian Carlstrom [Tue, 6 Jan 2015 23:45:38 +0000 (23:45 +0000)]
Merge "Remove unused PRODUCT_TAGS"

9 years agoRemove unused PRODUCT_TAGS
Brian Carlstrom [Mon, 5 Jan 2015 21:01:52 +0000 (13:01 -0800)]
Remove unused PRODUCT_TAGS

Bug: 18895001
Change-Id: I2bbb1c04880218eaa06c1eff92280c636260f9ae

9 years agoMerge "Fix incorrect name for x86 platform's gdb"
Pirama Arumuga Nainar [Mon, 5 Jan 2015 22:45:29 +0000 (22:45 +0000)]
Merge "Fix incorrect name for x86 platform's gdb"

9 years agoFix incorrect name for x86 platform's gdb
Pirama Arumuga Nainar [Mon, 5 Jan 2015 22:33:33 +0000 (14:33 -0800)]
Fix incorrect name for x86 platform's gdb

gdbclient looks for 'x86_64-linux-androideabi-gdb' whereas the prebuilts
have gdb as 'x86_64-linux-android-gdb'

$ cd $ANDROID_BUILD_TOP
$ find prebuilts -iname *x86*gdb
prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/bin/x86_64-linux-android-gdb
prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.8/bin/x86_64-linux-android-gdb
prebuilts/gcc/darwin-x86/x86/x86_64-linux-android-4.9/bin/x86_64-linux-android-gdb
prebuilts/gcc/darwin-x86/x86/x86_64-linux-android-4.8/bin/x86_64-linux-android-gdb

Change-Id: Ib940ecd6f345ea501da79834168b91cc0f6e5a96

9 years agobuild_image: Set file system labels on disk images
Christoffer Dall [Wed, 17 Dec 2014 20:34:12 +0000 (21:34 +0100)]
build_image: Set file system labels on disk images

When building images set the mount point (data,cache,system) as the
filesystem label on the generated image.  This is required for the
Android Emulator.

IMPORTANT: This depends on the following patch to system/extras/:

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

which has already been submitted to AOSP and merged into the
internal tree.

Change-Id: Iaeb45462570c26d37980f1cc5d8a1b929e476c89
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
9 years ago[MIPS64] Set ART base address for mips64
Nikola Veljkovic [Tue, 23 Dec 2014 12:50:18 +0000 (13:50 +0100)]
[MIPS64] Set ART base address for mips64

Set ART base address for mips64 to the same value as for mips32.

Change-Id: Idd3a05c87867bce9eb769cfec412102944703a43

9 years agoMerge "Disable transitive symbol resolving for arm64."
Ying Wang [Sat, 20 Dec 2014 00:52:24 +0000 (00:52 +0000)]
Merge "Disable transitive symbol resolving for arm64."

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 "Revert "Remove libstlport from PRODUCT_PACKAGES.""
Dan Albert [Wed, 17 Dec 2014 01:08:01 +0000 (01:08 +0000)]
Merge "Revert "Remove libstlport from PRODUCT_PACKAGES.""

9 years agoMerge "disable Krait for Mac builds to avoid assembler issues"
Tim Murray [Wed, 17 Dec 2014 00:59:21 +0000 (00:59 +0000)]
Merge "disable Krait for Mac builds to avoid assembler issues"

9 years agoRevert "Remove libstlport from PRODUCT_PACKAGES."
Dan Albert [Wed, 17 Dec 2014 00:03:31 +0000 (16:03 -0800)]
Revert "Remove libstlport from PRODUCT_PACKAGES."

The platform dependence on stlport is now far enough gone that a
regular build no longer builds stlport (woot!). Unfortunately, vendor
blobs don't claim their dependencies, so the build system has to keep
track of this for them.

Bug: 18777920
This reverts commit ef11722e9b778ac6a0edca2f51b9e510e79416f9.

Change-Id: I6a0dd26dfc6837c419eb5dd2ec5258dd323fd4bf

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 agodisable Krait for Mac builds to avoid assembler issues
Tim Murray [Tue, 9 Dec 2014 22:28:57 +0000 (14:28 -0800)]
disable Krait for Mac builds to avoid assembler issues

Change-Id: Ie98f4dbc2cef92798ec08b43b93e7e0339a92a92

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