am: 2630213418
* commit '2630213418aa7523ffabfd79c8ac9de3dde53767':
Set LOCAL_PATH for each prebuilt module
Change-Id: Ie5ebd601e7d558f5d219e8968ca189be7db92fd7
Set LOCAL_PATH to the path to the blueprint file so that make can
generate MODULE-IN-* rules to make mma work. Switch to using
LOCAL_PREBUILT_MODULE_FILE instead of LOCAL_SRC_FILES to specify the
location of the prebuilts relative to $(TOP).
This should also make notice files work.
Change-Id: I51c7aa1187e68c4c9095687461dd5e76cbd7292d
am: e8b1bc0a68
* commit 'e8b1bc0a689322e2d8dcc92336af606b939c67c6':
Lock down environment variable access after all other singletons
Change-Id: I69fa02ef4ddd0e58e223328d62b07823b7e158bd
To allow other singletons to use new environment variables, move env.go
to the end of the source list, so that its singleton is run last.
Change-Id: Ic92308f72fc0c92a0fedbc5546e337940e32eaab
am: 0414479ba4
* commit '0414479ba4f26598a5557d2334b9f5ec58c772f8':
Include objs from whole static libs before local objs
Change-Id: I6421441336f37cbc165ff0eff652284e917eb8ca
For configuration like TARGET_GLOBAL_CFLAGS, it would be good to have
Make and Soong use the same values. This change adds an interface for
packages like cc to verify the current value of make variables match the
Soong equivalents, and once they're satisfied with the results, remove
the make definition and use the value from Soong.
The cc implementation exports a few variables currently that I expect to
match between both implementations in all cases. It also checks
{CLANG,}{HOST,TARGET}_GLOBAL_{C,LD}FLAGS, which should be mostly similar
between make and soong now.
Bug: 23566674
Change-Id: Idc8582ef31ace11a8baefcf525c3683f08a573aa
This way Make can use different output files for different targets, and
switch between them without having to reparse all the makefiles.
Change-Id: I00001a09d79025772d966f443ab9f130e35f4720
am: ac6697420a
* commit 'ac6697420aebc6e7f98d5a73c8d4c525bf8de419':
Move local ldflags after the toolchain ldflags
Change-Id: I4c2a0173026f86a215749b3031ae5da49b2ca0f9
In make, the current 32-bit configuration for generic x86_64 targets
inherits some variables (SSE4 support) from the 64-bit configuration,
and overrides the make variables used for other configurations (SSSE3).
We don't have that problem in Soong, but this is the configuration
matching what Make is using.
Change-Id: Ia934ff40f9388f9c202a0fe0608e7b45b77a2714
For krait, we were using the cortex-a15 cflags for GCC, but a completely
separate set for Clang. To make it more readable, and prevent the LPAE
flag from being missed for Clang, explicitly define krait cflags for GCC
as well.
Change-Id: I6dc00a22e2b298ee3755190bf09f28e427c8c70d
am: 4ce4703182
* commit '4ce470318220b9b411aec54cf58cbe4d84493fc9':
Add -mpopcnt for X86_64 targets if they support popcnt
Change-Id: Ifcbb29f7cfc7bf676f47aede3ca4b286e50c1a14
We were using the original ArchVariant passed in, not the blank string
that we reset it to if it's considered the default variant.
Change-Id: Ice644cc1d4897af99fe79b55d441f406a7a270de
In cc/cc.go, we already add -B{GccRoot}/{GccTriple}/bin to all clang
cflags, asflags, and ldflags. So we don't need to add a linux specific
version here.
Change-Id: I42d71662c78a8170463dfec932a633e4d4ff52c8
Arch-specific static libraries should be prepended so that the common
static libraries can depend on them.
Bug: 26968262
Change-Id: I40a21d18ece8f6d20824437e7180628b29ffdd04
We were keeping the original array, and adding duplicates with -I
removed. Instead, only add entries that start with -I, but continue
stripping that off. This removes the -isystem arguments from the NDK
libraries.
Change-Id: I8fd71bbd6b7a051aad7e80a92a05dbdc05a6b87a
am: 66187d987c
* commit '66187d987c08ec1cfd489102f1097f9f20d15818':
Stop using the mips32r6 ABI in MegaDevice
Change-Id: Ie4a99a2175fe80f970041f15e4eeb78085347460
It was present in the r10 NDK checked into the platform, but is not
available in the r11 NDK nor the official r10 NDK.
Change-Id: I45a2dcf8acc810174c77a0a19870fb849f674b72
ninja has been moved from prebuilts/ninja to prebuilts/build-tools so it
can share the hermetic libc++.so there.
Change-Id: I0b6e76baaa6916a8c7fd19c684b792ccef2f9cb1
Make expects libraries built with address sanitizer to be installed into
/data, and can't handle multiple variants of modules.
Change-Id: Ice575ff6f0788a88f296e7b3ee521a2b9771f55f