Commit Graph

1786 Commits

Author SHA1 Message Date
Dan Willemsen
3a3ab234f1 Fix LOCAL_EXPORT_C_INCLUDE_DIRS processing
am: e6c7f18364

Change-Id: I9f0b79150d47ce515fd59379b0a2d4f48b0067fe
2016-07-13 20:50:26 +00:00
Dan Willemsen
e6c7f18364 Fix LOCAL_EXPORT_C_INCLUDE_DIRS processing
In order to strip the -I from the beginning of each flag, the androidmk
functionality expected every flag to be distinct. The existing
functionality was combining them with spaces if a module exported more
than one include directory at a time.

Change-Id: Ief5e22061c58f3d987557e938bae880509ffb121
2016-07-13 10:45:01 -07:00
Dan Willemsen
66f437d261 Make static_executable an arch_variant am: 75ab80882e am: b3aaf7b399
am: f47543f0fd

Change-Id: I3781107047b10e09644393ff6ef3e6b9d0dd1897
2016-07-13 00:49:07 +00:00
Dan Willemsen
c38a02cff4 Add product variables: cpusets schedboost am: a6f7d15609 am: ec7af7e71e
am: 9c175ed2b7

Change-Id: Ib7c9a797ace93bcbad4b29a1eb51911e2f5858ae
2016-07-13 00:48:25 +00:00
Dan Willemsen
f47543f0fd Make static_executable an arch_variant am: 75ab80882e
am: b3aaf7b399

Change-Id: I73364aa73cbc96bffc882bc11a9784ac54504829
2016-07-13 00:45:36 +00:00
Dan Willemsen
b3aaf7b399 Make static_executable an arch_variant
am: 75ab80882e

Change-Id: Ia0cb34247c71ff4f1dc3c95f99591d442afbf315
2016-07-13 00:44:47 +00:00
Dan Willemsen
9c175ed2b7 Add product variables: cpusets schedboost am: a6f7d15609
am: ec7af7e71e

Change-Id: Ib04e619824d35f39580a01e0ad7fb70443ca4063
2016-07-13 00:44:46 +00:00
Dan Willemsen
ec7af7e71e Add product variables: cpusets schedboost
am: a6f7d15609

Change-Id: Ia37f1b0748085195d7e9b8b63449b37445b51c38
2016-07-13 00:41:22 +00:00
Dan Willemsen
75ab80882e Make static_executable an arch_variant
So that target executables can be static executables, and the same
module can make a host executable that isn't static.

Change-Id: Ibe0de001a8d1e7d59e617c244978098355718527
2016-07-12 15:41:09 -07:00
Dan Willemsen
a6f7d15609 Add product variables: cpusets schedboost
These are used by libcutils, and are equivalent to the ENABLE_CPUSETS
and ENABLE_SCHEDBOOST make variables.

Change-Id: I65d0eed49b5bcb4d6415e9e64a0159209a43b922
2016-07-12 15:41:09 -07:00
Colin Cross
34a91f3dc5 Add system/extras/* to the root Android.bp file am: f791826f8b am: 3b8b7d3e03
am: 7d470e40c2

Change-Id: Ifb7b5e6a2e634e4a26a3275528b526a57eb60dad
2016-07-12 21:49:28 +00:00
Colin Cross
3e3e3c5591 Add support for test libraries am: c7a38dc00c am: e561bdbf76
am: b7d223a987

Change-Id: I0b73cf77763f59e3f26fbce021b7e9b3d71ffd46
2016-07-12 21:49:28 +00:00
Colin Cross
972759ed14 Make Stl *bool am: 7924885eb3 am: 4f8c7fffbc
am: e104272645

Change-Id: Ic2ff982b41e4bb61053422b25cb4eb848c826a2b
2016-07-12 21:49:27 +00:00
Colin Cross
d9cb04b989 Make Host/Device_supported *bool am: a4190c10eb am: 1c9e11fa15
am: 326822bdef

Change-Id: I8ab6df0791e0a7d6d92fae78841732e01707fdd4
2016-07-12 21:49:27 +00:00
Colin Cross
7d470e40c2 Add system/extras/* to the root Android.bp file am: f791826f8b
am: 3b8b7d3e03

Change-Id: I1422e2da8b9545c201929463c753bb0e24d3c126
2016-07-12 21:46:13 +00:00
Colin Cross
b7d223a987 Add support for test libraries am: c7a38dc00c
am: e561bdbf76

Change-Id: Ic9fca42ea784ba06186c9f40bfc73cefd058f892
2016-07-12 21:46:13 +00:00
Colin Cross
e104272645 Make Stl *bool am: 7924885eb3
am: 4f8c7fffbc

Change-Id: I9e144cfab0b188325721f3ff64fe2a5a79b62577
2016-07-12 21:46:12 +00:00
Colin Cross
326822bdef Make Host/Device_supported *bool am: a4190c10eb
am: 1c9e11fa15

Change-Id: I00a3a0a3e57392cc0d8dcfb8760a34c519c42bd3
2016-07-12 21:46:12 +00:00
Colin Cross
3b8b7d3e03 Add system/extras/* to the root Android.bp file
am: f791826f8b

Change-Id: I8cca90f5d8678b666ea927d4b530c47f5a70c9a2
2016-07-12 21:42:54 +00:00
Colin Cross
e561bdbf76 Add support for test libraries
am: c7a38dc00c

Change-Id: I6f83f7fddbecaa3f67831cc4cde994908d9097fb
2016-07-12 21:42:53 +00:00
Colin Cross
4f8c7fffbc Make Stl *bool
am: 7924885eb3

Change-Id: Icf730927c66d287ee69c1bdaae9244e5203a2033
2016-07-12 21:42:53 +00:00
Colin Cross
1c9e11fa15 Make Host/Device_supported *bool
am: a4190c10eb

Change-Id: Ide2b2c200102ae2395516c4d764a8d4ee0bef9f0
2016-07-12 21:42:52 +00:00
Colin Cross
f791826f8b Add system/extras/* to the root Android.bp file
Change-Id: I15c729914392dd97e114852d43156bff1c03ed56
2016-07-12 13:14:05 -07:00
Colin Cross
c7a38dc00c Add support for test libraries
Add cc_test_library, which is a combination of a cc_test and a static
library.  Requires adding a libraryInterface to identify libraries that
are embedded in other types.

Change-Id: I2f0dcccb2f7243409210547562d2b41c3fbce44e
2016-07-12 13:13:09 -07:00
Colin Cross
7924885eb3 Make Stl *bool
When collapsing properties for applying defaults, string is
appended, *string is replaced, which is the behavior we want here.

Change-Id: I22a8c23e1cb8ec1960cd5d92d80f6c1ddfab1913
2016-07-12 13:12:33 -07:00
Colin Cross
a4190c10eb Make Host/Device_supported *bool
When collapsing properties for applying defaults, bool is ORed, *bool is
replaced, which is the behavior we want here.

Change-Id: I40ac5035bedcd4b1bbf50e054f8527523f9f6f79
2016-07-12 13:11:26 -07:00
Colin Cross
fe2adfd3b5 Fix install path of benchmarks am: 624b8ed0b3 am: 83d93f3da8
am: 3375e95f8c

Change-Id: Ic988d7a6c4067c2861f0c7f15ed1c7d444e42d25
2016-07-12 06:11:50 +00:00
Colin Cross
3375e95f8c Fix install path of benchmarks am: 624b8ed0b3
am: 83d93f3da8

Change-Id: I7e24de2c40fddb54be72bf293cfa71af72aa7fe3
2016-07-12 06:09:05 +00:00
Colin Cross
83d93f3da8 Fix install path of benchmarks
am: 624b8ed0b3

Change-Id: I50844c0c90d3a7da14adea60561b7d248ac43fc0
2016-07-12 06:06:14 +00:00
Colin Cross
956fd6de78 Add system shared library dependencies to Android.mk am: b5bc4b412a am: 474699be6e
am: 6310cfb449

Change-Id: I4caeb711cf480a9451212e35d9364ff41f94a9da
2016-07-12 00:46:45 +00:00
Colin Cross
6310cfb449 Add system shared library dependencies to Android.mk am: b5bc4b412a
am: 474699be6e

Change-Id: I1456a129803581a5d956713ed7f33c87b774761f
2016-07-12 00:44:14 +00:00
Colin Cross
474699be6e Add system shared library dependencies to Android.mk
am: b5bc4b412a

Change-Id: I8006b0b3b61f30192fff3ef269049d2216df7452
2016-07-12 00:41:46 +00:00
Colin Cross
624b8ed0b3 Fix install path of benchmarks
Benchmarks should go in /data/nativetest/<module> like tests.

Change-Id: Ib72ee699334da6a6d27813822e1f86f2863227b3
2016-07-11 17:20:09 -07:00
Colin Cross
d3a7c9b63d Update cc_benchmark to use libgoogle-benchmark am: 2683274349 am: c1d0f687e7
am: a2876389a9

Change-Id: I6ecbaf40380fef224d5aff71dde2561308adcced
2016-07-12 00:17:54 +00:00
Colin Cross
a2876389a9 Update cc_benchmark to use libgoogle-benchmark am: 2683274349
am: c1d0f687e7

Change-Id: I8ca60eae4b6c3bfa7f4dd402f5a559498e7ecbad
2016-07-12 00:15:21 +00:00
Colin Cross
c1d0f687e7 Update cc_benchmark to use libgoogle-benchmark
am: 2683274349

Change-Id: I6d9f7907f3976d53b0fc7d0feccc905ce2390939
2016-07-12 00:12:42 +00:00
Colin Cross
b5bc4b412a Add system shared library dependencies to Android.mk
We were missing dependencies from the prebuilts to the system shared
libraries, which could cause libc to not be installed if only soong
modules were built.

Change-Id: Ie5c237d7be23c6170e8b586b013f6456a8462230
2016-07-11 16:14:13 -07:00
Dan Willemsen
2528ec1596 Support no configured device architectures am: 3f32f03067 am: f104025805
am: 1c462c395d

Change-Id: I96ac7c55bf149a9ac468d8529a3a264600c2c4d9
2016-07-11 22:48:39 +00:00
Dan Willemsen
1c462c395d Support no configured device architectures am: 3f32f03067
am: f104025805

Change-Id: I3b8c0a56971f76c05fdfb03569476ff111bd11ec
2016-07-11 22:46:10 +00:00
Dan Willemsen
f104025805 Support no configured device architectures
am: 3f32f03067

Change-Id: I2bce3feca58df2e9682bef04ee39232f58185d52
2016-07-11 22:43:46 +00:00
Colin Cross
2683274349 Update cc_benchmark to use libgoogle-benchmark
Updates soong to match I1565cf680298a1765e88162d8b0e59dedba29bd7

Change-Id: I787675562e3f1dceb9a56f2bcb533a551cae550a
2016-07-11 22:39:35 +00:00
Dan Willemsen
3f32f03067 Support no configured device architectures
There are some builds where we only want to build host tools, and we may
not have a valid device configuration. Support 0 device architectures
and modules that don't have any configured way to build.

Change-Id: I732251e1cd3cdbfafbc6ef6a550e33e653876f7c
2016-07-11 14:36:48 -07:00
Dan Willemsen
d71cac8d5f Apply export_include_dirs to assembly files am: 76f0827ce3 am: 6f4ce93924
am: fc2c2220f6

Change-Id: I4c2420c99fabc5a806e567abd0dfd1477bd16a51
2016-07-11 20:24:27 +00:00
Dan Willemsen
948b01f823 Stop exporting NDK prebuilt modules to Make am: 72d3993c9b am: 89ae37fb8d
am: 55922725ce

Change-Id: I74dc323639b2da32eadb2ee1a4fcb5314cef1fd3
2016-07-11 20:24:26 +00:00
Dan Willemsen
fc2c2220f6 Apply export_include_dirs to assembly files am: 76f0827ce3
am: 6f4ce93924

Change-Id: If2d1132b9f1cfb9e244a1775b027418d0d456f4e
2016-07-11 20:21:50 +00:00
Dan Willemsen
55922725ce Stop exporting NDK prebuilt modules to Make am: 72d3993c9b
am: 89ae37fb8d

Change-Id: Ifbeedaa82613cc966c50a525e6cb85300065defa
2016-07-11 20:21:49 +00:00
Dan Willemsen
6f4ce93924 Apply export_include_dirs to assembly files
am: 76f0827ce3

Change-Id: Ibe3c32493f6142e241bc5e78c3c31711cec07163
2016-07-11 20:18:05 +00:00
Dan Willemsen
89ae37fb8d Stop exporting NDK prebuilt modules to Make
am: 72d3993c9b

Change-Id: I458ef00fe702a385089d0b9ca784c49899a9931b
2016-07-11 20:18:04 +00:00
Dan Willemsen
76f0827ce3 Apply export_include_dirs to assembly files
Instead of putting these in CFlags, use GlobalFlags instead. This
matches the Make behavior.

The exportFlagProducer could be generic, but for now only has include
directories, so it should be safe for all file types.

Change-Id: I2862f08e7ad473ebacaa88ad2c4510248cad316f
2016-07-09 07:20:59 +00:00
Dan Willemsen
72d3993c9b Stop exporting NDK prebuilt modules to Make
Make isn't going to use any of these anytime soon. So hide them from
make for now, and be sure to save the AndroidMk shared library
dependencies before we convert them to NDK dependencies.

And $(ACP) is no longer used by $(copy-file-to-target)

Change-Id: I8f8f7d0177d31ba4206c0bc1f2ff952dce53b6b4
2016-07-08 23:41:36 -07:00