OSDN Git Service

android-x86/build.git
9 years agoRevert "Add the default local_time hal implementation to builds."
Chih-Wei Huang [Wed, 21 Jan 2015 04:09:27 +0000 (12:09 +0800)]
Revert "Add the default local_time hal implementation to builds."

Remove duplicate local_time.default.

This reverts commit a09c24db71ec4babd0e4db36ffdd180b2fcc6f7a.

Change-Id: Ic96d42235c14588d454e92a57b3bb9e74688fd99

9 years agoMerge "[MIPSR6] Adjust prebuilts/ndk libraries for mips32r6"
Ying Wang [Fri, 16 Jan 2015 18:13:35 +0000 (18:13 +0000)]
Merge "[MIPSR6] Adjust prebuilts/ndk libraries for mips32r6"

9 years ago[MIPSR6] Adjust prebuilts/ndk libraries for mips32r6
Duane Sand [Sat, 8 Nov 2014 23:25:18 +0000 (15:25 -0800)]
[MIPSR6] Adjust prebuilts/ndk libraries for mips32r6

Change-Id: Ice2d0f65eced4fb7dd209fb15610ba555dd45f2c

9 years agoMerge "Make bcc-compat able to pick the right mtriple flag for Renderscript Compat...
Miao Wang [Fri, 16 Jan 2015 16:34:15 +0000 (16:34 +0000)]
Merge "Make bcc-compat able to pick the right mtriple flag for Renderscript Compat Lib."

9 years agoMerge "Add build rules for libRSSupportIO (Usage_IO lib for RS compat lib)"
Miao Wang [Fri, 16 Jan 2015 16:33:52 +0000 (16:33 +0000)]
Merge "Add build rules for libRSSupportIO (Usage_IO lib for RS compat lib)"

9 years agoMerge "Emit unique linker buildid in all binaries."
Ying Wang [Fri, 16 Jan 2015 00:17:15 +0000 (00:17 +0000)]
Merge "Emit unique linker buildid in all binaries."

9 years agoEmit unique linker buildid in all binaries.
Dehao Chen [Wed, 14 Jan 2015 19:21:22 +0000 (11:21 -0800)]
Emit unique linker buildid in all binaries.

We want to store the symbol information for all android binaries in a global database.

* We ingest unstripped binaries into the global database
* When we collect address data from device (e.g. instruction pointer address), we want to lookup its symbol information through the global database. The key of the mapping is a unique build id, which is the same between binaries on device (stripped) and unstripped binaries.

After applying this patch, the system.img size increases by 0.0047% (16.3KB).

Change-Id: Id92faf2951f43a30947e8d2b690c1af6bf7e3f54

9 years agoMerge "Update protobuf library from 2.3 to 2.6."
Jeff Davidson [Thu, 15 Jan 2015 22:49:00 +0000 (22:49 +0000)]
Merge "Update protobuf library from 2.3 to 2.6."

9 years agoMerge "Add ld.mc as a required executable to core_minimal.mk."
Stephen Hines [Thu, 15 Jan 2015 17:54:54 +0000 (17:54 +0000)]
Merge "Add ld.mc as a required executable to core_minimal.mk."

9 years agoAdd ld.mc as a required executable to core_minimal.mk.
Stephen Hines [Thu, 15 Jan 2015 00:11:12 +0000 (16:11 -0800)]
Add ld.mc as a required executable to core_minimal.mk.

Bug: 18322681
Change-Id: I94754641db0c218e044f329bc59d4d918b389533

9 years agoMerge "Add build.prop to root ramdisk"
Andres Morales [Wed, 14 Jan 2015 15:56:19 +0000 (15:56 +0000)]
Merge "Add build.prop to root ramdisk"

9 years agoAdd build.prop to root ramdisk
Andres Morales [Tue, 13 Jan 2015 23:30:34 +0000 (15:30 -0800)]
Add build.prop to root ramdisk

will be used for verifying installed bootimage

Change-Id: Iaf80823545980fb2e464a558e918715cc1b82e11

9 years agoMerge "Remove HAVE_SYMLINKS."
Elliott Hughes [Tue, 13 Jan 2015 03:11:34 +0000 (03:11 +0000)]
Merge "Remove HAVE_SYMLINKS."

9 years agoRemove HAVE_SYMLINKS.
Elliott Hughes [Tue, 13 Jan 2015 00:20:24 +0000 (16:20 -0800)]
Remove HAVE_SYMLINKS.

Change-Id: I685357292af45a048439f0df0ae45f513479841a

9 years agoMake bcc-compat able to pick the right mtriple flag for Renderscript
Miao Wang [Tue, 13 Jan 2015 01:20:28 +0000 (17:20 -0800)]
Make bcc-compat able to pick the right mtriple flag for Renderscript
Compat Lib.

Change-Id: Ifb3093ebc392d107e874cee3a67b5f6e942c6e0a

9 years agoMerge "Remove HAVE_LIBC_SYSTEM_PROPERTIES and HAVE_SYSTEM_PROPERTY_SERVER."
Elliott Hughes [Tue, 13 Jan 2015 00:19:59 +0000 (00:19 +0000)]
Merge "Remove HAVE_LIBC_SYSTEM_PROPERTIES and HAVE_SYSTEM_PROPERTY_SERVER."

9 years agoRemove HAVE_LIBC_SYSTEM_PROPERTIES and HAVE_SYSTEM_PROPERTY_SERVER.
Elliott Hughes [Mon, 12 Jan 2015 21:48:27 +0000 (13:48 -0800)]
Remove HAVE_LIBC_SYSTEM_PROPERTIES and HAVE_SYSTEM_PROPERTY_SERVER.

In particular, no one has had the system property server since we
killed the sim-eng build...

Change-Id: If576ec546b0ba2ad3c5299876027ca9ac189cf4a

9 years agoMerge "Remove HAVE_POSIX_CLOCKS."
Elliott Hughes [Mon, 12 Jan 2015 18:53:01 +0000 (18:53 +0000)]
Merge "Remove HAVE_POSIX_CLOCKS."

9 years agoMerge "Fix whole static lib handling of duplicate names."
Christopher Ferris [Mon, 12 Jan 2015 18:41:18 +0000 (18:41 +0000)]
Merge "Fix whole static lib handling of duplicate names."

9 years agoRemove HAVE_POSIX_CLOCKS.
Elliott Hughes [Sat, 10 Jan 2015 00:27:41 +0000 (16:27 -0800)]
Remove HAVE_POSIX_CLOCKS.

Change-Id: Ide6f54f70bc5edda9ec1f1f05ebaa0acf58aaa77

9 years agoMerge "Remove HAVE_PRCTL."
Elliott Hughes [Fri, 9 Jan 2015 23:30:19 +0000 (23:30 +0000)]
Merge "Remove HAVE_PRCTL."

9 years agoRemove HAVE_PRCTL.
Elliott Hughes [Fri, 9 Jan 2015 23:24:31 +0000 (15:24 -0800)]
Remove HAVE_PRCTL.

Change-Id: Ic58f8e4c0f749bbc19e5d14de8d99321e7cf833c

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 agoAdd build rules for libRSSupportIO (Usage_IO lib for RS compat lib)
Miao Wang [Thu, 20 Nov 2014 19:05:18 +0000 (11:05 -0800)]
Add build rules for libRSSupportIO (Usage_IO lib for RS compat lib)

bug 12924018

Change-Id: I35af72c1f7788f9fd9cb24bfabdbbad09e865a8b

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 agoUpdate protobuf library from 2.3 to 2.6.
Jeff Davidson [Fri, 9 Jan 2015 00:33:43 +0000 (16:33 -0800)]
Update protobuf library from 2.3 to 2.6.

Change-Id: I02d308b01f635307dbb63ea9610db2e56eb1f31b

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 agoFix whole static lib handling of duplicate names.
Christopher Ferris [Thu, 8 Jan 2015 01:14:03 +0000 (17:14 -0800)]
Fix whole static lib handling of duplicate names.

If LOCAL_WHOLE_STATIC_LIBRARIES contains a library that has
two files that have the same name but are in different
directories, only the first gets included.

This fix detects this case, and uses the m option to ar to force the
duplicate object to the end of the archive. After this, using the p
option gets the correct object file.

Change-Id: I2e183f48cef3c79499d4ab8ff147444611ff938b

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."