Commit graph

1530 commits

Author SHA1 Message Date
Colin Cross
2050891406 Initial prebuilt support am: ce75d2c6a2 am: 2d9267aa6c
am: 6e240412aa

Change-Id: I442b67dc46988151a3f02fae4e9208cde6c93698
2016-10-13 23:38:17 +00:00
Colin Cross
3186850865 Only register mutators once am: 4498afc55b am: 1038ddd4c9
am: ce05241152

Change-Id: I285eba470067d9292de700945461471f83aefe29
2016-10-13 23:38:16 +00:00
Colin Cross
6e240412aa Initial prebuilt support am: ce75d2c6a2
am: 2d9267aa6c

Change-Id: Ibbd81201441f7ada699ec3522d7020b95bf49a3e
2016-10-13 23:33:17 +00:00
Colin Cross
ce05241152 Only register mutators once am: 4498afc55b
am: 1038ddd4c9

Change-Id: I18c41608d639fd08a7da8ec597d4ff9ebe56552f
2016-10-13 23:33:16 +00:00
Colin Cross
2d9267aa6c Initial prebuilt support
am: ce75d2c6a2

Change-Id: I9f56b56af7380e9da90c92c2159789428547c9fa
2016-10-13 23:30:16 +00:00
Colin Cross
1038ddd4c9 Only register mutators once
am: 4498afc55b

Change-Id: Ibfec9f690be83e8997e850380e16a0a6fe3facdd
2016-10-13 23:30:15 +00:00
Colin Cross
ce75d2c6a2 Initial prebuilt support
Support prebuilt shared libraries as an initial proof-of-concept of
prebuilts.  Future changes will support binaries and static libraries,
and the ability to select which to use based on something besides
blueprint properties.

Test: TestPrebuilts run during m -j
Change-Id: I6e84da667e9005ae11844bad01d25cbe4ced1ce3
2016-10-13 14:52:47 -07:00
Colin Cross
4498afc55b Only register mutators once
Mutators are registered into a global variable, and then into the
context when it is created.  Only call registerMutators once so that the
same mutator is not listed multiple times in the global variable when
multiple contexts are created.

Test: go test -v android/soong/android
Change-Id: Ie9e3ed09a89b848462b898476cdfb81a90c64bd3
2016-10-13 14:23:17 -07:00
Elliott Hughes
457b2cf4ff Consistently use -std=gnu99 for gcc as well as clang. am: 5a0401ab9c am: 3a136c085e
am: e6836a508a

Change-Id: I94ddf3b4c4587d812b92aa745de0b65165028a64
2016-10-13 15:05:06 +00:00
Elliott Hughes
e6836a508a Consistently use -std=gnu99 for gcc as well as clang. am: 5a0401ab9c
am: 3a136c085e

Change-Id: I41234f55760561183fae448fa20d123b82ade651
2016-10-13 14:58:04 +00:00
Elliott Hughes
3a136c085e Consistently use -std=gnu99 for gcc as well as clang.
am: 5a0401ab9c

Change-Id: Id7d8165e8f59aabf15a7d8d24b294ce8beeb0a64
2016-10-13 14:50:35 +00:00
Elliott Hughes
5a0401ab9c Consistently use -std=gnu99 for gcc as well as clang.
This matters for C files that are also built for Windows. Previously they'd
be compiled with -std=gnu99 for the host but [effectively] -std=gnu89 for
Windows.

Bug: http://b/32019064
Test: builds, and can build libcrypto_utils without a manual -std= line
Change-Id: I9c5cc7832220b5c3d6a007ff10d076e26fd8c75d
2016-10-13 14:41:31 +00:00
Colin Cross
798de83c6b Add a Name property am: fc754581fc am: 8342688bca
am: 1a7847bd28

Change-Id: I0fd0694b0a8c2ee7967d3f1309ddbdf1df9be4c3
2016-10-13 03:58:01 +00:00
Colin Cross
56233ad979 Control mutator order am: 1e676bef94 am: d309a15b9d
am: e92e8abe10

Change-Id: I966513dfc19cf189896618f01d2e30d29431bffe
2016-10-13 03:58:00 +00:00
Colin Cross
1a7847bd28 Add a Name property am: fc754581fc
am: 8342688bca

Change-Id: I2013c8aadf3dacaa78a866f4178a23a00bc5aa39
2016-10-13 03:50:31 +00:00
Colin Cross
e92e8abe10 Control mutator order am: 1e676bef94
am: d309a15b9d

Change-Id: I8ba6e0773fe2d4af6f3ea86ecfc4068d60955b88
2016-10-13 03:50:29 +00:00
Colin Cross
8342688bca Add a Name property
am: fc754581fc

Change-Id: I3c03bf27b7de5f5f3fffc7762180cae5176a7648
2016-10-13 03:43:29 +00:00
Colin Cross
d309a15b9d Control mutator order
am: 1e676bef94

Change-Id: I7d7b50c83a9542afe316cdc54795809a3c92e9e5
2016-10-13 03:43:27 +00:00
Colin Cross
7516981e73 Move registration into android package am: 798bfce9d0 am: 873affb471
am: 9e9ed4e2e2

Change-Id: Ia9435c6a028b511dc94ee4aea1c55bd5ef0963b7
2016-10-13 00:27:26 +00:00
Colin Cross
fc754581fc Add a Name property
Blueprint is going to abdicate responsibility for determining the name
of a module.  Add a name property, and a method to retreive the name.

Test: build.ninja identical
Change-Id: I09c6f5283cd6e28ad4b04c24c5ab8b00f71ae2ab
2016-10-12 17:24:49 -07:00
Colin Cross
9e9ed4e2e2 Move registration into android package am: 798bfce9d0
am: 873affb471

Change-Id: I0ceb4d16d8bd054e28f2da0fa064154371226bfc
2016-10-13 00:19:56 +00:00
Colin Cross
873affb471 Move registration into android package
am: 798bfce9d0

Change-Id: Id0e399162173eb7b46e57969af31dd4621900d03
2016-10-13 00:12:47 +00:00
Colin Cross
1e676bef94 Control mutator order
Register mutators inside lambdas that are called in a defined order to
correctly order mutators before and after the arch and deps mutators.

Test: build.ninja identical
Change-Id: Iefe2a3515aee8570e76a6e76925db4cda0e9e822
2016-10-12 15:33:33 -07:00
Colin Cross
798bfce9d0 Move registration into android package
Mutator registration is tightly coupled with the android package, move
all registration from the soong package to the android package.

Test: build.ninja identical
Change-Id: Ie183d0b52cc7431c9e05b231934d189208ef1efe
2016-10-12 14:30:44 -07:00
Colin Cross
481273eb9c Merge "Move hardware/libhardware/include from -isystem to -I" am: 3f9bde87fb am: ddaee09318
am: cfef115558

Change-Id: Ib7ce1b35d13bbe91f6a1925a6fd704a2b63363d2
2016-10-09 01:22:46 +00:00
Colin Cross
cfef115558 Merge "Move hardware/libhardware/include from -isystem to -I" am: 3f9bde87fb
am: ddaee09318

Change-Id: Ibf332a20fd015d191f41f2281fbc1fc4c93f3c89
2016-10-09 01:17:46 +00:00
Colin Cross
ddaee09318 Merge "Move hardware/libhardware/include from -isystem to -I"
am: 3f9bde87fb

Change-Id: I0b2a234e30836a345fbac302ad39dd483e40f99a
2016-10-09 01:13:16 +00:00
Treehugger Robot
3f9bde87fb Merge "Move hardware/libhardware/include from -isystem to -I" 2016-10-09 01:05:31 +00:00
Colin Cross
092b39ff22 Merge "Move system/media/audio/include from -isystem to -I" am: 44266e97f8 am: ab00324114
am: 509852a290

Change-Id: I71787e268dbd461a9d671377d8602d3b2d4c6e0e
2016-10-07 20:52:46 +00:00
Colin Cross
509852a290 Merge "Move system/media/audio/include from -isystem to -I" am: 44266e97f8
am: ab00324114

Change-Id: I6e850e512c1b7096e3ca87ce30911ecb9e865e2a
2016-10-07 20:48:12 +00:00
Colin Cross
ab00324114 Merge "Move system/media/audio/include from -isystem to -I"
am: 44266e97f8

Change-Id: I22e3029a8b6db40ce41a5eb04b07857105122455
2016-10-07 20:44:42 +00:00
Treehugger Robot
44266e97f8 Merge "Move system/media/audio/include from -isystem to -I" 2016-10-07 20:40:54 +00:00
Colin Cross
2d44c2c716 Move hardware/libhardware/include from -isystem to -I
-isystem hides all warnings.  The warnings in hardware/libhardware/include
have been cleaned up, so move it from -isystem to -I.

Test: m -j
Bug: 32018017
Change-Id: I9a602d5e1bd021638d3a92d93af3d2a18ab4caa7
2016-10-07 11:40:04 -07:00
Colin Cross
1928093246 Move system/media/audio/include from -isystem to -I
-isystem hides all warnings.  The warnings in system/media/audio/include
have been cleaned up, so move it from -isystem to -I.

Test: m -j
Bug: 31997134
Change-Id: I1c0b68935d643992dd9fc7f76583bed286e49325
2016-10-07 11:39:58 -07:00
Josh Gao
3bf3039c90 Merge "Allow -lobjc and -framework IOKit in darwin host_ldlibs." am: 15d523b933 am: 71badcc356
am: e07febf45f

Change-Id: Ia78a9b2bfff301ecfa1d4c6bf14855e9a8bfd9bd
2016-10-07 00:11:30 +00:00
Josh Gao
e07febf45f Merge "Allow -lobjc and -framework IOKit in darwin host_ldlibs." am: 15d523b933
am: 71badcc356

Change-Id: I6f3bd338a09831d864ef0f621acca79661c1d046
2016-10-07 00:08:00 +00:00
Dan Willemsen
7ee1fec12a Add frameworks/rs to root.bp am: 46ae20b0e8 am: ca75cd7236
am: 2a16e28496

Change-Id: I53a151db508f64e688baf3db724590df02688fd4
2016-10-07 00:07:59 +00:00
Josh Gao
71badcc356 Merge "Allow -lobjc and -framework IOKit in darwin host_ldlibs."
am: 15d523b933

Change-Id: I10e7748dfe1941e60aa2d4ab3ffd459b87557d68
2016-10-07 00:04:29 +00:00
Dan Willemsen
2a16e28496 Add frameworks/rs to root.bp am: 46ae20b0e8
am: ca75cd7236

Change-Id: I60df7e6fed7fd6a993281d23dcb9f29d055b095b
2016-10-07 00:04:29 +00:00
Dan Willemsen
ca75cd7236 Add frameworks/rs to root.bp
am: 46ae20b0e8

Change-Id: Iee36a5b9d7fe5ee3f3bea4103c2ca19f7534f343
2016-10-07 00:00:59 +00:00
Josh Gao
15d523b933 Merge "Allow -lobjc and -framework IOKit in darwin host_ldlibs." 2016-10-06 23:59:58 +00:00
Dan Willemsen
46ae20b0e8 Add frameworks/rs to root.bp
Test: m -j blueprint_tools (just to generate build.ninja)
Change-Id: I26c36d2e9af13df07a3ea2240b85ae9bf2e6e80b
2016-10-06 15:13:17 -07:00
Dan Albert
f59d7980d2 Merge "Add frameworks/wilhelm to Android.bp." am: 15f6099b80 am: c1eb5c9ba2
am: 7d24596f9d

Change-Id: Ia1d91bfe1a35ac578bae5389d3a7a58b6c88c99a
2016-10-06 17:54:37 +00:00
Dan Albert
7d24596f9d Merge "Add frameworks/wilhelm to Android.bp." am: 15f6099b80
am: c1eb5c9ba2

Change-Id: I93a5b388bfa358fb95cd5872c85a0ba9cc8860e9
2016-10-06 17:51:37 +00:00
Dan Albert
c1eb5c9ba2 Merge "Add frameworks/wilhelm to Android.bp."
am: 15f6099b80

Change-Id: I54182ff445e6ce9dc9724083e28753861961f343
2016-10-06 17:48:08 +00:00
Treehugger Robot
15f6099b80 Merge "Add frameworks/wilhelm to Android.bp." 2016-10-06 17:42:08 +00:00
Dan Willemsen
d3b6a0ee3a Merge "Mark Soong-exported make variables as readonly" am: 6648ab0143 am: 215d2aaa6c
am: ba7212c136

Change-Id: I3454446b3869255315827454bd436066f760a217
2016-10-06 00:23:32 +00:00
Dan Willemsen
ba7212c136 Merge "Mark Soong-exported make variables as readonly" am: 6648ab0143
am: 215d2aaa6c

Change-Id: I94bbff4cbb276698d48059c266442ad7ddcfee11
2016-10-06 00:20:33 +00:00
Dan Willemsen
215d2aaa6c Merge "Mark Soong-exported make variables as readonly"
am: 6648ab0143

Change-Id: Id640c3aaf23ffd981466ce6519928e28436a225f
2016-10-06 00:18:01 +00:00
Treehugger Robot
6648ab0143 Merge "Mark Soong-exported make variables as readonly" 2016-10-06 00:13:27 +00:00