am: 4a97cb4
* commit '4a97cb432823899dfc70cd5a874409b353e08115':
Support "none" for stl when using ndk
Change-Id: I99a2a94b8af85a632674db44b04c5ada272c934f
Add a new feature to cc modules that adds the cflags and libraries
necessary to implement AddressSanitizer, ThreadSanitizer, and
UndefinedBehaviorSanitizer.
Change-Id: Ibe5ffadc7ece56080a2521f2c7c00da9ef712584
cc needs to know what stl was selected, promote stl from a generic
feature implementation to a fixed type pointer.
Change-Id: I950ef947f7cd254fe3074f4ff240bb2b90b9116c
Exported cflags are needed by a variety of cc module types. Refactor
them into an object that can be composed into any cc module type.
Change-Id: I7427ba71085917ca3ec522abadfa2bf33ab43440
This will allow modules to specify a local script file that will be
expanded to the proper path in $tool, and will automatically be added to
the dependencies.
Change-Id: Icea4046b1fe2fd7c543aa33913d1a53201b15353
Add two cc properties: `generated_sources` and `generated_headers`,
instead of just adding genrule modules to `deps`. Label these with the
dep tagging mechanism, add the generated_headers paths to the include
paths, and add dependencies to generated headers for each compile.
Add dependencies so that regular sources can include generated yacc
headers, not just other generated lex/yacc files. Static/shared specific
sources still don't have dependencies to or from regular sources though.
Switch from an implicit dependency on generated files to an orderonly
dependency, since the depfile will take care of the necessary implicit
dependencies for incremental builds.
Change-Id: I436675acb1f57329d98b81c56dcb4384201a68ea
Blueprint now requres DependencyTags to be passed to AddDependency
calls. Use the tags to avoid setting member variables on modules, which
will be lost after the mutators have been called.
Change-Id: I8c1d9ed1db85a300e14394b911a516d361ba9f75
The deps property is handled by blueprint, which doesn't give the
flexibilty of handling it within soong. Switch to using objs instead.
Change-Id: Ib8273546578b31b186a3cf1566e80a5eb11943b7
am: 5f23964
* commit '5f23964bfe2a51835b50df219bee745c11650eb7':
libm's headers have moved to live with their libc cousins.
Change-Id: Ia1e33dc96f51eb32743b2ff68c2804b15010792f
am: bb4937e
* commit 'bb4937ef99e9adf89657aa6be11e580219c3e0bc':
libm's headers have moved to live with their libc cousins.
Change-Id: I8175ceb8904fcfa5b0bfd24320364bdc6191f48e
am: 8524429
* commit '852442957bf35e9dced80ec01d8a72da28743ea5':
libm's headers have moved to live with their libc cousins.
Change-Id: I9e10b1e6d08ecd25b6cfda4cbc2b973a20d1aaa9
am: 9d389bf
* commit '9d389bfef937de8bb7cbc54d6b087b1ea063959f':
Move runpaths out of global ldflags
Change-Id: I4eeb2b481107ff701b6523fd8af5ee5210c6a214
am: d517c2a
* commit 'd517c2a73ee517683ba6e70acb701bc34ea64291':
Move runpaths out of global ldflags
Change-Id: I9ff45bde7f3a6a9be67d51cfb638decbbdc3ac61
am: d30e610
* commit 'd30e610ef24425596d1787755b6f952bb04b6c1d':
Move runpaths out of global ldflags
Change-Id: I6a486e2c3582b295dabb3585733dc013186a07d3
The make macros add these to the linker lines even if the default
compiler flags are being skipped.
This also allows us to add another runpath for test binaries, which are
currently being installed in:
<out>/host/linux-x86/nativetest[64]/<test>/<binary>
So they need to use ../../lib[64] as a rpath.
Change-Id: Ia7e954cdf63bc627a8f71d01c953530355c248ab
Instead of having the baseCompiler adjust the Ldflags, teach
objectLinker about ToolchainLdflags. And don't assume that
ToolchainLdflags will work for Clang too, add a ToolchainClangLdflags
call.
Change-Id: I5f546e46f32edf3fcf75a44bee2c5ee103bc5de3
am: a5c3ee0
* commit 'a5c3ee0ef948559225df3f8182fecde7052b3927':
Various host flag updates to match Make
Change-Id: I616abbacf44909817fda4e0ebee2d4cd5f5de8dd
am: 1e43a62
* commit '1e43a621192330a9dcc8d9665eed72d86379dd01':
Various host flag updates to match Make
Change-Id: Ia1e3e5535316df35d5f6f776079265c2ae08b3f9