am: 4bd2663
* commit '4bd26639378a2cf7c1480823b63645ee7d40c584':
Support "none" for stl when using ndk
Change-Id: I897148eb79025daa6485fd45c5946d4a889bb88e
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: 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: 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: 1e43a62
* commit '1e43a621192330a9dcc8d9665eed72d86379dd01':
Various host flag updates to match Make
Change-Id: Ia1e3e5535316df35d5f6f776079265c2ae08b3f9
am: 01fdd3d
* commit '01fdd3d8c1867d71d718ed900ecf41f7f7245d18':
Various host flag updates to match Make
Change-Id: I24a28b07428d57218d409f63488fe9e8b7e04554
Some of these are updates from the old build system, others are just
differences/bugs being corrected.
Change-Id: Ied7f47ade495dcb26ba3611e636869cba283860f
am: 9c2e82d
* commit '9c2e82dd20bc3b7c85f51970cfc94179008e0907':
Only add -fdebug-prefix-map on Linux hosts
Change-Id: Ibfd92457ac0ae44d26541d62d0111fbd52d01a51
am: 99b5a09
* commit '99b5a09022a06a09d20a6fe0c25bdf9f369aaa5c':
Only add -fdebug-prefix-map on Linux hosts
Change-Id: Ie94615c29eda13bdbac8a646ece9302b35a27610