OSDN Git Service
Dan Albert [Fri, 8 Aug 2014 01:29:11 +0000 (18:29 -0700)]
Fix Windows SDK build.
Change-Id: Ia2a318957aa525f0e72b556a693a20f513146b64
Dan Albert [Thu, 7 Aug 2014 23:24:36 +0000 (23:24 +0000)]
Merge "Inhibit 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
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
Dan Albert [Thu, 7 Aug 2014 23:24:28 +0000 (23:24 +0000)]
Merge "Fix uses of -fPIC and -fPIE."
Kenny Root [Thu, 7 Aug 2014 19:53:21 +0000 (19:53 +0000)]
Merge "Track 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
Brian Carlstrom [Tue, 5 Aug 2014 17:47:26 +0000 (17:47 +0000)]
Merge "Make 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
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]"
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
Ying Wang [Thu, 31 Jul 2014 17:56:13 +0000 (17:56 +0000)]
Merge "Update 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
Ying Wang [Thu, 31 Jul 2014 17:05:36 +0000 (17:05 +0000)]
Merge "BuildBootImage: 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>
Elliott Hughes [Wed, 30 Jul 2014 23:21:32 +0000 (23:21 +0000)]
Merge "[MIPSR6] Add mips64r6 and mips32r6 targets"
Ying Wang [Wed, 30 Jul 2014 17:21:39 +0000 (17:21 +0000)]
Merge "Don'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
Ying Wang [Wed, 30 Jul 2014 16:38:23 +0000 (16:38 +0000)]
Merge "Fix 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
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
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
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
Ying Wang [Wed, 30 Jul 2014 16:38:03 +0000 (16:38 +0000)]
Merge "SDK targets should inherit from core_64_bit.mk"
Ying Wang [Wed, 30 Jul 2014 16:14:03 +0000 (16:14 +0000)]
Merge "Use hermetic host toolchains."
Ying Wang [Wed, 30 Jul 2014 16:37:30 +0000 (16:37 +0000)]
Merge "Add SDK product for arm64, x86_64 and mips64."
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."""
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
Ying Wang [Tue, 29 Jul 2014 17:55:19 +0000 (17:55 +0000)]
Merge "Allow 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
Ying Wang [Mon, 28 Jul 2014 22:14:51 +0000 (15:14 -0700)]
Use hermetic host toolchains.
Change-Id: I6bb72b5728d1075be9645f8473dcf3db759fa66a
Ying Wang [Wed, 30 Jul 2014 16:37:21 +0000 (16:37 +0000)]
Merge "Remove the unused large_emu_hw.mk"
Brian Carlstrom [Wed, 30 Jul 2014 16:30:10 +0000 (16:30 +0000)]
Merge "Add 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
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
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
Duane Sand [Tue, 3 Jun 2014 23:05:59 +0000 (16:05 -0700)]
[MIPS64] Enable mips64 clang
Change-Id: I737f40ff1d4c71c21bea5159d1b0acee89fe32a2
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.""
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
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."
Yohann Roussel [Fri, 25 Jul 2014 12:44:51 +0000 (12:44 +0000)]
Merge "Fix doc target for multidex support library."
Tim Murray [Thu, 24 Jul 2014 22:20:58 +0000 (22:20 +0000)]
Merge "fix build"
Tim Murray [Thu, 24 Jul 2014 22:20:18 +0000 (15:20 -0700)]
fix build
Change-Id: I28799d5523e1d2d2500a82b3d323c58486aacdbc
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
Yohann Roussel [Thu, 24 Jul 2014 15:24:30 +0000 (17:24 +0200)]
Fix doc target for multidex support library.
Change-Id: I0136c6cd8a3af0dc9d12b9424f96e9527cde68e2
Tim Murray [Thu, 24 Jul 2014 22:08:41 +0000 (22:08 +0000)]
Merge "Fix Windows SDK build to not use clang."
Ying Wang [Thu, 24 Jul 2014 01:42:13 +0000 (01:42 +0000)]
Merge "[MIPS64] Enable mips64 clang"
Tim Murray [Thu, 24 Jul 2014 20:59:29 +0000 (20:59 +0000)]
Merge "Switch 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
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."
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
Elliott Hughes [Wed, 30 Jul 2014 23:20:06 +0000 (23:20 +0000)]
Merge "[MIPS] Unite mipsel and mips64el 4.9 gcc toolchains"
Stephen Hines [Tue, 22 Jul 2014 20:45:32 +0000 (20:45 +0000)]
Merge "Default 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
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"
Yohann Roussel [Fri, 18 Jul 2014 10:51:33 +0000 (10:51 +0000)]
Merge "Move multidex support library"
Yohann Roussel [Fri, 18 Jul 2014 10:51:19 +0000 (10:51 +0000)]
Merge "Stubs of android-support-multidex-instrumentation."
Yohann Roussel [Fri, 18 Jul 2014 10:51:09 +0000 (10:51 +0000)]
Merge "Generates SDK stubs of android-support-multidex"
Yohann Roussel [Fri, 18 Jul 2014 10:50:56 +0000 (10:50 +0000)]
Merge "Support dx generating multiple dex files."
Ying Wang [Thu, 17 Jul 2014 21:07:59 +0000 (21:07 +0000)]
Merge "Remove linker64 and debuggerd64"
Ying Wang [Thu, 17 Jul 2014 20:59:59 +0000 (13:59 -0700)]
Remove linker64 and debuggerd64
We don't have separate *64 module names any more.
Now both 32-bit and 64-bit variants are built under the same module name.
Change-Id: I1956a6a88ec6fe280798be01928239d098dfe27a
Yohann Roussel [Thu, 17 Jul 2014 14:52:58 +0000 (16:52 +0200)]
Put only src in FRAMEWORKS_SUPPORT_JAVA_SRC_DIRS for multidex
This keeps only the real sources in doc target and fixes some error
messages caused by trying to generate docs of the tests.
Change-Id: Icd6903a43c90efc08eba92976dddb104c45a5e43
Ian Rogers [Thu, 17 Jul 2014 06:14:28 +0000 (06:14 +0000)]
Merge "Vary non-image Xmx for dex2oat on MIPS."
Ian Rogers [Thu, 17 Jul 2014 05:25:35 +0000 (22:25 -0700)]
Vary non-image Xmx for dex2oat on MIPS.
The image Xmx is already fixed at 64m. The issue is in the non boot image case.
Change-Id: Idd508187ce8ac3d3c8dbe357c74bc33a5c8185dd
Ying Wang [Thu, 17 Jul 2014 01:12:36 +0000 (01:12 +0000)]
Merge "Fix the MIPS build."
Ian Rogers [Thu, 17 Jul 2014 01:06:02 +0000 (18:06 -0700)]
Fix the MIPS build.
Use an override for the dex2oat Xmx value when cross-compiling.
Bug:
16221224
Change-Id: Iaeac95cd50a0bae7817ee7da23b3cf25246f1d6d
Maurice Chu [Wed, 16 Oct 2013 21:30:42 +0000 (14:30 -0700)]
Move multidex support library
Multidex is being moved from frameworks/support/multidex to
frameworks/multidex.
GMS Core will be using the multidex library and has gotten special
approval to use the unreleased multidex library (i.e., guinea pig).
Bug:
10674263
Change-Id: I31f582dd7adf4db6eb19c52357875594fc9f7829
Yohann Roussel [Wed, 4 Sep 2013 10:19:46 +0000 (12:19 +0200)]
Stubs of android-support-multidex-instrumentation.
For the SDK.
(cherry picked from commit
584f6019106e5adc87f0f1a3bac75c31efe67f36)
Change-Id: I64b7d279a575c201c4df52a6bd3caa75baf58d11
Yohann Roussel [Wed, 21 Aug 2013 12:19:44 +0000 (14:19 +0200)]
Generates SDK stubs of android-support-multidex
(cherry picked from commit
c4441b8c3701147365213a1f789626a8d442db6e)
Conflicts:
core/pathmap.mk
Change-Id: I9283e793d8cdbd4003b86fd33ff62dd35c663f1f
Yohann Roussel [Tue, 20 Aug 2013 15:05:27 +0000 (17:05 +0200)]
Support dx generating multiple dex files.
Dx is now capable of generating multiple dex file in one run.
This capability is not compatible with --output=*.dex so this CL
changes the --output argument to be a directory. This CL also
includes the packaging of the multiple dex files when dx generates
more than one dex file.
(cherry picked from commit
8ffe9c3e7967ec9c6c6e9a03095454dc1b073c3b)
Conflicts:
core/java.mk
Change-Id: I1ddc91b416de5929d4d4b41824c6012b32f94deb
Ying Wang [Tue, 15 Jul 2014 01:23:49 +0000 (01:23 +0000)]
Merge "Revert "Fix Java detection on some Linux distributions""
Ying Wang [Tue, 15 Jul 2014 01:22:50 +0000 (01:22 +0000)]
Revert "Fix Java detection on some Linux distributions"
This reverts commit
09040dd8232f8fe588d938e04581ba1648f452f4.
Change-Id: Iafb126a6200e259f4176d903bacf8d3de28c6d97
Ying Wang [Mon, 14 Jul 2014 21:36:53 +0000 (21:36 +0000)]
Merge "Fix Java detection on some Linux distributions"
Stephen Hines [Mon, 14 Jul 2014 20:28:27 +0000 (20:28 +0000)]
Merge "Remove bcc from generic_no_telephony.mk."
leozwang [Mon, 14 Jul 2014 17:28:38 +0000 (10:28 -0700)]
Remove bcc from generic_no_telephony.mk.
bcc was added into core_minimal.mk.
Change-Id: I29fa6eb3df0dada609e2f6b3e28ffd08d13c6afc
Stephen Hines [Mon, 14 Jul 2014 20:27:53 +0000 (20:27 +0000)]
Merge "Add bcc into /system/bin."
leozwang [Sun, 13 Jul 2014 05:03:52 +0000 (22:03 -0700)]
Add bcc into /system/bin.
Bug:
16161758
Change-Id: I492f6780ecf7d18f291532fc934a80ff7ac643cf
Bernhard Rosenkränzer [Mon, 14 Jul 2014 08:42:11 +0000 (10:42 +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 readlink -f should work in all cases (while also simplifying the
script a bit).
Change-Id: I96afcf8e6460861bf8bb849dae05c27c42b91e84
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Nick Kralevich [Thu, 10 Jul 2014 17:27:20 +0000 (17:27 +0000)]
Merge "Fix PIC default to be -fPIC"
Colin Cross [Thu, 10 Jul 2014 06:10:50 +0000 (06:10 +0000)]
Merge "build: fix host dex2oat runtime args"
Colin Cross [Thu, 10 Jul 2014 05:09:50 +0000 (22:09 -0700)]
build: fix host dex2oat runtime args
The dalvik.vm.* properties are in PRODUCT_DEFAULT_PROPERTY_OVERRIDES,
not PRODUCT_PROPERTY_OVERRIDES.
Use $(call func,args) for user defined functions
Prepend the property contents with -Xms or -Xmx when passing to
dex2oat. This only worked before because DEX2OAT_XMS, etc. were blank
due to the first two bugs, which resulted in --runtime-arg --runtime-arg
and anything starting with -- as the argument to --runtime-arg is
silently ignored.
Change-Id: Ifa30038b397355171fefcc5248eea033bb634036
Ying Wang [Wed, 9 Jul 2014 23:18:08 +0000 (23:18 +0000)]
Merge "Don't enable LOCAL_DEX_PREOPT for apks outside system.img"
Ying Wang [Wed, 9 Jul 2014 22:40:33 +0000 (22:40 +0000)]
Merge "Allow symlinks to device or vendor tree in envsetup.sh."
Ying Wang [Wed, 9 Jul 2014 22:37:34 +0000 (15:37 -0700)]
Allow symlinks to device or vendor tree in envsetup.sh.
Change-Id: I1190a0b1c84fa17b3692427eb6071ffbe84bc529
Ying Wang [Wed, 9 Jul 2014 17:57:32 +0000 (10:57 -0700)]
Don't enable LOCAL_DEX_PREOPT for apks outside system.img
Bug:
15621103
Change-Id: If267a4aaad17b66d9779169237e06d65d67f088f
Brian Carlstrom [Wed, 9 Jul 2014 04:07:43 +0000 (04:07 +0000)]
Merge "Make dex2oat heap size product configurable [build]"
Ying Wang [Wed, 9 Jul 2014 01:06:23 +0000 (01:06 +0000)]
Merge "More consistent use of 64-bit build variable."
Ying Wang [Wed, 9 Jul 2014 00:07:36 +0000 (17:07 -0700)]
More consistent use of 64-bit build variable.
Set up TARGET_IS_64_BIT and HOST_IS_64_BIT early so we don't need 2
mechanisms to judge if it's 64-bit build;
Remove the unnecessary 32-bit host variables.
Change-Id: I08d6d4d9ea70f91135fe2ee05463fb9a0d1cee42
Brian Carlstrom [Tue, 8 Jul 2014 17:35:29 +0000 (10:35 -0700)]
Make dex2oat heap size product configurable [build]
Bug:
15919420
Change-Id: If92318a6e3d5b9c8c6a2d08a3371386fa5ad8f45
Elliott Hughes [Tue, 8 Jul 2014 20:06:09 +0000 (20:06 +0000)]
Merge "ADBS now uses stack_core code to parse traces."
Dan Albert [Tue, 8 Jul 2014 18:47:16 +0000 (18:47 +0000)]
Merge "Remove -Bsymbolic from builds."
Brigid Smith [Tue, 1 Jul 2014 00:21:27 +0000 (17:21 -0700)]
ADBS now uses stack_core code to parse traces.
Change-Id: Ic1d822e2599fb0ad54dbe20d54e1dd6e3eaf18d6
Ying Wang [Tue, 8 Jul 2014 00:39:35 +0000 (00:39 +0000)]
Merge "Fix host java doc by referring to the correct classpath."
Ying Wang [Mon, 7 Jul 2014 23:43:49 +0000 (16:43 -0700)]
Fix host java doc by referring to the correct classpath.
In droiddoc for host, we don't generate classes.jar for
LOCAL_JAVA_LIBRARIES. Switch to refer to the installed jar file instead.
This is consistent with how LOCAL_JAVA_LIBRARIES for host is handled in
base_rules.mk.
Bug:
9176318
Change-Id: If7460b30ca5da28743487d66da0029a44108d556
Ying Wang [Tue, 8 Jul 2014 00:17:31 +0000 (00:17 +0000)]
Merge "Clean the last bit of LOCAL_BUILD_HOST_DEX."
Ying Wang [Tue, 8 Jul 2014 00:15:38 +0000 (17:15 -0700)]
Clean the last bit of LOCAL_BUILD_HOST_DEX.
Long live LOCAL_BUILD_HOST_DEX!
Change-Id: I8de23cfc78edc554606a2e1a8a955e8bc3ad02b0
Pavel Chupin [Wed, 2 Jul 2014 09:52:21 +0000 (13:52 +0400)]
Fix PIC default to be -fPIC
-fPIC is more restrictive than -fPIE, but when "-fPIC -fPIE" used together
the latter overrides. It may lead to issues when building DSO where
-fPIC and not -fPIE is required.
For executables -fPIE -pie shoudld be added and it's fine to override
-fPIC as it is done now.
The reason why we don't have these issues so far is probably related to
-Bsymbolic added by default. But any attempt to remove it reveals these
problems:
https://android-review.googlesource.com/#/c/98061/
Change-Id: If0f10628b7cc41e564221a7a37298f7d65f859a8
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
Brian Carlstrom [Wed, 2 Jul 2014 16:35:53 +0000 (16:35 +0000)]
Merge "Strip all multidex files, not just classes.dex"
Brian Carlstrom [Mon, 30 Jun 2014 17:09:56 +0000 (10:09 -0700)]
Strip all multidex files, not just classes.dex
Bug:
10447095
Change-Id: I6053ca97cb0e28621262a385d57c0996e7c1aaab
Ying Wang [Wed, 2 Jul 2014 16:12:10 +0000 (16:12 +0000)]
Merge "Fix partition_tag usage in install_jni_libs"