summaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* Remove HAVE_(GNU|BSD)_QSORT_R from AndroidConfig.h.Dan Albert2014-10-016-308/+1
| | | | Change-Id: If2018529a6c067b63e1a59c16c911d63ec2ebbf4
* Merge "Update prebuilt RS clcore location."Tim Murray2014-09-301-1/+1
|\
| * Update prebuilt RS clcore location.Tim Murray2014-09-301-1/+1
| | | | | | | | Change-Id: Iebf255d7cc093b74e08b1f1378d9b397fd9dd3b9
* | Clear all LOCAL_CLANG_*FLAGS*.Chih-Hung Hsieh2014-09-301-0/+8
|/ | | | | | | | | 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
* java_alternative_checked_module takes precedence.Ying Wang2014-09-291-4/+2
| | | | | | | java_alternative_checked_module takes precedence over LOCAL_BUILT_MODULE. Change-Id: I84f0d65dbc05f4686817aa835d003eb0101af146
* Don't modify LOCAL_CHECKED_MODULE.Ying Wang2014-09-291-9/+11
| | | | | | | | | | | | | 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
* Merge "Add local Clang+target specific flags."Chih-Hung Hsieh2014-09-272-0/+20
|\
| * Add local Clang+target specific flags.Chih-Hung Hsieh2014-09-262-0/+20
| | | | | | | | | | BUG: 17677366 Change-Id: I75522fb56fdf4d27ea1f5f0ae15866b13ae6e206
* | Fix detection of C++ STL for tests.Dan Albert2014-09-262-2/+9
| | | | | | | | | | | | | | 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
* | Merge "Remove unnecessary CLANG_CONFIG_EXTRA_*_C_INCLUDES variables."Stephen Hines2014-09-262-8/+1
|\ \
| * | Remove unnecessary CLANG_CONFIG_EXTRA_*_C_INCLUDES variables.Stephen Hines2014-09-252-8/+1
| | | | | | | | | | | | | | | | | | | | | These aren't needed now that we only use the compiler/headers that exist in the prebuilts/clang directory. Change-Id: I9978efb10815e92577d45629db324e0a5094f880
* | | Merge "Use new variable LLVM_PREBUILTS_VERSION to simplify path construction."Stephen Hines2014-09-261-2/+3
|\ \ \ | |/ / | | / | |/ |/|
| * Use new variable LLVM_PREBUILTS_VERSION to simplify path construction.Lai Wei-Chih2014-09-241-2/+3
| | | | | | | | | | | | | | This removes the hard-coded '3.5' in the various paths and makes switching to a new toolchain easier from the command line (m LLVM_PREBUILTS_VERSION=3.6). Change-Id: I46b10eb2fc177a03528de9c7b433f8647f632081
* | Test __GLIBC__ is defined before using its value.Ian Rogers2014-09-251-1/+1
|/ | | | | | Avoids -Wundef warning. Change-Id: I52d8223500fe31cdf7023e32e96df75e33eb2f7e
* Merge "Add option for generating coverage info."Dan Albert2014-09-2411-9/+59
|\
| * Add option for generating coverage info.Dan Albert2014-09-2311-9/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To enable building with coverage, the environment variable NATIVE_COVERAGE must be set to true. Set `LOCAL_NATIVE_COVERAGE := true` to generate coverage information for a given component. This is currently not supported for clang (b/17574078, b/17583330). If static library A is included in a binary B (dynamic or static executable, or shared library), and A is built with coverage information, B is required to link with libgcov.a. Since the make does not offer a good way to track this dependency, link libgcov.a even if LOCAL_NATIVE_COVERAGE is not set (but still guarded by NATIVE_COVERAGE). This ensures that all of the libgcov dependencies will always be resolved, and causes no change in the resulting binary if coverage is not used. Bug: 10134489 Change-Id: Id5a19f2c215e4be80e6eae27ecc19b582f2f6813
* | Remove unused HAVE_OFF64_T.Elliott Hughes2014-09-238-40/+0
| | | | | | | | Change-Id: I24acf64efcd0fd84d5dda342d4c4293fa59fae1a
* | Remove the unused IPC macros.Elliott Hughes2014-09-228-78/+1
| | | | | | | | | | | | | | There are still a couple of references to HAVE_WIN32_IPC to be dealt with later. Change-Id: Id131fbf2e96d4c1c7bb98629779045375bd5f85f
* | build: remove HAVE_OOM_ADJTodd Poynor2014-09-228-56/+0
| | | | | | | | | | | | This define is no longer used. Change-Id: I6615d6e4aa09f71b7c4c435ccb83a07bba91b6dc
* | Merge "Fix recovery image build for 32p"Ying Wang2014-09-201-6/+6
|\ \
| * | Fix recovery image build for 32pBruce Beare2014-09-151-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When building for 32p, we need to be explicit that we wish to build the 32bit version of the binaries that will be placed in the recovery image. The recovery image doesn't actually care... but if we are not explicit in this, the makefiles will ask for the 64bit binaries but the Android.mk for the binaries will supply the 32bit images (causing the build to fail).. Change-Id: I728912bc8e07726888fe8bed4352cbb373911cb7 Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
* | | Merge "Remove unused HAVE_EPOLL."Elliott Hughes2014-09-196-30/+0
|\ \ \
| * | | Remove unused HAVE_EPOLL.Elliott Hughes2014-09-196-30/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The only people who appear to be using this are actually using their own one. Change-Id: I349ed4ce3874c1b2f9bad56c93c8ccee88ae9432
* | | | Merge "Enable dalvik.vm.lockprof.threshold on eng builds in addition to ↵Brian Carlstrom2014-09-191-3/+2
|\ \ \ \ | |_|_|/ |/| | | | | | | userdebug"
| * | | Enable dalvik.vm.lockprof.threshold on eng builds in addition to userdebugBrian Carlstrom2014-09-191-3/+2
| | | | | | | | | | | | | | | | | | | | Bug: 17572009 Change-Id: I0cfc1aa2dd93a8dac21d23d813801c74ed37079a
* | | | Move selection of C++ STL into the build system.Dan Albert2014-09-189-23/+78
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Preparing for migration from stlport to libc++. STL selection is done with LOCAL_CXX_STL (valid values are default, none, libc++, libc++_static, stlport, stlport_static, bionic). The selection of the STL is as follows: if LOCAL_CXX_STL == 'default' ifdef LOCAL_SDK_VERSION Use whatever STL the other NDK options have selected. else Use bionic's libstdc++ for target, GNU libstdc++ for host. This is compatible with the existing build options. endif else if LOCAL_CXX_STL == 'stlport' Use stlport. else if LOCAL_CXX_STL == 'libc++' Use libc++. else if LOCAL_CXX_STL == '' Don't use any STL. endif endif Bug: 15193147 Change-Id: If712ba0ae7908d8147a69e29da5c453a183d6540
* | | Enable multilib odex only if TARGET_2ND_ARCH is defined.Ying Wang2014-09-151-2/+4
| | | | | | | | | | | | | | | | | | Bug: 17507247 Bug: 14694978 Change-Id: I160a37bc0970315054606829aa112b67eaee7d49
* | | Support to build apk odex for both arch.Ying Wang2014-09-153-50/+53
|/ / | | | | | | | | | | | | | | | | | | Build odex for both arch in multilib build if an app has LOCAL_MULTILIB := both. Refactored the common setup code to a separate file setup_one_odex.mk. Bug: 17409149 Bug: 14694978 Change-Id: I74c9426cd74fe0b0cb4811368f740a88ac2ae022
* | Missed one part of removing the vbox target.Dan Albert2014-09-101-6/+0
| | | | | | | | Change-Id: I8edb5252b5e71de042b79cb9eb2a497d89efb773
* | Refine TARGET_GLOBAL_CFLAGS for x86 and x86_64:Alexander Ivchenko2014-09-092-5/+0
| | | | | | | | | | | | | | | | Remove -msse2 for x86 (-mssse3 should be provided by the compiler). Remove -fPIC (compiler provides by default). Remove -fno-inline-functions-called-once. Change-Id: Ibb29934224c4eedfff926dc72c3b6342c1861ac9
* | Add LOCAL_POST_LINK_CMD.Ying Wang2014-09-052-0/+3
| | | | | | | | | | | | | | | | | | For now we support LOCAL_POST_LINK_CMD only for static executables. This fixed the hack of building linker which need to insert additional step after link. Bug: 17403674 Change-Id: Iefdfe1e3fab3a30c5d4ad701d46f931481eab572
* | Add LOCAL_CLANG_*FLAGS for clang only flags.Chih-Hung Hsieh2014-09-042-0/+8
| | | | | | | | | | | | To be used only for some modules. Change-Id: I107ec37f11f738f860598f0c86c4ad7ec20c9011
* | Merge "Add LOCAL_NO_FPIE."Tim Murray2014-09-033-1/+5
|\ \
| * | Add LOCAL_NO_FPIE.Tim Murray2014-09-033-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | Not all executables should be built with -pie. bug 15814177 Change-Id: I402e8a531866b507ee80a0bf677f9f3551ca7693
* | | Merge "[MIPS64] Modify the default MIPS64 build to MIPS64R6."Ying Wang2014-09-031-1/+1
|\ \ \ | |/ / |/| |
| * | [MIPS64] Modify the default MIPS64 build to MIPS64R6.Raghu Gandham2014-09-021-1/+1
| | | | | | | | | Change-Id: I797e4c2e5b69c6991545c26886b5b25e6f8c2a67
* | | Merge "Fix build breakage due to incorrect bcc_compat RS_TRIPLE."Stephen Hines2014-09-037-1/+7
|\ \ \
| * | | Fix build breakage due to incorrect bcc_compat RS_TRIPLE.Stephen Hines2014-09-027-1/+7
| |/ / | | | | | | | | | | | | | | | Bug: 17333374 Change-Id: I13582ce0cde86f7b3728aa4f45a5197438d65a2d (cherry picked from commit 52626d2a7b4767905e8a369ddc8316c1290ad156)
* | | Merge "[MIPSR6] R6 target options for clang"Ying Wang2014-09-032-9/+0
|\ \ \
| * | | [MIPSR6] R6 target options for clangDuane Sand2014-07-312-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pass along new R6 target arch options and floating point register model options to clang. Also pass along older arch variants. This patch depends on recent Mips extensions to 3.5 clang. The new options are rejected by aosp's current 3.5 clang. This only affects builds for mips32r6/mips64r6, not Android's default builds for mips32r2. Change-Id: Ic921dc14ced34a83143a82e322124b3ef035014a
* | | | Default host module to 64-bit except for SDK builds.Ying Wang2014-09-021-13/+11
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | Set "HOST_PREFER_32_BIT := true" only if "sdk" or "win_sdk" is among the make command line goals, or it's a MinGW windows build, which only builds host SDK tools. Bug: 13751317 Change-Id: I8ec1a97a5d1af065a153b16523c2ee3434d0dd71
* | | Merge "Fix RS_TRIPLE and RS_TRIPLE_CFLAGS."Stephen Hines2014-09-026-4/+10
|\ \ \
| * | | Fix RS_TRIPLE and RS_TRIPLE_CFLAGS.Stephen Hines2014-08-296-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 17333374 Add RS_TRIPLE_CFLAGS to ensure that we build with the proper defines on targets like x86. This also changes all build targets to use the proper 32/64-bit triples when creating their runtime libraries. Change-Id: I8f6175b1a14af6d03ee90f32069f3688ec227fb9
* | | | Merge "Add missing flags to x86 (both 32- and 64-bit) arch variants. Delete ↵Ying Wang2014-09-017-13/+16
|\ \ \ \ | | | | | | | | | | | | | | | x86_64-atom.mk as we don't support 64-bit on old Atom."
| * | | | Add missing flags to x86 (both 32- and 64-bit) arch variants.Varvara Rainchik2014-08-047-13/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Delete x86_64-atom.mk as we don't support 64-bit on old Atom. Change-Id: I0b9ab61cd9b840f32c30059cb3ba9704c733c42a Signed-off-by: Varvara Rainchik <varvara.rainchik@intel.com>
* | | | | Add --no-include-debug-symbols to avoid bloat in user buildsBrian Carlstrom2014-08-282-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 16938924 (cherry picked from commit 91b9d01b6ba2d3ea37928febce67d13c005a2336) Change-Id: I0b744e0aaacc11fe8983f22f56ffc546a07ae764
* | | | | Clang rejects -Wno-old-style-declaration flag.Chih-Hung Hsieh2014-08-261-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | BUG: 17258227 Change-Id: I2a35263298ffd8dd7cda25183e185274cbf62b7b
* | | | | Merge "Clang does not recognize -Wno-literal-suffix."Chih-Hung Hsieh2014-08-261-1/+2
|\ \ \ \ \
| * | | | | Clang does not recognize -Wno-literal-suffix.Chih-Hung Hsieh2014-08-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUG: 17258227 Change-Id: I2d98e68daa780fbe0e127605840ae7edcb4e9880
* | | | | | Merge "Push ISA features into system properties"Calin Juravle2014-08-261-0/+5
|\ \ \ \ \ \ | |/ / / / / |/| | | | |