Colin Cross
3a17dd5449
Merge "Move system/core/include from -isystem to -I" am: fe040c48e6
am: b795aacfef
...
am: 2f7389cc15
Change-Id: Ie53d0a0ea488802f36d2159202bbcbde45a91774
2016-09-23 14:55:46 +00:00
Colin Cross
2f7389cc15
Merge "Move system/core/include from -isystem to -I" am: fe040c48e6
...
am: b795aacfef
Change-Id: Id1b3c743b3f2364d3834178b13980a1ff6eef258
2016-09-23 14:53:16 +00:00
Colin Cross
b795aacfef
Merge "Move system/core/include from -isystem to -I"
...
am: fe040c48e6
Change-Id: Ieb2d3c357da9dbe7b318c44dbc819c42e72e4311
2016-09-23 14:51:16 +00:00
Colin Cross
fe040c48e6
Merge "Move system/core/include from -isystem to -I"
2016-09-23 14:47:52 +00:00
Dan Willemsen
c9df4440a2
Add `debuggable` product variable with cflags am: fcebcd5c37
am: eb65b50509
...
am: 6ce7434b7e
Change-Id: Ie776ffd4056ae7c2e3b57b616982fd217e31cc1a
2016-09-23 00:25:14 +00:00
Dan Willemsen
6ce7434b7e
Add `debuggable` product variable with cflags am: fcebcd5c37
...
am: eb65b50509
Change-Id: I7cbd91b01586d877e6b7408360939da10dded5d3
2016-09-23 00:23:18 +00:00
Dan Willemsen
eb65b50509
Add `debuggable` product variable with cflags
...
am: fcebcd5c37
Change-Id: Ic493640c4ef1168e0c7f5f56a58fe0b605e6f5ce
2016-09-23 00:21:41 +00:00
Colin Cross
e4bba1e835
Move system/core/include from -isystem to -I
...
-isystem hides all warnings. The warnings in system/core/include have
been cleaned up, so move it from -isystem to -I.
Test: lunch aosp_angler-eng && m -j
Test: lunch aosp_bullhead-eng && m -j
Test: lunch aosp_flounder-eng && m -j
Test: lunch aosp_fugu-eng && m -j
Test: lunch aosp_shamu-eng && m -j
Bug: 31492149
Change-Id: I29967428c2c45f753dabe21b65913fb08fdcabc4
2016-09-22 15:29:50 -07:00
Dan Willemsen
fcebcd5c37
Add `debuggable` product variable with cflags
...
Allows changing cflags based on the build variant being `eng` or
`userdebug`. This is used by some modules to turn on asserts for these
builds, and used by adb to allow root on non-user builds.
Test: Use this flag in an Android.bp, check the ninja file.
Change-Id: I27a5081378e94920482b4a742d65c46065047573
2016-09-22 15:22:15 -07:00
Kenny Root
4cbd257645
Add pthread to Windows allowed ldlibs am: b912349c03
am: b32fbac0ae
...
am: 37c0006463
Change-Id: I34f85e1ffa54ef3d3b12b5ba3538ca4506dbd19b
2016-09-21 00:07:24 +00:00
Kenny Root
37c0006463
Add pthread to Windows allowed ldlibs am: b912349c03
...
am: b32fbac0ae
Change-Id: Ic1f7c1fd526335732d1bd36ba9b9f03ccacc196a
2016-09-21 00:05:23 +00:00
Kenny Root
b32fbac0ae
Add pthread to Windows allowed ldlibs
...
am: b912349c03
Change-Id: I63489bdffaec1e1c368891f741ac5371a1605044
2016-09-21 00:02:23 +00:00
Kenny Root
b912349c03
Add pthread to Windows allowed ldlibs
...
The MinGW update now includes pthread.
Test: update BoringSSL to use pthreads on Windows and compile
Change-Id: Id85d9fd3e03a310e07e0093ca80cefaf10fe8930
2016-09-20 14:49:33 -07:00
Colin Cross
2949b7f0bb
Fix checkbuild for modules with last variant disabled am: 9b1d13db73
am: fed7b92b7e
...
am: 52e09a79aa
Change-Id: Ie66a8e09d58f3a536c752807bf973810f2b3afbf
2016-09-20 17:14:37 +00:00
Colin Cross
3b838532c0
Support mixed ASAN and non-ASAN host builds am: b0f28957ae
am: 1bb040ff67
...
am: 802470f7c5
Change-Id: I0b77491ebb4642e2e7fe813b1bca9779b5b763b3
2016-09-20 17:14:36 +00:00
Colin Cross
52e09a79aa
Fix checkbuild for modules with last variant disabled am: 9b1d13db73
...
am: fed7b92b7e
Change-Id: Ifbc9fa131684fb7fd92eb3f4101735be4277864d
2016-09-20 17:04:36 +00:00
Colin Cross
802470f7c5
Support mixed ASAN and non-ASAN host builds am: b0f28957ae
...
am: 1bb040ff67
Change-Id: Iafbde074d53cd89e2caf017c4c1ae0de8fd1968e
2016-09-20 17:04:34 +00:00
Colin Cross
fed7b92b7e
Fix checkbuild for modules with last variant disabled
...
am: 9b1d13db73
Change-Id: I19c368bdce8e7822c21a6a3ede4ee7f9891d7c9a
2016-09-20 16:57:14 +00:00
Colin Cross
1bb040ff67
Support mixed ASAN and non-ASAN host builds
...
am: b0f28957ae
Change-Id: I68e7600f0c7775550f17ac2e6131177afe0728f0
2016-09-20 16:57:13 +00:00
Colin Cross
9b1d13db73
Fix checkbuild for modules with last variant disabled
...
The soong checkbuild target is created by the last varaint of each
module. Don't return early if the variant is disabled, which would
prevent creating the checkbuild target.
Test: m -j checkbuild
Change-Id: Ib260bae7fb4be7255f5c1b34dfbd50225f308005
2016-09-19 16:50:35 -07:00
Colin Cross
b0f28957ae
Support mixed ASAN and non-ASAN host builds
...
Host builds may build binaries that must have ASAN disabled. Convert
host ASAN to use variants. Since there is only one install location for
shared libraries, don't install the non-ASAN variant at all for now.
Test: mmma -j art SANITIZE_HOST=address
Change-Id: Iacefecac93df44823316624b4c540c24f643fb80
2016-09-19 16:50:35 -07:00
Colin Cross
3ebdaf2984
Make ndk.timestamp optional am: f09c8437f9
am: b8332205f8
...
am: 7f73badbd6
Change-Id: Iabd0e4ad424520b8bfc1a86e163dcf72748c5ebe
2016-09-16 21:55:28 +00:00
Colin Cross
7f73badbd6
Make ndk.timestamp optional am: f09c8437f9
...
am: b8332205f8
Change-Id: Idac0cbaa28cfd9979d4f062f8b68c53d7ab97e7f
2016-09-16 21:52:53 +00:00
Colin Cross
b8332205f8
Make ndk.timestamp optional
...
am: f09c8437f9
Change-Id: I9c389c18ad585a043aa75d1e7ec58fb699bf03fe
2016-09-16 21:50:23 +00:00
Colin Cross
f09c8437f9
Make ndk.timestamp optional
...
Singleton rules need to manually specify Optional: true, or they will be
built for any ninja invocation that has no targets specified.
Test: m -j on tradefed build
Change-Id: Ifc060b25bc32e664c48731eb8a0d963b73574591
2016-09-16 12:53:59 -07:00
Dan Albert
2a7c0a5e0f
Merge changes from topics 'ndk-libc++-libdl', 'ndk-compiler-rt_extras' am: 702b561ee5
am: 5965ec1ab0
...
am: 17b8ed4fb0
Change-Id: Idc78c0796b7e285d3e5b7f1aef70c91058535e02
2016-09-16 06:55:07 +00:00
Dan Albert
476d4e5131
Always link libdl with libc++ for the NDK. am: 3895d5b246
am: 302f23977f
...
am: dc6d753e2c
Change-Id: I03827a4229dcd3f9c0b27082bf4dcabb8fa748d6
2016-09-16 06:54:16 +00:00
Dan Albert
19aaec2451
Use libcompiler-rt_extras with NDK builds. am: 83705c88d7
am: 5e3f38db17
...
am: 8d7740b1f4
Change-Id: I3799ff78d637c51deae734195fc8fd04e10f7772
2016-09-16 06:54:15 +00:00
Dan Albert
17b8ed4fb0
Merge changes from topics 'ndk-libc++-libdl', 'ndk-compiler-rt_extras' am: 702b561ee5
...
am: 5965ec1ab0
Change-Id: I67810b788c93ba1c26102b7ce9a93d8957978b68
2016-09-16 06:52:01 +00:00
Dan Albert
dc6d753e2c
Always link libdl with libc++ for the NDK. am: 3895d5b246
...
am: 302f23977f
Change-Id: I04c8504f54ac5d248e70475edc88cfe54babded4
2016-09-16 06:51:14 +00:00
Dan Albert
8d7740b1f4
Use libcompiler-rt_extras with NDK builds. am: 83705c88d7
...
am: 5e3f38db17
Change-Id: I5db2704e11ef8f30498a8698e6a3204d44fcc14d
2016-09-16 06:51:13 +00:00
Dan Albert
5965ec1ab0
Merge changes from topics 'ndk-libc++-libdl', 'ndk-compiler-rt_extras'
...
am: 702b561ee5
Change-Id: Ia53d479916ac5aea2a466eedd12661351ab7dfc9
2016-09-16 06:48:13 +00:00
Dan Albert
302f23977f
Always link libdl with libc++ for the NDK.
...
am: 3895d5b246
Change-Id: Idd23c265a7a3c0f8efd48cf83d52870a5025aa6d
2016-09-16 06:45:34 +00:00
Dan Albert
5e3f38db17
Use libcompiler-rt_extras with NDK builds.
...
am: 83705c88d7
Change-Id: I65627012c592dc2c424d10a87450f232b8e6f339
2016-09-16 06:45:33 +00:00
Treehugger Robot
702b561ee5
Merge changes from topics 'ndk-libc++-libdl', 'ndk-compiler-rt_extras'
...
* changes:
Always link libdl with libc++ for the NDK.
Use libcompiler-rt_extras with NDK builds.
2016-09-16 06:40:32 +00:00
Colin Cross
cf4fc79836
Merge "Improve test support for art tests" am: 0e19618906
am: 79cb52c7ec
...
am: 06ba5856e9
Change-Id: I6cd395021f8045597d4059a8d0b403266d869309
2016-09-15 21:58:08 +00:00
Colin Cross
06ba5856e9
Merge "Improve test support for art tests" am: 0e19618906
...
am: 79cb52c7ec
Change-Id: Ic7f4fb57f7359638b78fe271a7dc5c93a8c9ffa4
2016-09-15 21:55:10 +00:00
Colin Cross
79cb52c7ec
Merge "Improve test support for art tests"
...
am: 0e19618906
Change-Id: I010c4f1f9cd61ed1957640ecdd8ea07e6959bf49
2016-09-15 21:52:26 +00:00
Colin Cross
0e19618906
Merge "Improve test support for art tests"
2016-09-15 21:47:07 +00:00
Colin Cross
426730add5
Split CommonGlobalIncludes for system includes am: 1cfd89aca3
am: 74a8c40cca
...
am: 2cc34cf368
Change-Id: Ib04b25e85fd7b4f0412d428ae41465e03c773cdd
2016-09-15 18:23:21 +00:00
Colin Cross
2cc34cf368
Split CommonGlobalIncludes for system includes am: 1cfd89aca3
...
am: 74a8c40cca
Change-Id: Ia3979beff5bf4557404e0a43d02a74116746a093
2016-09-15 18:20:20 +00:00
Colin Cross
74a8c40cca
Split CommonGlobalIncludes for system includes
...
am: 1cfd89aca3
Change-Id: If983beb6b00b0e6348f838ad2a44616a4711cd63
2016-09-15 18:17:50 +00:00
Colin Cross
1cfd89aca3
Split CommonGlobalIncludes for system includes
...
Split CommonGlobalSystemIncludes out of CommonGlobalIncludes in
preparation for moving global includes from -isystem to -I.
Bug: 31492149
Change-Id: Ib935ea038cdbf9515dc2ab68d7fff924c370906a
2016-09-15 09:33:57 -07:00
Dan Willemsen
f2bb2704cd
Merge "Sort NDK_MIGRATED_LIBS in make_vars" am: 98e7e66cb6
am: 565fc67ac9
...
am: 6bfb956885
Change-Id: Icb03c8a402de633e479ac2ce426222cea11d838c
2016-09-15 05:28:29 +00:00
Dan Willemsen
6bfb956885
Merge "Sort NDK_MIGRATED_LIBS in make_vars" am: 98e7e66cb6
...
am: 565fc67ac9
Change-Id: Iccbc5465eadc12ed938b5cdade164aa769dbc7b8
2016-09-15 05:25:58 +00:00
Dan Willemsen
565fc67ac9
Merge "Sort NDK_MIGRATED_LIBS in make_vars"
...
am: 98e7e66cb6
Change-Id: I2f144cca0b625fddb6cc59b513326a33ea9fadce
2016-09-15 05:23:28 +00:00
Treehugger Robot
98e7e66cb6
Merge "Sort NDK_MIGRATED_LIBS in make_vars"
2016-09-15 05:18:04 +00:00
Dan Willemsen
8a11306647
Add Relocation Packer support am: 394e9dc876
am: 197497396a
...
am: 356bf7eb6d
Change-Id: I8754643318a5e64005fa168426669121ea0d9c48
2016-09-15 03:55:59 +00:00
Dan Willemsen
356bf7eb6d
Add Relocation Packer support am: 394e9dc876
...
am: 197497396a
Change-Id: I724331e370f1f2972e8209826f0d1234c0142d45
2016-09-15 03:54:00 +00:00
Dan Willemsen
197497396a
Add Relocation Packer support
...
am: 394e9dc876
Change-Id: Ib07800a5773223de38bcd8fbac88bc0bf3bbe9f2
2016-09-15 03:51:00 +00:00