OSDN Git Service

android-x86/build.git
9 years agoMerge "Switch qemud to permissive_or_unconfined()."
Daniel Cashman [Thu, 6 Nov 2014 18:50:40 +0000 (18:50 +0000)]
Merge "Switch qemud to permissive_or_unconfined()."

9 years agoSwitch qemud to permissive_or_unconfined().
Stephen Smalley [Thu, 6 Nov 2014 14:36:40 +0000 (09:36 -0500)]
Switch qemud to permissive_or_unconfined().

Switch the qemud domain from unconfined_domain() to
permissive_or_unconfined() so that we can start collecting and
addressing denials in -userdebug/-eng builds.

Also allow access to the serial device.

Change-Id: I9c7a6ddc8c2e64bfc6c5bb896eed1729ab205d60
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
9 years agoMerge "Remove stale dexopt flags."
Ian Rogers [Wed, 5 Nov 2014 23:21:40 +0000 (23:21 +0000)]
Merge "Remove stale dexopt flags."

9 years agoRemove stale dexopt flags.
Ian Rogers [Wed, 5 Nov 2014 22:53:53 +0000 (14:53 -0800)]
Remove stale dexopt flags.

Change-Id: Ib58d39012eabd5f854b9434ab922340fcfe43b57

9 years agoMerge "Force colorsheme to SVG, since darkblue doesn't exist on X11"
Ying Wang [Wed, 5 Nov 2014 18:36:36 +0000 (18:36 +0000)]
Merge "Force colorsheme to SVG, since darkblue doesn't exist on X11"

9 years agoMerge "definitions.mk: look for definitions.mk in device/*/build also"
Ying Wang [Wed, 5 Nov 2014 17:49:59 +0000 (17:49 +0000)]
Merge "definitions.mk: look for definitions.mk in device/*/build also"

9 years agoMerge "Use automatic color option with the latest clang."
Stephen Hines [Tue, 4 Nov 2014 17:41:36 +0000 (17:41 +0000)]
Merge "Use automatic color option with the latest clang."

9 years agoUse automatic color option with the latest clang.
Stephen Hines [Tue, 4 Nov 2014 07:39:49 +0000 (23:39 -0800)]
Use automatic color option with the latest clang.

Bug: 18187181

Now that I checked in the latest prebuilts, clang will automatically use
color on terminals and no color on redirection to files or non-terminals.

Change-Id: I9be00c44947946cc18ce59c936b7f45d0ce2b6fc

9 years agoMerge "Never use ASAN for acp."
Dan Albert [Mon, 3 Nov 2014 17:36:13 +0000 (17:36 +0000)]
Merge "Never use ASAN for acp."

9 years agoMerge "Replacement for gdbclient"
Dmitriy Ivanov [Sat, 1 Nov 2014 01:13:38 +0000 (01:13 +0000)]
Merge "Replacement for gdbclient"

9 years agoReplacement for gdbclient
Dmitriy Ivanov [Fri, 31 Oct 2014 05:00:17 +0000 (22:00 -0700)]
Replacement for gdbclient

 Differences between this implementation and the old one:
 1. Resolves symbols/gdb based on device information (lunch
    target is irrelevant)
 2. Works with downloaded from build-server symbols
 3. Does not require user to specify exe file - detects it automatically

Change-Id: I4e7ce0a51868634593a9f104fe3f2fa67b54ca9f

9 years agoNever use ASAN for acp.
Dan Albert [Fri, 31 Oct 2014 23:30:26 +0000 (16:30 -0700)]
Never use ASAN for acp.

Since acp is needed to build the ASAN libs, we can't use ASAN to
instrument it. Since libhost is included statically in acp, we can't
instrument that either.

Change-Id: Idb389df945380b6ef447fc3d3ead8be27ec09011

9 years agoMerge "Label goldfish block devices with their own types."
Nick Kralevich [Fri, 31 Oct 2014 18:27:17 +0000 (18:27 +0000)]
Merge "Label goldfish block devices with their own types."

9 years agoLabel goldfish block devices with their own types.
Stephen Smalley [Fri, 31 Oct 2014 18:19:55 +0000 (14:19 -0400)]
Label goldfish block devices with their own types.

This assigns block device types as per device/generic/goldfish/fstab.goldfish.
Eliminates (permissive) avc:  denied messages for fsck.

Change-Id: Ia72bdfb16975f051548b6b2c0636e4f907295789
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
9 years agoMerge "Mark qemu_device as a mlstrustedobject."
Nick Kralevich [Fri, 31 Oct 2014 17:30:14 +0000 (17:30 +0000)]
Merge "Mark qemu_device as a mlstrustedobject."

9 years agoMark qemu_device as a mlstrustedobject.
Stephen Smalley [Fri, 31 Oct 2014 17:28:09 +0000 (13:28 -0400)]
Mark qemu_device as a mlstrustedobject.

Allow apps running with any level to write to it.

Change-Id: I8fca1f377e14c624db5273bdacf8400addc6210d
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
9 years agoMerge "Add -fcolor-diagnostics to global clang cflags."
Ying Wang [Thu, 30 Oct 2014 21:18:02 +0000 (21:18 +0000)]
Merge "Add -fcolor-diagnostics to global clang cflags."

9 years agoAdd -fcolor-diagnostics to global clang cflags.
Ying Wang [Thu, 30 Oct 2014 19:22:29 +0000 (12:22 -0700)]
Add -fcolor-diagnostics to global clang cflags.

Bug: 18187181
Change-Id: Ifcbe34b685b1dfd7ffc801bcdad7bd8208e45f86

9 years agoMerge "Pull in latest protolib when using LOCAL_PROTOC_OPTIMIZE_TYPE."
Jeff Davidson [Wed, 29 Oct 2014 17:35:16 +0000 (17:35 +0000)]
Merge "Pull in latest protolib when using LOCAL_PROTOC_OPTIMIZE_TYPE."

9 years agoMerge "Specify -mcpu=krait for clang."
Ian Rogers [Tue, 28 Oct 2014 23:03:36 +0000 (23:03 +0000)]
Merge "Specify -mcpu=krait for clang."

9 years agoSpecify -mcpu=krait for clang.
Ian Rogers [Tue, 28 Oct 2014 22:50:02 +0000 (15:50 -0700)]
Specify -mcpu=krait for clang.

Change-Id: I64682cddf57246341c1727ca16c56f7ce0c6fd0a

9 years agodefinitions.mk: look for definitions.mk in device/*/build also
Andrew Boie [Tue, 28 Oct 2014 15:32:11 +0000 (08:32 -0700)]
definitions.mk: look for definitions.mk in device/*/build also

build/core/Makefile looks for build tasks in either device/*/build/tasks
or vendor/*/build/tasks. Do the same with vendor-specific definitions.mk.

Change-Id: Ib4fd00a1d0effe8e347382a922da101ce26bf696
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
9 years agoForce colorsheme to SVG, since darkblue doesn't exist on X11
Marcos Marado [Wed, 22 Oct 2014 13:19:34 +0000 (14:19 +0100)]
Force colorsheme to SVG, since darkblue doesn't exist on X11

Change-Id: I1b9e13dd4ca63ba27a49a55d95130bdceb187669

9 years agoMerge "Add OpenJDK 8 experimental support"
Neil Fuller [Fri, 24 Oct 2014 08:16:03 +0000 (08:16 +0000)]
Merge "Add OpenJDK 8 experimental support"

9 years agoMerge "Add unknown flag to CLANG_CONFIG_UNKNOWN_CFLAGS."
Chih-Hung Hsieh [Fri, 24 Oct 2014 00:26:20 +0000 (00:26 +0000)]
Merge "Add unknown flag to CLANG_CONFIG_UNKNOWN_CFLAGS."

9 years agoAdd unknown flag to CLANG_CONFIG_UNKNOWN_CFLAGS.
Chih-Hung Hsieh [Thu, 23 Oct 2014 23:39:09 +0000 (16:39 -0700)]
Add unknown flag to CLANG_CONFIG_UNKNOWN_CFLAGS.

BUG: 18108271
Change-Id: Id929cad31340d2946027603c1c8c8fb1cb60f66a

9 years agoMerge "Don't sort shared library link order."
Dan Albert [Thu, 23 Oct 2014 22:20:01 +0000 (22:20 +0000)]
Merge "Don't sort shared library link order."

9 years agoDon't sort shared library link order.
Dan Albert [Thu, 23 Oct 2014 21:04:02 +0000 (14:04 -0700)]
Don't sort shared library link order.

Only sort the list of shared libraries used for naming dependencies,
not the order they are actually linked in. The order in which shared
libraries appear to the linker affects which symbols get used if there
is a multiply defined symbol.

Also link system shared libraries _after_ user provided libraries,
since a user will want their functions to override the system's if
they exist.

Change-Id: I071059d940d40a648d69d90e0699073ef520138a

9 years agoMerge "Raise x86 arch requirement to prescott."
Chih-Hung Hsieh [Thu, 23 Oct 2014 20:47:29 +0000 (20:47 +0000)]
Merge "Raise x86 arch requirement to prescott."

9 years agoPull in latest protolib when using LOCAL_PROTOC_OPTIMIZE_TYPE.
Jeff Davidson [Tue, 16 Sep 2014 00:51:11 +0000 (17:51 -0700)]
Pull in latest protolib when using LOCAL_PROTOC_OPTIMIZE_TYPE.

If a module is explicitly depending on a versioned protolib, we strip
the dependency and log a warning so the unneeded dependency can be
removed.

Change-Id: I949d32fb5126f1c05e2a6ed48f6636a4a9b15a48

9 years agoAdd OpenJDK 8 experimental support
Neil Fuller [Thu, 16 Oct 2014 09:23:03 +0000 (10:23 +0100)]
Add OpenJDK 8 experimental support

Targeting 1.7: just adding support for the tools.

Various issues exist with OpenJDK 8: it doesn't build to completion
yet.

Change-Id: I54942f497264234e4bef488c8d17d243b4ef2f14

9 years agoMerge "Remove Java 6 build support"
Neil Fuller [Thu, 23 Oct 2014 09:00:13 +0000 (09:00 +0000)]
Merge "Remove Java 6 build support"

9 years agoRaise x86 arch requirement to prescott.
Chih-Hung Hsieh [Wed, 22 Oct 2014 21:35:08 +0000 (14:35 -0700)]
Raise x86 arch requirement to prescott.

Atomic functions used in external/libcxx/include/atomic when compiled with Clang
will require intrinsic functions exist only for prescott or newer CPUs.

BUG: 17530542
Change-Id: I0c9660ed2ffa75b940981eb8165d88934b39aec5

9 years agoMerge "Set default to Clang integrated assembler."
Chih-Hung Hsieh [Wed, 22 Oct 2014 21:07:47 +0000 (21:07 +0000)]
Merge "Set default to Clang integrated assembler."

9 years agoSet default to Clang integrated assembler.
Chih-Hung Hsieh [Wed, 22 Oct 2014 16:21:53 +0000 (09:21 -0700)]
Set default to Clang integrated assembler.

BUG: 17820427
Change-Id: I10a6ddd94aad083665164d7939990e148b3b6efb

9 years agoRemove Java 6 build support
Neil Fuller [Thu, 16 Oct 2014 09:23:03 +0000 (10:23 +0100)]
Remove Java 6 build support

Change-Id: I9754844af58e3f81d7eb9dae286128d17a2cb56c

9 years agoMerge "Reset LOCAL_2ND_ARCH_VAR_PREFIX before referencing it."
Ying Wang [Wed, 22 Oct 2014 01:37:15 +0000 (01:37 +0000)]
Merge "Reset LOCAL_2ND_ARCH_VAR_PREFIX before referencing it."

9 years agoReset LOCAL_2ND_ARCH_VAR_PREFIX before referencing it.
Ying Wang [Wed, 22 Oct 2014 01:34:30 +0000 (18:34 -0700)]
Reset LOCAL_2ND_ARCH_VAR_PREFIX before referencing it.

Change-Id: I9182ce1efe09609100d19c9fae2bc4fe7358dfc0

9 years agoMerge "Add -Wno-unused-command-line-argument to clang cflags to enable ccache."
Ying Wang [Tue, 21 Oct 2014 19:19:15 +0000 (19:19 +0000)]
Merge "Add -Wno-unused-command-line-argument to clang cflags to enable ccache."

9 years agoAdd -Wno-unused-command-line-argument to clang cflags to enable ccache.
Ying Wang [Fri, 17 Oct 2014 22:07:24 +0000 (15:07 -0700)]
Add -Wno-unused-command-line-argument to clang cflags to enable ccache.

Previously ccache is disabled when it fails calling clang's preprocessor with
unused arguments (such as '-Wa,--noexecstack') in the command line.

See http://petereisentraut.blogspot.com/2011/05/ccache-and-clang.html.
(-Qunused-arguments suppresses more than
-Wno-unused-command-line-argument does.)

Change-Id: I6cde307632c8395c053eb28063d7844d93070562

9 years agoMerge "We also need -rdynamic for host ASAN."
Dan Albert [Mon, 20 Oct 2014 22:33:49 +0000 (22:33 +0000)]
Merge "We also need -rdynamic for host ASAN."

9 years agoWe also need -rdynamic for host ASAN.
Dan Albert [Mon, 20 Oct 2014 20:30:00 +0000 (13:30 -0700)]
We also need -rdynamic for host ASAN.

Change-Id: Iee33ca85c25d9bf126be8318a3b837074ab10076

9 years agoMerge "Add support for ASAN in host modules."
Dan Albert [Mon, 20 Oct 2014 20:24:07 +0000 (20:24 +0000)]
Merge "Add support for ASAN in host modules."

9 years agoAdd support for ASAN in host modules.
Dan Albert [Mon, 20 Oct 2014 18:37:18 +0000 (11:37 -0700)]
Add support for ASAN in host modules.

Change-Id: Id9ed83499e0eb995f06e845c3153a50677d768b8

9 years agoMerge "Remove unnecessary 10.8-specific build rules"
Stephen Hines [Mon, 20 Oct 2014 18:06:34 +0000 (18:06 +0000)]
Merge "Remove unnecessary 10.8-specific build rules"

9 years agoMerge "Fix breakage for x86_64 static executables."
Dan Albert [Sat, 18 Oct 2014 01:05:36 +0000 (01:05 +0000)]
Merge "Fix breakage for x86_64 static executables."

9 years agoRemove unnecessary 10.8-specific build rules
Stephen Hines [Sat, 18 Oct 2014 00:36:42 +0000 (17:36 -0700)]
Remove unnecessary 10.8-specific build rules

We no longer need gcc for host builds, since those all run through clang. This
header include, however, triggers errors about SSE intrinsics by replacing
the more relevant include dirs that we should be using.

Change-Id: I26a949f0109de8e6e2d1f09cb8127be927549cc4

9 years agoFix breakage for x86_64 static executables.
Dan Albert [Fri, 17 Oct 2014 23:58:38 +0000 (16:58 -0700)]
Fix breakage for x86_64 static executables.

Yikes. Don't know how this slipped through code review.

I had actually mentioned a need for cleanup in this part of the build
system earlier, since the amount of duplication between
transform-o-to-* for each arch means we might fix things incorrectly
in one of them (as I've just shown). Similarly, code reviewers are
likely to skim each one after the first if they all look close enough
(which is presumably what happened here).

Change-Id: I9b85914510f0b114485021deb97f42740712aae5

9 years agoMerge "Use libstc++ for the name of bionic's STL."
Dan Albert [Fri, 17 Oct 2014 17:44:36 +0000 (17:44 +0000)]
Merge "Use libstc++ for the name of bionic's STL."

9 years agoUse libstc++ for the name of bionic's STL.
Dan Albert [Fri, 17 Oct 2014 04:18:15 +0000 (21:18 -0700)]
Use libstc++ for the name of bionic's STL.

It is libstdc++.so, after all, and the naming makes sense for the host
this way (since it also uses libstdc++).

Change-Id: If37ffa015f7967a928ea47a290363d7696c4ce35

9 years agoMerge "Add LPAE to dex2oat ISA feature list."
Ian Rogers [Fri, 17 Oct 2014 03:56:42 +0000 (03:56 +0000)]
Merge "Add LPAE to dex2oat ISA feature list."

9 years agoMerge "Fix Java detection on some Linux distributions"
Ying Wang [Thu, 16 Oct 2014 20:58:36 +0000 (20:58 +0000)]
Merge "Fix Java detection on some Linux distributions"

9 years agoAdd LPAE to dex2oat ISA feature list.
Ian Rogers [Thu, 16 Oct 2014 20:06:05 +0000 (13:06 -0700)]
Add LPAE to dex2oat ISA feature list.

Bug: 17993736

Change-Id: Ibdf0df017a582d7d807dff17f0392dbf28475e02

9 years agoMerge "Move definition of -D__ARM_FEATURE_LPAE=1 cflag to top-level."
Ian Rogers [Thu, 16 Oct 2014 20:02:25 +0000 (20:02 +0000)]
Merge "Move definition of -D__ARM_FEATURE_LPAE=1 cflag to top-level."

9 years agoMerge "Never use stlport on the host."
Dan Albert [Thu, 16 Oct 2014 18:01:45 +0000 (18:01 +0000)]
Merge "Never use stlport on the host."

9 years agoNever use stlport on the host.
Dan Albert [Thu, 16 Oct 2014 16:53:51 +0000 (09:53 -0700)]
Never use stlport on the host.

LOCAL_CXX_STL := stlport should just use the default STL on the host.

Change-Id: Iede1b2d8884e237a10e000e5835addb768c8f78d

9 years agoFix Java detection on some Linux distributions
Bernhard Rosenkraenzer [Wed, 1 Oct 2014 01:30:11 +0000 (03:30 +0200)]
Fix Java detection on some Linux distributions

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

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

Using realpath and readlink where possible should work in all cases.

Change-Id: Ic60ac84a5b263dc1c1f2960092a7549d1024ed2e
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
9 years agoMove definition of -D__ARM_FEATURE_LPAE=1 cflag to top-level.
Ian Rogers [Wed, 15 Oct 2014 22:44:16 +0000 (15:44 -0700)]
Move definition of -D__ARM_FEATURE_LPAE=1 cflag to top-level.

LPAE indicates better instructions can be used when atomicity guarantees are
needed. However, LPAE's presence isn't advertised by clang/GCC. We fake an
ARM feature to advertise its presence on architectures where it is.
Also, add a TODO documenting that cortex-a15 is not the correct CPU variant
for krait.

Change-Id: I02a1248025c32d94eca0bc8a249dc524f1ac9c36

9 years agoMerge "Link compiler-rt in the correct order."
Dan Albert [Tue, 14 Oct 2014 23:59:26 +0000 (23:59 +0000)]
Merge "Link compiler-rt in the correct order."

9 years agoLink compiler-rt in the correct order.
Dan Albert [Tue, 14 Oct 2014 17:45:33 +0000 (10:45 -0700)]
Link compiler-rt in the correct order.

The compiler run-time library should always be the _last_ thing linked
when building static executables. This was being done correctly for
libgcc, but not when using compiler-rt.

Change-Id: I0689dc35f55caad2fe74c0cbb4cbe3008ded349a

9 years agoMerge "Remove "-mstackrealign" option from all x86 builds."
Elliott Hughes [Mon, 13 Oct 2014 22:35:58 +0000 (22:35 +0000)]
Merge "Remove "-mstackrealign" option from all x86 builds."

9 years agoRemove "-mstackrealign" option from all x86 builds.
Alexander Ivchenko [Tue, 16 Sep 2014 12:30:41 +0000 (16:30 +0400)]
Remove "-mstackrealign" option from all x86 builds.

For ndk docs change, please refer to:
https://android-review.googlesource.com/#/c/110100/

Change-Id: I8428e7a979eb02441066aeeee43ce693d4d0dc8d
Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
9 years agoMerge "Introduce per-product per-module dex-preopt config"
Ying Wang [Fri, 10 Oct 2014 02:13:10 +0000 (02:13 +0000)]
Merge "Introduce per-product per-module dex-preopt config"

9 years agoMerge "Docs: Making source.android.com headers match those of developer.android.com"
Clay Murphy [Thu, 9 Oct 2014 17:33:27 +0000 (17:33 +0000)]
Merge "Docs: Making source.android.com headers match those of developer.android.com"

9 years agoMerge "Add -fPIC as default Clang mips ASFLAGS."
Chih-Hung Hsieh [Thu, 9 Oct 2014 17:17:07 +0000 (17:17 +0000)]
Merge "Add -fPIC as default Clang mips ASFLAGS."

9 years agoMerge "LOCAL_NATIVE_COVERAGE should imply -O0."
Dan Albert [Thu, 9 Oct 2014 00:56:23 +0000 (00:56 +0000)]
Merge "LOCAL_NATIVE_COVERAGE should imply -O0."

9 years agoLOCAL_NATIVE_COVERAGE should imply -O0.
Dan Albert [Wed, 8 Oct 2014 06:37:53 +0000 (23:37 -0700)]
LOCAL_NATIVE_COVERAGE should imply -O0.

Optimization can lead to incorrect coverage results.

Change-Id: I8ade9ab246e292d26ac18821baf9970e29dc1a1f

9 years agoAdd -fPIC as default Clang mips ASFLAGS.
Chih-Hung Hsieh [Wed, 8 Oct 2014 22:41:29 +0000 (15:41 -0700)]
Add -fPIC as default Clang mips ASFLAGS.

For mips target, gcc passes -KPIC to assembler by default,
but clang passes -KPIC only if -fPIC or -fpic is given.

BUG: 17895505
Change-Id: I7803adaf8ad7b40c6473872b67f4e0b4c502b38a

9 years agoIntroduce per-product per-module dex-preopt config
Ying Wang [Wed, 8 Oct 2014 01:07:23 +0000 (18:07 -0700)]
Introduce per-product per-module dex-preopt config

- Added LOCAL_DEX_PREOPT_FLAGS to pass extra flags to dex2oat.
- Added macro add-product-dex-preopt-module-config to specify almost
  arbitrary dex-preopt config/flags to modules in product
  configuration:
  $(call \
  add-product-dex-preopt-module-config,<module_name_list>,<config_or_flags>)
  How <config_or_flags> is interpreted is decided by
  dex_preopt_odex_install.mk and dex2oat. For now if it's "disable" we
  disable dexpreopt for the given modules; otherwise pass it to dex2oat as
  command line flags.
- If there are multiple configs for the same module in the product
  inheritance, the first takes precedence.
- Added PRODUCT_DEX_PREOPT_DEFAULT_FLAGS so you can specify default
  dex2oat flags in product configuration.
- Added PRODUCT_DEX_PREOPT_BOOT_FLAGS to specify flags of building boot.oat.

Bug: 17791867
Change-Id: I1b2955e8e51039e94d1ff43a3265a8d03598632c

9 years agoMerge "Apply LOCAL_CXX_STL to also prebuilts."
Ying Wang [Tue, 7 Oct 2014 21:11:30 +0000 (21:11 +0000)]
Merge "Apply LOCAL_CXX_STL to also prebuilts."

9 years agoApply LOCAL_CXX_STL to also prebuilts.
Ying Wang [Tue, 7 Oct 2014 20:03:29 +0000 (13:03 -0700)]
Apply LOCAL_CXX_STL to also prebuilts.

Because LOCAL_CXX_STL modifies a module's required shared libaries,
we need this for also prebuilt shared libraries and executables.

Change-Id: I418c26143999a613c40aadf990f131b123e0ac3d

9 years agoMerge "Fix typo."
Nicolas Geoffray [Tue, 7 Oct 2014 10:19:16 +0000 (10:19 +0000)]
Merge "Fix typo."

9 years agoFix typo.
Nicolas Geoffray [Tue, 7 Oct 2014 10:17:09 +0000 (11:17 +0100)]
Fix typo.

Change-Id: I738ad878a2961d118b5a89bf7d434606df2fad92

9 years agoMerge "Make which dex2oat version to use configurable."
Nicolas Geoffray [Tue, 7 Oct 2014 09:38:17 +0000 (09:38 +0000)]
Merge "Make which dex2oat version to use configurable."

9 years agoMake which dex2oat version to use configurable.
Nicolas Geoffray [Mon, 6 Oct 2014 13:53:59 +0000 (14:53 +0100)]
Make which dex2oat version to use configurable.

Change-Id: Ic13cf6f9dfb117193a5101781945c501d138955c

9 years agoMerge "Stash original values of CC and CXX."
Dan Albert [Mon, 6 Oct 2014 18:33:59 +0000 (18:33 +0000)]
Merge "Stash original values of CC and CXX."

9 years agoMerge "Remove unused my_compiler_dependencies."
Dan Albert [Mon, 6 Oct 2014 18:33:41 +0000 (18:33 +0000)]
Merge "Remove unused my_compiler_dependencies."

9 years agoRemove unused my_compiler_dependencies.
Dan Albert [Fri, 3 Oct 2014 20:29:42 +0000 (13:29 -0700)]
Remove unused my_compiler_dependencies.

my_compiler_dependencies was never assigned to, but the way it was
included in the rules prevented the user from being able to use | in
LOCAL_ADDITIONAL_DEPENDENCIES. Since it is unneeded, just remove it.

Change-Id: I74bb59e81b97756296060eea5b7a42909be50130

9 years agoStash original values of CC and CXX.
Dan Albert [Sat, 4 Oct 2014 20:51:57 +0000 (13:51 -0700)]
Stash original values of CC and CXX.

This way we can still access the real compiler as opposed to a wrapped
one.

Change-Id: I17ba30416a3eb8eda056c67faaa8b5957e70caea

9 years agoDocs: Making source.android.com headers match those of developer.android.com
Clay Murphy [Fri, 3 Oct 2014 21:58:50 +0000 (14:58 -0700)]
Docs: Making source.android.com headers match those of developer.android.com

Bug: 17814801
Change-Id: I128a76b32b0d92118f621062c62d72460313f4d6

9 years agoMerge "Remove HAVE_(GNU|BSD)_QSORT_R from AndroidConfig.h."
Dan Albert [Wed, 1 Oct 2014 20:35:56 +0000 (20:35 +0000)]
Merge "Remove HAVE_(GNU|BSD)_QSORT_R from AndroidConfig.h."

9 years agoRemove HAVE_(GNU|BSD)_QSORT_R from AndroidConfig.h.
Dan Albert [Wed, 1 Oct 2014 17:12:25 +0000 (10:12 -0700)]
Remove HAVE_(GNU|BSD)_QSORT_R from AndroidConfig.h.

Change-Id: If2018529a6c067b63e1a59c16c911d63ec2ebbf4

9 years agoMerge "Update prebuilt RS clcore location."
Tim Murray [Tue, 30 Sep 2014 22:34:58 +0000 (22:34 +0000)]
Merge "Update prebuilt RS clcore location."

9 years agoUpdate prebuilt RS clcore location.
Tim Murray [Tue, 30 Sep 2014 22:08:03 +0000 (15:08 -0700)]
Update prebuilt RS clcore location.

Change-Id: Iebf255d7cc093b74e08b1f1378d9b397fd9dd3b9

9 years agoMerge "Clear all LOCAL_CLANG_*FLAGS*."
Chih-Hung Hsieh [Tue, 30 Sep 2014 22:05:08 +0000 (22:05 +0000)]
Merge "Clear all LOCAL_CLANG_*FLAGS*."

9 years agoClear all LOCAL_CLANG_*FLAGS*.
Chih-Hung Hsieh [Tue, 30 Sep 2014 21:23:14 +0000 (14:23 -0700)]
Clear all LOCAL_CLANG_*FLAGS*.

Although only some of these flags will be used for some
targets or hosts, they must all be cleared to avoid carrying
over from one project to another.

BUG: 17677366
Change-Id: I6d26fa7e5bf2ff11758728810d4874f3759aebe7

9 years agoMerge "java_alternative_checked_module takes precedence."
Ying Wang [Tue, 30 Sep 2014 00:18:53 +0000 (00:18 +0000)]
Merge "java_alternative_checked_module takes precedence."

9 years agojava_alternative_checked_module takes precedence.
Ying Wang [Tue, 30 Sep 2014 00:10:34 +0000 (17:10 -0700)]
java_alternative_checked_module takes precedence.

java_alternative_checked_module takes precedence over
LOCAL_BUILT_MODULE.

Change-Id: I84f0d65dbc05f4686817aa835d003eb0101af146

9 years agoMerge "Don't modify LOCAL_CHECKED_MODULE."
Ying Wang [Mon, 29 Sep 2014 22:39:54 +0000 (22:39 +0000)]
Merge "Don't modify LOCAL_CHECKED_MODULE."

9 years agoDon't modify LOCAL_CHECKED_MODULE.
Ying Wang [Mon, 29 Sep 2014 21:34:32 +0000 (14:34 -0700)]
Don't modify LOCAL_CHECKED_MODULE.

Use a temporary variable my_checked_module instead,
so that we don't override the 2nd_arch's checked module with the
1st_arch's in multilib build.
Note that by default we checkbuild 2nd_arch only for host modules,
but not for target modules.
We enable multlib for target modules by default, it would take too
much time to checkbuild for both archs. For 32-bit modules actually we
can checkbuild a 32-bit product.

Change-Id: I0a5ba75699225b7641442673483731a8fd360d61

9 years agoMerge "Remove obsolete libffi"
Brian Carlstrom [Mon, 29 Sep 2014 21:31:39 +0000 (21:31 +0000)]
Merge "Remove obsolete libffi"

9 years agoRemove obsolete libffi
Brian Carlstrom [Mon, 29 Sep 2014 20:05:03 +0000 (13:05 -0700)]
Remove obsolete libffi

Change-Id: I092e643be8bde9dbf00dd0d3314275e1ac3db409

9 years agoMerge "Add domains for goldfish services."
Nick Kralevich [Sun, 28 Sep 2014 00:14:49 +0000 (00:14 +0000)]
Merge "Add domains for goldfish services."

9 years agoMerge "Add local Clang+target specific flags."
Chih-Hung Hsieh [Sat, 27 Sep 2014 02:40:28 +0000 (02:40 +0000)]
Merge "Add local Clang+target specific flags."

9 years agoAdd local Clang+target specific flags.
Chih-Hung Hsieh [Sat, 27 Sep 2014 00:13:48 +0000 (17:13 -0700)]
Add local Clang+target specific flags.

BUG: 17677366
Change-Id: I75522fb56fdf4d27ea1f5f0ae15866b13ae6e206

9 years agoMerge "Fix detection of C++ STL for tests."
Dan Albert [Sat, 27 Sep 2014 00:01:54 +0000 (00:01 +0000)]
Merge "Fix detection of C++ STL for tests."

9 years agoFix detection of C++ STL for tests.
Dan Albert [Fri, 26 Sep 2014 22:45:33 +0000 (15:45 -0700)]
Fix detection of C++ STL for tests.

Target tests weren't approrpiately using the libc++ gtest for
libc++_static, and the hosts tests were still using the old check.

Change-Id: I13813d5f09673b144b2dfead93eb81cb4bae0e34

9 years agoMerge "Remove unnecessary CLANG_CONFIG_EXTRA_*_C_INCLUDES variables."
Stephen Hines [Fri, 26 Sep 2014 17:53:33 +0000 (17:53 +0000)]
Merge "Remove unnecessary CLANG_CONFIG_EXTRA_*_C_INCLUDES variables."

9 years agoMerge "Use new variable LLVM_PREBUILTS_VERSION to simplify path construction."
Stephen Hines [Fri, 26 Sep 2014 17:53:22 +0000 (17:53 +0000)]
Merge "Use new variable LLVM_PREBUILTS_VERSION to simplify path construction."

9 years agoMerge "Test __GLIBC__ is defined before using its value."
Ian Rogers [Fri, 26 Sep 2014 15:45:40 +0000 (15:45 +0000)]
Merge "Test __GLIBC__ is defined before using its value."