Zhuoyao Zhang
b003d0537f
Add test/vts into soong build target.
...
Bug: 31930023
Test: make vts
Change-Id: Ibd3ed5e56a2ce925d509dfd95a00e3961a433850
2016-11-02 16:41:04 -07:00
Dan Willemsen
e759fe9a72
Merge changes from topic 'soong-clang-tidy' am: 9194d8076c
am: f763a52f3e
am: 379bd1416e
...
am: 75cccfa627
Change-Id: Icdb7150f0adfa7c853ff87bad40a6937683129f6
2016-11-01 01:33:58 +00:00
Dan Willemsen
eb8c0e09bd
Add clang-tidy support am: a03cf6d322
am: b274202d2a
am: 3b00f2a1bf
...
am: e2beb21b05
Change-Id: I3ae506d74189c3c043282c788625bacab8fee278
2016-11-01 01:33:18 +00:00
Dan Willemsen
ad62f2cc87
Start using "struct Objects" to store object Paths am: 5cb580f407
am: 40d479babe
am: 7087976bf3
...
am: 0d97acd321
Change-Id: Ic075a5f48ac5f1a1c06bcba7fa7a639917fc755c
2016-11-01 01:33:17 +00:00
Dan Willemsen
75cccfa627
Merge changes from topic 'soong-clang-tidy' am: 9194d8076c
am: f763a52f3e
...
am: 379bd1416e
Change-Id: I791ff8e675fed668b06475658424ec0e49910561
2016-11-01 01:28:01 +00:00
Dan Willemsen
e2beb21b05
Add clang-tidy support am: a03cf6d322
am: b274202d2a
...
am: 3b00f2a1bf
Change-Id: I7c9cf53af44b694af30f55f3d3b222119b5892e0
2016-11-01 01:27:25 +00:00
Dan Willemsen
0d97acd321
Start using "struct Objects" to store object Paths am: 5cb580f407
am: 40d479babe
...
am: 7087976bf3
Change-Id: I6d83a55786bec19390ad186b5a3465a59b9eca04
2016-11-01 01:27:23 +00:00
Dan Willemsen
379bd1416e
Merge changes from topic 'soong-clang-tidy' am: 9194d8076c
...
am: f763a52f3e
Change-Id: I0d753706eae9d8837fca59a3212008cc0ef26b27
2016-11-01 01:25:30 +00:00
Dan Willemsen
3b00f2a1bf
Add clang-tidy support am: a03cf6d322
...
am: b274202d2a
Change-Id: I9cdfb2c78cf67d51a4e28985039a51e176c35a16
2016-11-01 01:24:55 +00:00
Dan Willemsen
7087976bf3
Start using "struct Objects" to store object Paths am: 5cb580f407
...
am: 40d479babe
Change-Id: Ie55ed98e4a17eb8e2b0724e74f256d4c588dd44b
2016-11-01 01:24:54 +00:00
Dan Willemsen
f763a52f3e
Merge changes from topic 'soong-clang-tidy'
...
am: 9194d8076c
Change-Id: Idbe3f27c087f50b8719e60d519f93e80af757a9d
2016-11-01 01:23:06 +00:00
Dan Willemsen
b274202d2a
Add clang-tidy support
...
am: a03cf6d322
Change-Id: Idd480832fa400f6f7f401fce619426f61bb69525
2016-11-01 01:22:24 +00:00
Dan Willemsen
40d479babe
Start using "struct Objects" to store object Paths
...
am: 5cb580f407
Change-Id: I40aa1ef054eab887c56d55ce56f179ea9ae58d48
2016-11-01 01:22:23 +00:00
Treehugger Robot
9194d8076c
Merge changes from topic 'soong-clang-tidy'
...
* changes:
Add clang-tidy support
Start using "struct Objects" to store object Paths
2016-11-01 01:19:00 +00:00
Evgenii Stepanov
5828a597fe
[soong] Enable LOCAL_SANITIZE:=cfi and add LOCAL_SANITIZE_DIAG. am: 1e405e160a
am: 45d131b88d
am: 9a518cef45
...
am: 7c630bac98
Change-Id: I4ba6d086343af6ff3c423e78640e791b331973e0
2016-11-01 01:08:35 +00:00
Evgenii Stepanov
7c630bac98
[soong] Enable LOCAL_SANITIZE:=cfi and add LOCAL_SANITIZE_DIAG. am: 1e405e160a
am: 45d131b88d
...
am: 9a518cef45
Change-Id: I138ea5e5b9c51511155b8407dd3bbfcb0c5a68e4
2016-11-01 01:05:48 +00:00
Evgenii Stepanov
9a518cef45
[soong] Enable LOCAL_SANITIZE:=cfi and add LOCAL_SANITIZE_DIAG. am: 1e405e160a
...
am: 45d131b88d
Change-Id: I21e8966e4564aaf2c2579d07588a7369324a086e
2016-11-01 01:03:19 +00:00
Evgenii Stepanov
45d131b88d
[soong] Enable LOCAL_SANITIZE:=cfi and add LOCAL_SANITIZE_DIAG.
...
am: 1e405e160a
Change-Id: I43ed2fdc9a4b32d22d229eca9f48cb4f9c4672de
2016-11-01 01:00:49 +00:00
Dan Willemsen
a03cf6d322
Add clang-tidy support
...
For every file which we can run clang-tidy (C/C++ clang-built), we add a
new build node that depends on the object file (since clang-tidy does
not export a depfile), and is depended on by the link step. This is
better than how we're doing it in make, since calling tidy can be turned
on or off without needing to rebuild the object files.
This does not attempt to port WITH_TIDY_ONLY from Make, since the way
that it works is broken (due to the lack of a depfile).
Bug: 32244182
Test: WITH_TIDY=true mmma -j bionic/libc
Test: ./soong (Setting ClangTidy: true)
Change-Id: I40bbb5bb00d292d72bf1c293b93080b5f9f6d8ea
2016-10-31 16:21:01 -07:00
Dan Willemsen
5cb580f407
Start using "struct Objects" to store object Paths
...
So that we can represent other files that get generated along with the
objects, like the gcno coverage information, and per-file clang-tidy
runs.
Test: Soong's build.ninja identical before/after
Change-Id: I5c553a153c436d5403549f62c73fe79c5f101779
2016-10-31 16:18:49 -07:00
Evgenii Stepanov
1e405e160a
[soong] Enable LOCAL_SANITIZE:=cfi and add LOCAL_SANITIZE_DIAG.
...
LOCAL_SANITIZE_DIAG works for ubsan, too.
Bug: 22033465
Test: build a test target with cfi and diag { cfi } properties.
Change-Id: I9cd8e8df9b330430b321709d7f05b4da0294e771
2016-10-31 15:29:08 -07:00
Dan Willemsen
b9d21a2b3f
Merge "Remove support for building with OSX 10.8/9 SDKs" am: 5d5db02bf6
am: 82c9ed6100
am: 67c12a6bfe
...
am: 815ce087e1
Change-Id: I403793bb70e831712ffd0f778280ff6602276f0d
2016-10-28 23:16:14 +00:00
Dan Willemsen
815ce087e1
Merge "Remove support for building with OSX 10.8/9 SDKs" am: 5d5db02bf6
am: 82c9ed6100
...
am: 67c12a6bfe
Change-Id: I5cb2db9f5fc45413e2059d43b987cd56e3378bee
2016-10-28 23:11:14 +00:00
Dan Willemsen
67c12a6bfe
Merge "Remove support for building with OSX 10.8/9 SDKs" am: 5d5db02bf6
...
am: 82c9ed6100
Change-Id: I3a6daaa354e85e6d3fb0d9b65ec14fdc5268012f
2016-10-28 23:05:15 +00:00
Dan Willemsen
82c9ed6100
Merge "Remove support for building with OSX 10.8/9 SDKs"
...
am: 5d5db02bf6
Change-Id: I7741e225ff063368d83ff74ba7c2b2f4556ad6cd
2016-10-28 22:59:43 +00:00
Treehugger Robot
5d5db02bf6
Merge "Remove support for building with OSX 10.8/9 SDKs"
2016-10-28 22:50:20 +00:00
Dan Willemsen
85e3d0110f
Remove support for building with OSX 10.8/9 SDKs
...
Our minimum build version listed on source.android.com is 10.10. Change
the minimum used SDK to 10.10, but keep the deployed version at 10.8 so
that our distributed tools still work on older versions.
CoreBluetooth/CoreBluetooth.h isn't available directly in older SDKs,
but we need to include it in the 10.12 SDK.
Test: `m -j` with 10.11, 10.12 SDKs.
Test: Verified the builders all have at least 10.10 sdk available.
Change-Id: I82321875b8b3a4099ea829ce2d75e1af29cb38c6
2016-10-28 13:57:34 -07:00
Colin Cross
ba694dcf86
Merge changes from topic 'proto' am: d41935f34d
am: e9c465d644
am: 8f03b043de
...
am: 6e98848e59
Change-Id: I3122ff132545f795a732e6b7b114d29ec48a4217
2016-10-28 20:25:41 +00:00
Colin Cross
8873772a5e
Add support for .proto files am: 0c461f1f6e
am: 6fded76595
am: 0cb3a73c53
...
am: 84876cf193
Change-Id: I5bea8610e643e77e5a9a8141900c25835467d770
2016-10-28 20:24:43 +00:00
Colin Cross
17ae6386e8
Add Path.Base helper am: 4f6fc9c1d8
am: 656028558b
am: 311afec662
...
am: 7e91a2e121
Change-Id: I666fafa9976f054c154577b2029486259fefa82f
2016-10-28 20:24:41 +00:00
Colin Cross
e86acce7ce
Simplify compileObjs am: 2f33635542
am: dc90f3bd71
am: 55ab14d5af
...
am: 294c887f0d
Change-Id: I0b1723c28ad2b3d3c842ad346a001ac7404a8701
2016-10-28 20:24:40 +00:00
Colin Cross
6e98848e59
Merge changes from topic 'proto' am: d41935f34d
am: e9c465d644
...
am: 8f03b043de
Change-Id: I82e39bc9f7bac4855f98e7743e14ac0f7d9ea2c1
2016-10-28 20:24:32 +00:00
Colin Cross
8f03b043de
Merge changes from topic 'proto' am: d41935f34d
...
am: e9c465d644
Change-Id: I84d0bc803831fad0123890ad81b6a5ab4c9fcd82
2016-10-28 20:21:18 +00:00
Colin Cross
e9c465d644
Merge changes from topic 'proto'
...
am: d41935f34d
Change-Id: Iebcf780af405dc7182937a59cbcb42ee24aba210
2016-10-28 20:21:00 +00:00
Colin Cross
84876cf193
Add support for .proto files am: 0c461f1f6e
am: 6fded76595
...
am: 0cb3a73c53
Change-Id: Ie127aa1fc18092437c3c04b4b272db166de385c1
2016-10-28 20:20:12 +00:00
Colin Cross
7e91a2e121
Add Path.Base helper am: 4f6fc9c1d8
am: 656028558b
...
am: 311afec662
Change-Id: I8cc715db736de27d49f855b764149a37f953724d
2016-10-28 20:20:11 +00:00
Colin Cross
294c887f0d
Simplify compileObjs am: 2f33635542
am: dc90f3bd71
...
am: 55ab14d5af
Change-Id: I09598cddc84e8f50dae2fd998e69be628d2cbd7b
2016-10-28 20:20:10 +00:00
Colin Cross
0cb3a73c53
Add support for .proto files am: 0c461f1f6e
...
am: 6fded76595
Change-Id: Ie8a28d25986d7129b29842b8a2aa5255c1799d65
2016-10-28 20:15:11 +00:00
Colin Cross
311afec662
Add Path.Base helper am: 4f6fc9c1d8
...
am: 656028558b
Change-Id: I8df966e7dfb3bf12c6aff14eff9cefc63d0431c2
2016-10-28 20:15:10 +00:00
Colin Cross
55ab14d5af
Simplify compileObjs am: 2f33635542
...
am: dc90f3bd71
Change-Id: I696a2fa186a93bc74828c0a16a505a4ce73265c7
2016-10-28 20:15:08 +00:00
Colin Cross
6fded76595
Add support for .proto files
...
am: 0c461f1f6e
Change-Id: I1f96fc0bf85cc9afec18b1323922a319db6dbf64
2016-10-28 20:10:12 +00:00
Colin Cross
656028558b
Add Path.Base helper
...
am: 4f6fc9c1d8
Change-Id: I2e671b0916588d960d5ed5e496a5522564d4dee2
2016-10-28 20:10:10 +00:00
Colin Cross
dc90f3bd71
Simplify compileObjs
...
am: 2f33635542
Change-Id: I5766b8964fc1da175d74408c2ffe089f989305c7
2016-10-28 20:10:09 +00:00
Treehugger Robot
d41935f34d
Merge changes from topic 'proto'
...
* changes:
Add support for .proto files
Add Path.Base helper
Simplify compileObjs
2016-10-28 20:04:51 +00:00
Colin Cross
0c461f1f6e
Add support for .proto files
...
.proto files are translated to .pb.cc and .pb.h files, which are then
compiled normally.
Bug: 32286026
Test: mmma -j system/extras/perfprofd
Change-Id: I538071424d667aacf35b4b8bfebe217f5f092726
2016-10-27 15:28:09 -07:00
Colin Cross
4f6fc9c1d8
Add Path.Base helper
...
Add Path.Base to return the basename of a Path object.
Test: builds
Change-Id: I2bf1519dc5039bedb1586e7ec18297a293e32e11
2016-10-27 15:18:17 -07:00
Colin Cross
2f33635542
Simplify compileObjs
...
None of the direct users of compileObjs were using any of its
complexity (generated sources, excluded sources, extra sources). Move
the complexity back in to baseCompiler.compile.
Test: m -j
Change-Id: I2e59d216682c00dd12a1395cf2448827d1c48023
2016-10-27 15:18:13 -07:00
Eyal Lezmy
73e22eab23
Merge "Support MacOS SDK version 10.12" am: 0cca777715
am: d83d113e3d
am: 16115f8ef8
...
am: c75e7180f8
Change-Id: I65b2f2399c8bd6dc4952a4e3aa5657113ad25707
2016-10-26 23:13:58 +00:00
Eyal Lezmy
c75e7180f8
Merge "Support MacOS SDK version 10.12" am: 0cca777715
am: d83d113e3d
...
am: 16115f8ef8
Change-Id: I55ec93c11ec2e93200c57b8eeefe87b908ac63f9
2016-10-26 23:10:29 +00:00
Eyal Lezmy
16115f8ef8
Merge "Support MacOS SDK version 10.12" am: 0cca777715
...
am: d83d113e3d
Change-Id: I01d32925062af1c571bd3fb46ed4ec0603b3223b
2016-10-26 23:05:59 +00:00