OSDN Git Service

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

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

BUG: 17258227
Change-Id: I2a35263298ffd8dd7cda25183e185274cbf62b7b

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

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

BUG: 17258227
Change-Id: I2d98e68daa780fbe0e127605840ae7edcb4e9880

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

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

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

Bug: 16716262

(cherry picked from commit 28be9d8884861f70fbd39b3768a6d4b34009deed)

Change-Id: I45b363558dea17e9b049e4a83a55990b4911d9d8

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

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

BUG: 17258227
Change-Id: Iec9fdb21a9fa31e18a17704beb27bb493c9b7192

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

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

9 years agoarm64: Fix the sdk_arm64 build products
David 'Digit' Turner [Wed, 20 Aug 2014 15:42:08 +0000 (17:42 +0200)]
arm64: Fix the sdk_arm64 build products

This patch fixes the sdk_arm64 system images to boot properly when run
under emulation with the new qemu-android binaries.

BUG=17154406

Change-Id: I152eb09086ce4abc4b623e54de78cdaaac6b90a1

9 years agoarm64: Fix aosp_arm64 system image.
David 'Digit' Turner [Wed, 20 Aug 2014 15:39:00 +0000 (17:39 +0200)]
arm64: Fix aosp_arm64 system image.

This patch ensures that the system image produced for the 'aosp_arm64'
build products can actually run under emulation with the new qemu-android
binaries [1]

The main issue is that the virtual board is named 'ranchu' instead of
'goldfish' (because the virtual hardware is _very_ different), and thus
requires specific files for the boot to start properly

(in particular fstab.ranchu is required to mount the system, data and
cache partitions, otherwise init will fail badly because /system/bin/
and /data/ are missing important files).

IMPORTANT: This requires the files under device/generic/goldfish/ from:

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

[1] Binaries built from https://qemu-android.googlesource.com/qemu-android

BUG=17154406

Change-Id: Ic40360bf56e32aab708551c810000467d23793d4

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

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

I missed this the other day.

Change-Id: Ifb6912de3aae6d03593ffb08d8d9555dc9e53f4d

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

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

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

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

Change-Id: I303d941036ab889ab747f26561506a5e1c93f0c2

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

Bug: 17164505
Change-Id: I8055e52019d8cdea957d0fb8cbd46ca9b52564e1

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

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

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

Change-Id: Iecdb5e4bb2ce987bb41a70c3393d18a6d72ae689

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

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

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

Change-Id: Ic71b7b491c119963068294e258dc6afe5a45b40d

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

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

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

    LOCAL_CLANG := true # explanation

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

Change-Id: I41c2f36a4d4c3aa305a25b4a151c066dad5ffe0f

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

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

Bug: 17048545
Change-Id: Ib5b72ecb451a26cb393147a44601566400ca1dd6

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

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

Bug: 17047392

(cherry picked from commit 655d6851f308ad890193787a848b003685d3df9c)

Change-Id: Ia824137e690b9bca1688a7603254273a737ddcbb

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

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

bug 17007253

Change-Id: Ib11c017bf8aee384e6780e2a1252221fbff3327a

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

9 years agoFix HOST_LIBRARY_PATH.
Ying Wang [Thu, 14 Aug 2014 18:03:56 +0000 (11:03 -0700)]
Fix HOST_LIBRARY_PATH.

Since we switched to $(HOST_OUT)/lib64 for 64-bit libraries and
$(HOST_OUT)/lib for 32-bit libraries.

Change-Id: Ie43bc03c37e2ac8542412a7543a6af5d60c6f725

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

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

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

Change-Id: I7add92d2cecfc3ab739785ceef6700240a25093a

9 years agoMerge "Add a WITH_DEXOPT_BOOT_IMG_ONLY configuration option."
Andreas Gampe [Mon, 11 Aug 2014 19:49:15 +0000 (19:49 +0000)]
Merge "Add a WITH_DEXOPT_BOOT_IMG_ONLY configuration option."

9 years agoMerge "wrap make and print success/failure message, more later"
Dan Albert [Mon, 11 Aug 2014 16:47:22 +0000 (16:47 +0000)]
Merge "wrap make and print success/failure message, more later"

9 years agoAdd a WITH_DEXOPT_BOOT_IMG_ONLY configuration option.
Alex Light [Tue, 5 Aug 2014 00:09:41 +0000 (17:09 -0700)]
Add a WITH_DEXOPT_BOOT_IMG_ONLY configuration option.

If WITH_DEXOPT_BOOT_IMG_ONLY=true and WITH_DEXPREOPT=true then we will
only preopt the boot.art and boot.oat files, leaving everything else to
be compiled at first boot. This has fast startup times of WITH_DEXPREOPT
but has a smaller space usage and allows one to update the non-image
parts of /system without reflashing.

Bug: 16938924

Change-Id: Ib366b6b5ad80f7078f01bf51f9fbc29ea7e5d777

9 years agowrap make and print success/failure message, more later
Ed Heyl [Wed, 18 Jun 2014 21:55:58 +0000 (14:55 -0700)]
wrap make and print success/failure message, more later

Change-Id: I48a4687d81bc4b950a1be42b34d2f0d76733574a
(cherry picked from commit cc6be0a369ece60818edbd2f604b5a929496b3f5)

9 years agoMerge "Add SignTos tool"
Kenny Root [Fri, 8 Aug 2014 22:34:45 +0000 (22:34 +0000)]
Merge "Add SignTos tool"

9 years agoAdd SignTos tool
Kenny Root [Fri, 8 Aug 2014 20:18:53 +0000 (13:18 -0700)]
Add SignTos tool

Change-Id: Iac7db75cda383e333a55236c3678cd56f8245d6e

9 years agoMerge "Consistent use of USE_MINGW"
Ying Wang [Fri, 8 Aug 2014 03:14:23 +0000 (03:14 +0000)]
Merge "Consistent use of USE_MINGW"

9 years agoConsistent use of USE_MINGW
Ying Wang [Fri, 8 Aug 2014 03:08:04 +0000 (20:08 -0700)]
Consistent use of USE_MINGW

Change-Id: I05e212e5a99639d0196006b9c2ec35072c54f399

9 years agoMerge "Fix Windows SDK build."
Dan Albert [Fri, 8 Aug 2014 01:37:01 +0000 (01:37 +0000)]
Merge "Fix Windows SDK build."

9 years agoFix Windows SDK build.
Dan Albert [Fri, 8 Aug 2014 01:29:11 +0000 (18:29 -0700)]
Fix Windows SDK build.

Change-Id: Ia2a318957aa525f0e72b556a693a20f513146b64

9 years agoMerge "Inhibit implicit -Bsymolic in -shared."
Dan Albert [Thu, 7 Aug 2014 23:24:36 +0000 (23:24 +0000)]
Merge "Inhibit implicit -Bsymolic in -shared."

9 years agoInhibit implicit -Bsymolic in -shared.
Dan Albert [Tue, 5 Aug 2014 21:44:41 +0000 (14:44 -0700)]
Inhibit implicit -Bsymolic in -shared.

Bug: 16853291

Change-Id: Id70488b077256a70137c4417f21be2c2d1d4341c

9 years agoFix uses of -fPIC and -fPIE.
Dan Albert [Wed, 6 Aug 2014 19:36:46 +0000 (12:36 -0700)]
Fix uses of -fPIC and -fPIE.

We've been using -fPIC and -fPIE together in the global cflags all this
time. These options are incompatible. The only reason we haven't been
hit by this before is because of the forced -Bsymbolic in GCC. To fix
this, pass -fpic when compiling objects for shared libraries and -fpie
when compiling objects for executables. For static libraries, also use
-fpic. We have to do this because static libraries might be included in
either a shared library or an executable. Code compiled with -fpie
cannot be included in a shared library, but code compiled with -fpic
may be included in an executable.

We've also been using -fpic and -fPIC together. These are different
options, and only the latter will take effect.
http://stackoverflow.com/a/967010

The final thing this fixes is that we had -f(PIC|PIE) flags being passed
to link commands. These are compile time flags, and don't do anything at
link time.

Bug: 16823325
Change-Id: Ic76f47e63dc2c81b7e1a8058bae1b3dc8565d606

9 years agoMerge "Fix uses of -fPIC and -fPIE."
Dan Albert [Thu, 7 Aug 2014 23:24:28 +0000 (23:24 +0000)]
Merge "Fix uses of -fPIC and -fPIE."

9 years agoMerge "Track bouncycastle upgrade to 1.51"
Kenny Root [Thu, 7 Aug 2014 19:53:21 +0000 (19:53 +0000)]
Merge "Track bouncycastle upgrade to 1.51"

9 years agoTrack bouncycastle upgrade to 1.51
Kenny Root [Thu, 7 Aug 2014 19:02:54 +0000 (12:02 -0700)]
Track bouncycastle upgrade to 1.51

The new API in 1.51 will allow null return values.

Change-Id: I583690bf0740b2d0962f02edea3896e18626e548

9 years agoMerge "Make system use patchoat to relocate during runtime."
Brian Carlstrom [Tue, 5 Aug 2014 17:47:26 +0000 (17:47 +0000)]
Merge "Make system use patchoat to relocate during runtime."

9 years agoMake system use patchoat to relocate during runtime.
Alex Light [Thu, 24 Jul 2014 23:26:13 +0000 (16:26 -0700)]
Make system use patchoat to relocate during runtime.

Change DexPreOpt to include patch information of all compiled files so
we can relocate at runtime.

Bug: 15358152

Change-Id: Ibe92d8b55a24bbf718b0416a21b76e5df7a2de26

9 years agoMerge "Move from dalvik.vm.image-dex2oat-flags to dalvik.vm.dex2oat-filter [build]"
Brian Carlstrom [Mon, 4 Aug 2014 18:27:33 +0000 (18:27 +0000)]
Merge "Move from dalvik.vm.image-dex2oat-flags to dalvik.vm.dex2oat-filter [build]"

9 years agoMove from dalvik.vm.image-dex2oat-flags to dalvik.vm.dex2oat-filter [build]
Brian Carlstrom [Tue, 29 Jul 2014 02:13:27 +0000 (19:13 -0700)]
Move from dalvik.vm.image-dex2oat-flags to dalvik.vm.dex2oat-filter [build]

This will allow us to conditionally change the compiler-filter based on other properties.

Bug: 15165413
Change-Id: Ie3f9292d35e9d4abf93271b7d22b72d185ee5ce2

9 years agoMerge "Update host linux toolchain to gcc 4.8"
Ying Wang [Thu, 31 Jul 2014 17:56:13 +0000 (17:56 +0000)]
Merge "Update host linux toolchain to gcc 4.8"

9 years agoUpdate host linux toolchain to gcc 4.8
David 'Digit' Turner [Wed, 28 May 2014 11:27:08 +0000 (13:27 +0200)]
Update host linux toolchain to gcc 4.8

This patch ensures the build system uses the prebuilt gcc-4.8 toolchain
when building host Linux binaries, instead of the gcc-4.6 one.

Change-Id: I7b449650714ba4314a780827e0243f2af40ec82c

9 years agoMerge "BuildBootImage: Add secondstage image support"
Ying Wang [Thu, 31 Jul 2014 17:05:36 +0000 (17:05 +0000)]
Merge "BuildBootImage: Add secondstage image support"

9 years agoBuildBootImage: Add secondstage image support
Benoit Fradin [Mon, 14 Jul 2014 19:00:43 +0000 (21:00 +0200)]
BuildBootImage: Add secondstage image support

The AOSP bootimage format allows the use of a second stage image
however the BuildBootableImage function does not allows the "second"
optional argument. This patch adds the support of this argument.

Change-Id: I8ed9d9e56449945c2d42fc908269921c394f68c0
Signed-off-by: Benoit Fradin <benoit.fradin@intel.com>
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
9 years agoMerge "[MIPSR6] Add mips64r6 and mips32r6 targets"
Elliott Hughes [Wed, 30 Jul 2014 23:21:32 +0000 (23:21 +0000)]
Merge "[MIPSR6] Add mips64r6 and mips32r6 targets"

9 years agoMerge "Don't fail the build for dangling module names."
Ying Wang [Wed, 30 Jul 2014 17:21:39 +0000 (17:21 +0000)]
Merge "Don't fail the build for dangling module names."

9 years agoDon't fail the build for dangling module names.
Ying Wang [Wed, 30 Jul 2014 17:20:56 +0000 (10:20 -0700)]
Don't fail the build for dangling module names.

Change-Id: I939253552e7ca6a672f662ae6be3eac41f5bab41

9 years agoMerge "Fix 64 bit emulator booting (again)."
Ying Wang [Wed, 30 Jul 2014 16:38:23 +0000 (16:38 +0000)]
Merge "Fix 64 bit emulator booting (again)."

9 years agoFix 64 bit emulator booting (again).
Narayan Kamath [Mon, 23 Jun 2014 16:52:53 +0000 (17:52 +0100)]
Fix 64 bit emulator booting (again).

Not only should they inherit from core_64_bit.mk, we should
inherit from that first to make sure sdk.mk doesn't override
those values with other cruft.

Change-Id: Ibcd3c47b5be92544c1e86b6e85608b875c468461

9 years agoSDK targets should inherit from core_64_bit.mk
Narayan Kamath [Tue, 17 Jun 2014 16:43:14 +0000 (17:43 +0100)]
SDK targets should inherit from core_64_bit.mk

bug: 15661143

(cherry picked from commit e78ba32d23dd3a1f3df1b861b1b17fced45801b0)

Change-Id: Icf9d0a7d429f848ca6163a8658c6e5f208fdd039

9 years agoAdd SDK product for arm64, x86_64 and mips64.
Ying Wang [Tue, 29 Apr 2014 19:48:06 +0000 (12:48 -0700)]
Add SDK product for arm64, x86_64 and mips64.

Bug: 14411602
Change-Id: Ia609321864ddade27df97448c8037f25c4ef99aa

9 years agoRemove the unused large_emu_hw.mk
Ying Wang [Thu, 21 Nov 2013 00:41:18 +0000 (16:41 -0800)]
Remove the unused large_emu_hw.mk

Change-Id: Iea8330e00983f4eac44d8a072c1bf185afcf6a80

Conflicts:
target/product/large_emu_hw.mk

9 years agoMerge "SDK targets should inherit from core_64_bit.mk"
Ying Wang [Wed, 30 Jul 2014 16:38:03 +0000 (16:38 +0000)]
Merge "SDK targets should inherit from core_64_bit.mk"

9 years agoMerge "Use hermetic host toolchains."
Ying Wang [Wed, 30 Jul 2014 16:14:03 +0000 (16:14 +0000)]
Merge "Use hermetic host toolchains."

9 years agoMerge "Add SDK product for arm64, x86_64 and mips64."
Ying Wang [Wed, 30 Jul 2014 16:37:30 +0000 (16:37 +0000)]
Merge "Add SDK product for arm64, x86_64 and mips64."

9 years agoMerge "Revert "Revert "Introduce CC/CXX/JAVAC_WRAPPER to wrap the calls to clang."""
Ying Wang [Wed, 30 Jul 2014 16:13:38 +0000 (16:13 +0000)]
Merge "Revert "Revert "Introduce CC/CXX/JAVAC_WRAPPER to wrap the calls to clang."""

9 years agoRevert "Revert "Introduce CC/CXX/JAVAC_WRAPPER to wrap the calls to clang.""
Ying Wang [Tue, 29 Jul 2014 21:08:33 +0000 (14:08 -0700)]
Revert "Revert "Introduce CC/CXX/JAVAC_WRAPPER to wrap the calls to clang.""

This reverts commit a4f84fdfed9a805d69b37de997512cd0616b3ff8.
Added "export CCACHE_CPP2 := true" to work around ccache bug with clang.
See:
http://petereisentraut.blogspot.com/2011/09/ccache-and-clang-part-2.html

Change-Id: I2b1fa8fd59c3a113c4028a92a1d16018133c9792

9 years agoMerge "Allow LOCAL_ASSET_DIR point to nonexistent dir"
Ying Wang [Tue, 29 Jul 2014 17:55:19 +0000 (17:55 +0000)]
Merge "Allow LOCAL_ASSET_DIR point to nonexistent dir"

9 years agoAllow LOCAL_ASSET_DIR point to nonexistent dir
Ying Wang [Tue, 29 Jul 2014 17:34:30 +0000 (10:34 -0700)]
Allow LOCAL_ASSET_DIR point to nonexistent dir

LOCAL_ASSET_DIR may point to a dir generated during the build process.
We have done similiar things to LOCAL_RESOURCE_DIR.

Change-Id: Id53433c0d3a4c7af601283755199fde6a59cdfaf

9 years agoUse hermetic host toolchains.
Ying Wang [Mon, 28 Jul 2014 22:14:51 +0000 (15:14 -0700)]
Use hermetic host toolchains.

Change-Id: I6bb72b5728d1075be9645f8473dcf3db759fa66a

9 years agoMerge "Remove the unused large_emu_hw.mk"
Ying Wang [Wed, 30 Jul 2014 16:37:21 +0000 (16:37 +0000)]
Merge "Remove the unused large_emu_hw.mk"

9 years agoMerge "Add PROP_NAME_MAX validation"
Brian Carlstrom [Wed, 30 Jul 2014 16:30:10 +0000 (16:30 +0000)]
Merge "Add PROP_NAME_MAX validation"

9 years agoAdd PROP_NAME_MAX validation
Brian Carlstrom [Tue, 29 Jul 2014 23:08:25 +0000 (16:08 -0700)]
Add PROP_NAME_MAX validation

Change-Id: I49179c83ae163de6f6fb398c5de60c5d296ca009

9 years ago[MIPSR6] Add mips64r6 and mips32r6 targets
Duane Sand [Wed, 9 Jul 2014 20:30:52 +0000 (13:30 -0700)]
[MIPSR6] Add mips64r6 and mips32r6 targets

Add mips64r6 target and corresponding mips32r6 target.
Defaults remain as mips64r2 and mips32r2.

Apply -FP64A codegen subsetting to mips32r6 only.
Access FR=0 odd-numbered 32-bit float regs only via
double-prec even-numbered regs, not by single-prec ops.

Change-Id: I1740a6c658304b6c41242be58d68753e6f171658

9 years ago[MIPS] Unite mipsel and mips64el 4.9 gcc toolchains
Duane Sand [Tue, 22 Jul 2014 21:34:00 +0000 (14:34 -0700)]
[MIPS] Unite mipsel and mips64el 4.9 gcc toolchains

Use 4.9 mips64el toolchain for both 64- and 32-bit builds.
Tell ld when 32-bit links are required.
Override 4.9's changed defaults for mips floating point
register use, to get same assembler rules as 4.8 and earlier.

Also: drop unused  soft-fp build targets, cleanout redundant
compiler options, and remove extraneous Android.mk file.

Change-Id: I86f1075266349edb2b08a7709b9f5472d8cfda32

9 years ago[MIPS64] Enable mips64 clang
Duane Sand [Tue, 3 Jun 2014 23:05:59 +0000 (16:05 -0700)]
[MIPS64] Enable mips64 clang

Change-Id: I737f40ff1d4c71c21bea5159d1b0acee89fe32a2

9 years agoMerge "Revert "Introduce CC/CXX/JAVAC_WRAPPER to wrap the calls to clang.""
Marcin Kosiba [Mon, 28 Jul 2014 09:02:13 +0000 (09:02 +0000)]
Merge "Revert "Introduce CC/CXX/JAVAC_WRAPPER to wrap the calls to clang.""

9 years agoRevert "Introduce CC/CXX/JAVAC_WRAPPER to wrap the calls to clang."
Dan Albert [Sat, 26 Jul 2014 20:35:06 +0000 (20:35 +0000)]
Revert "Introduce CC/CXX/JAVAC_WRAPPER to wrap the calls to clang."

This broke the world.

This reverts commit 3b7a4d811df5b326e714984edd7dd3e2b11e16d5.

Change-Id: Iefb01b8642a92bcc718d2c745e8ce1346ba50143

9 years agoMerge "Introduce CC/CXX/JAVAC_WRAPPER to wrap the calls to clang."
Ying Wang [Sat, 26 Jul 2014 00:43:50 +0000 (00:43 +0000)]
Merge "Introduce CC/CXX/JAVAC_WRAPPER to wrap the calls to clang."

9 years agoMerge "Fix doc target for multidex support library."
Yohann Roussel [Fri, 25 Jul 2014 12:44:51 +0000 (12:44 +0000)]
Merge "Fix doc target for multidex support library."

9 years agoMerge "fix build"
Tim Murray [Thu, 24 Jul 2014 22:20:58 +0000 (22:20 +0000)]
Merge "fix build"

9 years agofix build
Tim Murray [Thu, 24 Jul 2014 22:20:18 +0000 (15:20 -0700)]
fix build

Change-Id: I28799d5523e1d2d2500a82b3d323c58486aacdbc

9 years agoFix Windows SDK build to not use clang.
Tim Murray [Thu, 24 Jul 2014 21:42:53 +0000 (14:42 -0700)]
Fix Windows SDK build to not use clang.

bug 16172793

Change-Id: I7bf76cae49ec17bf50eb657b0e38234b7cb55e85

9 years agoFix doc target for multidex support library.
Yohann Roussel [Thu, 24 Jul 2014 15:24:30 +0000 (17:24 +0200)]
Fix doc target for multidex support library.

Change-Id: I0136c6cd8a3af0dc9d12b9424f96e9527cde68e2

9 years agoMerge "Fix Windows SDK build to not use clang."
Tim Murray [Thu, 24 Jul 2014 22:08:41 +0000 (22:08 +0000)]
Merge "Fix Windows SDK build to not use clang."

9 years agoMerge "[MIPS64] Enable mips64 clang"
Ying Wang [Thu, 24 Jul 2014 01:42:13 +0000 (01:42 +0000)]
Merge "[MIPS64] Enable mips64 clang"

9 years agoMerge "Switch host builds to use Clang by default."
Tim Murray [Thu, 24 Jul 2014 20:59:29 +0000 (20:59 +0000)]
Merge "Switch host builds to use Clang by default."

9 years agoSwitch host builds to use Clang by default.
Tim Murray [Fri, 4 Apr 2014 21:38:29 +0000 (14:38 -0700)]
Switch host builds to use Clang by default.

If LOCAL_CLANG is not set to false for a host module, clang will be used instead of gcc.

This also enables the integrated assembler by default for Darwin host builds.

bug 16172793

Change-Id: If7484c5dbcccce7d925bec97bff0a3e4c30e9434

9 years agoMerge "Refactor FDO support code to ensure arm64 can also be built with FDO."
Ying Wang [Wed, 23 Jul 2014 23:35:05 +0000 (23:35 +0000)]
Merge "Refactor FDO support code to ensure arm64 can also be built with FDO."

9 years agoRefactor FDO support code to ensure arm64 can also be built with FDO.
Dehao Chen [Wed, 23 Jul 2014 21:28:58 +0000 (14:28 -0700)]
Refactor FDO support code to ensure arm64 can also be built with FDO.

Change-Id: I752c9f411b0a046a15c72b4837efc1fb0503b470

9 years agoMerge "[MIPS] Unite mipsel and mips64el 4.9 gcc toolchains"
Elliott Hughes [Wed, 30 Jul 2014 23:20:06 +0000 (23:20 +0000)]
Merge "[MIPS] Unite mipsel and mips64el 4.9 gcc toolchains"

10 years agoMerge "Default to "prescott" as our baseline i686 host build architecture."
Stephen Hines [Tue, 22 Jul 2014 20:45:32 +0000 (20:45 +0000)]
Merge "Default to "prescott" as our baseline i686 host build architecture."

10 years agoDefault to "prescott" as our baseline i686 host build architecture.
Stephen Hines [Sat, 19 Jul 2014 00:34:14 +0000 (17:34 -0700)]
Default to "prescott" as our baseline i686 host build architecture.

Bug: 16408818

Change-Id: I41760605bf9f4589859afd20cc96ccbedb6fe82c

10 years agoMerge "Put only src in FRAMEWORKS_SUPPORT_JAVA_SRC_DIRS for multidex"
Yohann Roussel [Fri, 18 Jul 2014 14:40:29 +0000 (14:40 +0000)]
Merge "Put only src in FRAMEWORKS_SUPPORT_JAVA_SRC_DIRS for multidex"

10 years agoMerge "Move multidex support library"
Yohann Roussel [Fri, 18 Jul 2014 10:51:33 +0000 (10:51 +0000)]
Merge "Move multidex support library"

10 years agoMerge "Stubs of android-support-multidex-instrumentation."
Yohann Roussel [Fri, 18 Jul 2014 10:51:19 +0000 (10:51 +0000)]
Merge "Stubs of android-support-multidex-instrumentation."

10 years agoMerge "Generates SDK stubs of android-support-multidex"
Yohann Roussel [Fri, 18 Jul 2014 10:51:09 +0000 (10:51 +0000)]
Merge "Generates SDK stubs of android-support-multidex"