Stephen Hines
9cf9cdbaa0
Revert \\"Switch libcompiler_rt-extras to LateStaticLibs.\\" am: 15e4554049
...
am: e79be1b210
Change-Id: I13098aa706360628ae01dc3bcdda4037a0bc732f
2016-07-18 22:18:13 +00:00
Stephen Hines
e79be1b210
Revert \"Switch libcompiler_rt-extras to LateStaticLibs.\"
...
am: 15e4554049
Change-Id: Ie9b700c29111c14906d63ff366288af84645ce89
2016-07-18 22:15:45 +00:00
Stephen Hines
15e4554049
Revert "Switch libcompiler_rt-extras to LateStaticLibs."
...
This reverts commit bb7473dd1a
.
Change-Id: I6099fd8dadc0213a78cab3e2daef5c5ebd4c31ee
2016-07-18 22:08:39 +00:00
Stephen Hines
4fa98f2cec
Switch libcompiler_rt-extras to LateStaticLibs. am: bb7473dd1a
am: 49a0c29651
...
am: ba09d32b34
Change-Id: Id6daac63f31ac600e5d6a343b49bcd0fd98d233a
2016-07-18 21:47:24 +00:00
Stephen Hines
ba09d32b34
Switch libcompiler_rt-extras to LateStaticLibs. am: bb7473dd1a
...
am: 49a0c29651
Change-Id: Ic5111a78cbe363f4b70854bf3145163abebdad85
2016-07-18 21:43:52 +00:00
Stephen Hines
49a0c29651
Switch libcompiler_rt-extras to LateStaticLibs.
...
am: bb7473dd1a
Change-Id: Iff98d0bf58cfb71e42cc39ee656defa9fdfe69cd
2016-07-18 21:40:25 +00:00
Stephen Hines
bb7473dd1a
Switch libcompiler_rt-extras to LateStaticLibs.
...
Bug: http://b/28149048
Test: Rebuild world (and check on new clang dependencies).
The latest clang inserts even more dependencies for
libcompiler_rt-extras (in the form of __unorddf2/__unordtf2), so we need
to ensure that it gets linked after libm.a for binaries that statically
pull it in.
Change-Id: I22a1deb63a7ed05f77af6f91f0f7a21dcf156608
2016-07-18 13:33:25 -07:00
Colin Cross
e10ce184ad
Initial README.md
...
Change-Id: I07970cddefb981f6708b276ac5b04d311d1843d9
2016-07-18 13:00:59 -07:00
Colin Cross
eee12b751b
Merge \\"Add libc and libm to modules that use libc++_static\\" am: 46748b775c
...
am: ccc84d5ce3
Change-Id: If935b84b2522ccf2ff6008f922e7f8f93eeaa147
2016-07-15 23:56:41 +00:00
Colin Cross
ccc84d5ce3
Merge \"Add libc and libm to modules that use libc++_static\"
...
am: 46748b775c
Change-Id: I968f18ee434bea547886baed22d757d9beb23209
2016-07-15 23:53:39 +00:00
Colin Cross
46748b775c
Merge "Add libc and libm to modules that use libc++_static"
...
Change-Id: I475876732988a9f36f3b66342cd51ce06d32aa3a
2016-07-15 23:15:36 +00:00
Colin Cross
bd7e272a84
Merge \\\"Add symlink installation support\\\" am: b4b613931f
am: 7a4a749ca9
...
am: c4b2eac907
Change-Id: I03dc7ab4e9daf03beb6d6418e9b2dc81b26ffe84
2016-07-15 22:33:22 +00:00
Colin Cross
c4b2eac907
Merge \\"Add symlink installation support\\" am: b4b613931f
...
am: 7a4a749ca9
Change-Id: Ide8f908f25371f37a257eecf6f6d52878225e679
2016-07-15 22:29:22 +00:00
Colin Cross
7a4a749ca9
Merge \"Add symlink installation support\"
...
am: b4b613931f
Change-Id: If6782da68f5d83751d9bef84df30eaf5bae43d0e
2016-07-15 22:26:39 +00:00
Colin Cross
3d92b27717
Add libc and libm to modules that use libc++_static
...
Matches makefile change Ib21364e6f43689cf59da31d6f561919731ef8272
Change-Id: I6b4f3fcc65e5cac190bf9da315bd9d81e4c7cd3d
2016-07-15 14:46:21 -07:00
Colin Cross
12fc4977bf
Fix checkbuild with symlinks
...
Soong delegates installation to make when embedded in make, so it can't
create any dependencies on installed files. Only create the symlink
rules if not embedded in make.
Change-Id: I26d2857e6d544b963a0c52145a8666ba30864838
2016-07-15 14:44:58 -07:00
Treehugger Robot
b4b613931f
Merge "Add symlink installation support"
2016-07-15 21:34:33 +00:00
Colin Cross
5ad733f4bf
Merge \\\"Support global and local sanitizers\\\" am: 2c4841800e
am: 19d8d566c3
...
am: 9b86c997f7
Change-Id: Ia47781aad20206b00aaf3a24d30132501fc449f0
2016-07-15 21:32:54 +00:00
Colin Cross
9b86c997f7
Merge \\"Support global and local sanitizers\\" am: 2c4841800e
...
am: 19d8d566c3
Change-Id: I1e48fca96a32d50cd8479af6e417efbf4a9e1656
2016-07-15 21:30:24 +00:00
Colin Cross
19d8d566c3
Merge \"Support global and local sanitizers\"
...
am: 2c4841800e
Change-Id: Id0482e0866f235ea97320e66ef5f62cc0a38336d
2016-07-15 21:27:26 +00:00
Treehugger Robot
2c4841800e
Merge "Support global and local sanitizers"
2016-07-15 21:12:46 +00:00
Colin Cross
3854a60c55
Add symlink installation support
...
Allow modules to specify a list of names to create alias symlinks, and
pass the list to make so it can create them. Also pass
LOCAL_FORCE_STATIC_EXECUTABLE for static binaries so that make can avoid
a linker_asan -> linker -> linker_asan dependency loop.
Change-Id: I314d088095ac5f43641ed2cf8247c14c27e23b93
2016-07-15 13:37:03 -07:00
Colin Cross
263abbd5e9
Support global and local sanitizers
...
Mixing undefined and address sanitizers requires updating cflags.
Matches makefile change Ifee350da4877008fb061bc7f6c700e7fade405bc
Bug: 30163657
Change-Id: Iea4364b912b496400581a475bc79bd9b9c4dd76d
2016-07-15 13:12:58 -07:00
Colin Cross
8789778d4c
Move no_crt property to apply to libraries and binaries am: a89d2e1805
am: 9e6655f84b
...
am: 2356b6f329
Change-Id: Ifec0c6193cd476614d0ecd5143dc89503b951604
2016-07-15 00:15:33 +00:00
Colin Cross
6e8446df71
Fix duplicate library dependencies am: 15a0d46283
am: 852d16518c
...
am: 232a2497e1
Change-Id: I7b6dd27ae91db398fdebc555b821345f1db39017
2016-07-15 00:15:33 +00:00
Colin Cross
2356b6f329
Move no_crt property to apply to libraries and binaries am: a89d2e1805
...
am: 9e6655f84b
Change-Id: I077a678f8d722cda1627c6c0aeb8912899fa474d
2016-07-15 00:12:34 +00:00
Colin Cross
232a2497e1
Fix duplicate library dependencies am: 15a0d46283
...
am: 852d16518c
Change-Id: Icf1ba7b42276affe6dbf2159422537e97bf711f8
2016-07-15 00:12:34 +00:00
Colin Cross
9e6655f84b
Move no_crt property to apply to libraries and binaries
...
am: a89d2e1805
Change-Id: Ia4f2333f0e36467c32bf1dc19be5f959d29ae90a
2016-07-15 00:09:34 +00:00
Colin Cross
852d16518c
Fix duplicate library dependencies
...
am: 15a0d46283
Change-Id: I0a70fb22ca8eabfe5bf548807b22644988b83919
2016-07-15 00:09:33 +00:00
Colin Cross
a89d2e1805
Move no_crt property to apply to libraries and binaries
...
Change-Id: I8a770ad422dac0fd67b43ca464e0942f504e1c30
2016-07-14 16:01:30 -07:00
Colin Cross
15a0d46283
Fix duplicate library dependencies
...
Change-Id: I029725373fde30f58067e704c010cd0f638301ae
2016-07-14 16:01:30 -07:00
Colin Cross
ee3469bfca
Fix rpath for host benchmarks am: aa3bf3768a
am: 79788ddf39
...
am: 58da9d84c3
Change-Id: I6e4cfa40af19c53fc90e83be33618b659f55d107
2016-07-14 19:58:15 +00:00
Colin Cross
58da9d84c3
Fix rpath for host benchmarks am: aa3bf3768a
...
am: 79788ddf39
Change-Id: I1c2aa68fe20a954661e7ba534f94fbc39639682f
2016-07-14 19:55:14 +00:00
Colin Cross
79788ddf39
Fix rpath for host benchmarks
...
am: aa3bf3768a
Change-Id: Ie94d93613f86e910ba44817b7ef5f8f26647f0f7
2016-07-14 19:52:48 +00:00
Colin Cross
aa3bf3768a
Fix rpath for host benchmarks
...
Host benchmarks are installed in
out/host/*/nativetest/<module>/<benchmark> now, so the rpath needs to
include ../../lib. Make benchmarkLinker extend testBinaryLinker in
order to pick up the correct rpath.
Change-Id: I3c34aee8d3c21a08b75258c1d5caf6c9fb6feab3
2016-07-14 10:28:40 -07:00
Dan Willemsen
acf589e23f
Allow libdl on Darwin am: 72ad175126
am: d4ad2b9bc9
...
am: e5299e5c65
Change-Id: Ib6a1f9c79438aa6b51ed656560a893d09e6a221c
2016-07-14 05:44:22 +00:00
Dan Willemsen
e5299e5c65
Allow libdl on Darwin am: 72ad175126
...
am: d4ad2b9bc9
Change-Id: I8a2dc2a461f22e0e460c5b75a1df3aa0054b2236
2016-07-14 05:41:36 +00:00
Dan Willemsen
d4ad2b9bc9
Allow libdl on Darwin
...
am: 72ad175126
Change-Id: I6ccddcb62d358bd94f09e2c5d9b340885322a6ba
2016-07-14 05:38:47 +00:00
Dan Willemsen
72ad175126
Allow libdl on Darwin
...
Fixes the build, since this is available.
Change-Id: Ia4f50af234ee0f4ae5c7beb54724f590f2835db5
2016-07-13 22:17:39 -07:00
Colin Cross
f2f551a4f7
Merge \\\"Put shared library ldflags first\\\" am: feba062cd5
am: 5aeecea746
...
am: 26cc9a69f4
Change-Id: Iaa02dfc233f9971a0f4f5baf5d2e0ed401652c1e
2016-07-14 04:39:18 +00:00
Colin Cross
26cc9a69f4
Merge \\"Put shared library ldflags first\\" am: feba062cd5
...
am: 5aeecea746
Change-Id: Icd88c58cf6d571b8739b8320983622ed6ab70d3d
2016-07-14 04:36:03 +00:00
Colin Cross
5aeecea746
Merge \"Put shared library ldflags first\"
...
am: feba062cd5
Change-Id: I22f2cd1e8db0afb1225bb1731e1bf53f02a9cf89
2016-07-14 04:32:59 +00:00
Treehugger Robot
feba062cd5
Merge "Put shared library ldflags first"
2016-07-14 04:26:29 +00:00
Dan Willemsen
951de85703
Export the default LOCAL_STRIP_MODULE value am: f2c27d7370
am: dfc181440f
...
am: 5fabda5e65
Change-Id: I1c18f010f05aa8c61480463881d816ceb2818816
2016-07-14 04:15:10 +00:00
Dan Willemsen
5fabda5e65
Export the default LOCAL_STRIP_MODULE value am: f2c27d7370
...
am: dfc181440f
Change-Id: I61ba62d29e8047b1984fdc2eac54cd9eb74ba206
2016-07-14 04:12:25 +00:00
Dan Willemsen
dfc181440f
Export the default LOCAL_STRIP_MODULE value
...
am: f2c27d7370
Change-Id: I009839066291221d52ffaa5fc41802196b3944c7
2016-07-14 04:09:49 +00:00
Colin Cross
f87b261ceb
Put shared library ldflags first
...
Some obscure modules (like libtest_with_dependency_loop_b_tmp in
bionic/tests/libs/Android.bp) need to override shared library flags like
-Wl,-soname. Put the defaults first so that the module specific ones
can override them.
Change-Id: Icde9ca2cf76c4f3e3218b6b22033bc81a6755b57
2016-07-13 18:55:43 -07:00
Dan Willemsen
f2c27d7370
Export the default LOCAL_STRIP_MODULE value
...
In make, BUILD_PREBUILT and BUILD_SHARED_LIBRARY/BUILD_EXECUTABLE use
different defaults for LOCAL_STRIP_MODULE. Explicitly use the
BUILD_SHARED_LIBRARY/BUILD_EXECUTABLE default so that we'll strip
binaries the same way when converting from Make to Soong.
BUILD_SHARED_LIBRARY/BUILD_EXECUTABLE uses the default set in
dynamic_binary.mk: mini-debug-info.
BUILD_PREBUILT (SHARED_LIBRARIES) uses no_debuglink
BUILD_PREBUILT (EXECUTABLES) doesn't strip by default
None of the above support stripping host modules.
Change-Id: I73a6f7bd7d2ed2033936579c78ae4980386dd4a2
2016-07-13 17:33:49 -07:00
Dan Willemsen
d3324cb4d5
Fix LOCAL_EXPORT_C_INCLUDE_DIRS processing am: e6c7f18364
am: 3a3ab234f1
...
am: 171eeaeecb
Change-Id: Ia5d189d2c9979dc31834db265c63062df31c8e81
2016-07-13 20:55:59 +00:00
Dan Willemsen
171eeaeecb
Fix LOCAL_EXPORT_C_INCLUDE_DIRS processing am: e6c7f18364
...
am: 3a3ab234f1
Change-Id: Ibb34ad2660e62dc27ace282e1a5ac8b7d02753de
2016-07-13 20:52:57 +00:00