summaryrefslogtreecommitdiffstats
path: root/core/executable_internal.mk
Commit message (Collapse)AuthorAgeFilesLines
* Add compile time check for statically linked libcDmitriy Ivanov2014-08-151-0/+7
| | | | | Bug: 17047392 Change-Id: I2718422e1832ec5df7f362812ae2728dfd939076
* Update the FDO support:Dehao Chen2014-07-301-2/+0
| | | | | | | | * Explicitly check BUILD_FDO_INSTRUMENT and BUILD_FDO_OPTIMIZE with true * Remove unnecessary target_libgcov * Update the profile collection path on device so that most app can have write access Change-Id: I5c1915a12ea37b2cb3c76a27e7104e47ad636928
* Add -latomic to all target buildsAndrew Hsieh2014-05-291-0/+2
| | | | | | | | | | | | | Projects using stdatomic.h needs libatomic.a in case compiler can't expand all __atomic* intrinsics. eg, __atomic_is_lock_free in armeabi/mips. Adding libatomic.a globally makes more sense than adding "LOCAL_LDLIB += -latomic " in each project including <stdatomic.h>. Projects don't need atomic operations won't get redundant DT_NEEDED entry because libatomic.a is not a shared library. Change-Id: I81dbf524544c848e667e18ab5eeabff75b5063ef
* Rename my_ndk_version_root to my_ndk_sysroot; and _include and _libAndrew Hsieh2014-04-251-4/+4
| | | | | | | | | | prebuilts/ndk/current/platforms/android-19/arch-x86_64/usr/lib is renamed to usr/lib64 to be more consistent with rest of lib paths in x86_64 toolchain, which is multilib See https://android-review.googlesource.com/#/c/92441/ Change-Id: I4e59245505d0fa87ae3608e81e715ccfcecc5ec8
* Remove redundant my_target_global_ldflagsDmitriy Ivanov2014-04-011-5/+0
| | | | | | | * Fix: my_target_global_ldflags is defined in binary.mk so they effectivelly override previous definition Change-Id: I9c7d9bde82c3a6d25a94ae109fa71ecaa33640b0
* Fix prebuilt library dependency for multilib buildYing Wang2014-02-251-1/+1
| | | | | | | Also we don't need to include module_arch_supported.mk again, if we are currently substituting the source build with LOCAL_PREBUILT_MODULE_FILE. Change-Id: I444b0397d74c3153b398a050b762e49418062a86
* Make -rpath-link work with multilib.Ying Wang2014-02-211-0/+1
| | | | Change-Id: If69ea6ed6cdbb657ed4005f8217d653e29626783
* Refactor llvm_config.mk and support the 2nd archYing Wang2014-02-071-1/+1
| | | | | | | | | 1. Following the setup of gcc in build/core/combo/, we added the [HOST|TARGET]_<arch>.mk clang config files, and load only the configs needed by the current product. 2. Added support for the 2nd arch. Change-Id: I2a383418a9688a050b39492f8e489d40eeeb5f2d
* Support to build executables for TARGET_2ND_ARCHYing Wang2014-01-241-0/+69
By default, an executable is built for TARGET_ARCH. To build it for TARGET_2ND_ARCH in a 64bit product, use: LOCAL_32BIT_ONLY := true To skip a module for TARGET_2ND_ARCH, use: LOCAL_NO_2ND_ARCH := true Bug: 11654773 Change-Id: Ieb293d25b21024bfe1b554044df338e064ac7b46