Dan Albert
4de0c9c29b
Add development/ndk/Android.bp. am: d56d359f8c
...
am: d59dfec028
Change-Id: I4f81fa3959cc32a535cbdd6936da968126cddc78
2016-11-08 22:57:56 +00:00
Dan Albert
d59dfec028
Add development/ndk/Android.bp.
...
am: d56d359f8c
Change-Id: Ief8a7b2bc0821e5fa8e91c80443347a1ed3cca90
2016-11-08 22:52:25 +00:00
Dan Albert
9bef523809
Use the platform SDK version from the config.
...
N is in AOSP now.
Test: make ndk && ls out/soong/ndk/platforms/android-24
Bug: None
Change-Id: I846ee12d10e962931bf22c94c37cdf7207dd4ff7
2016-11-08 12:53:39 -08:00
Dan Albert
d56d359f8c
Add development/ndk/Android.bp.
...
Test: make native
Bug: None
Change-Id: I9eed4a63fa797a17c9ef20c73ec4e03b52791c2d
2016-11-08 11:43:45 -08:00
Dan Willemsen
273af7f3aa
Add export_include_dirs to the local include path
...
Bug: 32641232
Test: ./soong builds compared before/after
Change-Id: If417a9f2278f42ffa524fccfd34f2b01a8cc9fb5
2016-11-07 22:31:32 +00:00
Colin Cross
3e1ca97f86
Merge "Support genrules with multiple tools" am: a5662d5e4e
am: 63374ebf31
...
am: f8f8bf7db9
Change-Id: I02ca872431ab9836d37e100e0e245943a0697be5
2016-11-07 20:48:53 +00:00
Colin Cross
f8f8bf7db9
Merge "Support genrules with multiple tools" am: a5662d5e4e
...
am: 63374ebf31
Change-Id: I72f602124ba9bd993c35cf4c50524537f8179d26
2016-11-07 20:43:53 +00:00
Colin Cross
63374ebf31
Merge "Support genrules with multiple tools"
...
am: a5662d5e4e
Change-Id: If50ee2a86e777d4bbd2963da257f515184214668
2016-11-07 20:39:01 +00:00
Colin Cross
a5662d5e4e
Merge "Support genrules with multiple tools"
2016-11-07 20:28:25 +00:00
Colin Cross
6f080dff81
Support genrules with multiple tools
...
To allow genrules with more than one tool, rename the tool property to
tools and make it an array, replace $tool with $(location <label>),
and use $() for other variables for consistency.
Also remove the host bin directory from the genrule path, and the
$srcDir variable, using either of them would have caused dependency
issues.
Bug: 31948427
Test: compare build.ninja
Change-Id: Icf6d3bce2bea00fec1363fd65c0bdf96d09281bf
(cherry picked from commit de6bd86d24
)
2016-11-07 10:53:49 -08:00
Colin Cross
e1a65f5785
Merge "Add android.Expand" am: 6718d0ffac
am: a912be4d5b
...
am: e1ea22d40c
Change-Id: I4c85fb59954d3d4faa6ee0c8341953532ab2585f
2016-11-05 08:17:52 +00:00
Colin Cross
e1ea22d40c
Merge "Add android.Expand" am: 6718d0ffac
...
am: a912be4d5b
Change-Id: Ie56fd303acc3114afb524ebdc625c28850b98958
2016-11-05 08:13:21 +00:00
Colin Cross
a912be4d5b
Merge "Add android.Expand"
...
am: 6718d0ffac
Change-Id: I76cec89f9ec6965d43967322aa9592b2cd177d0b
2016-11-05 08:08:51 +00:00
Treehugger Robot
6718d0ffac
Merge "Add android.Expand"
2016-11-05 08:04:09 +00:00
Dan Albert
455ee4018c
Merge "Support a "platform-only" version tag." am: f543ff67ad
am: a562428df4
...
am: ebcb32f295
Change-Id: I5c09b4c4c99519f85b2afaac10dd1f5263d33638
2016-11-05 00:49:55 +00:00
Dan Albert
ebcb32f295
Merge "Support a "platform-only" version tag." am: f543ff67ad
...
am: a562428df4
Change-Id: I3415520164ac850611cca3271df4f7fe8b2caeb9
2016-11-05 00:46:25 +00:00
Dan Albert
a562428df4
Merge "Support a "platform-only" version tag."
...
am: f543ff67ad
Change-Id: I6e09d6593e1240c535fbe66b1f7c5a8cb613e47d
2016-11-05 00:42:55 +00:00
Treehugger Robot
f543ff67ad
Merge "Support a "platform-only" version tag."
2016-11-05 00:35:47 +00:00
Colin Cross
6bde0948d2
Add android.Expand
...
Add android.Expand to expand $() variables in properties.
Test: expand_test
Bug: 31948427
Change-Id: Id30856a1d21d02e8997fcf2358e4a5feeede05be
2016-11-04 15:59:23 -07:00
Dan Albert
300cb2fe87
Support a "platform-only" version tag.
...
We tried to support this by version name convention (foo_PLATFORM and
foo_PRIVATE), but not everything follows those conventions. libm has
a LIBC_DEPRECATED, which is a bit to generic to apply this convention
to.
Support a "platform-only" tag which omits the tagged version in the
NDK.
Test: nose2
Bug: None
Change-Id: Iba34628ea02a813d22c8b32d10e54064f17ac6df
2016-11-04 14:52:30 -07:00
Colin Cross
403a913290
Merge "Move globbing to Blueprint" am: 19ce4bddf1
am: 1797477765
...
am: e5c87367be
Change-Id: Icb10a9d6efdbb46a6873f68250e8ecf52279cafd
2016-11-04 18:24:47 +00:00
Colin Cross
e5c87367be
Merge "Move globbing to Blueprint" am: 19ce4bddf1
...
am: 1797477765
Change-Id: Ifc3329349a1390bf8abaaffc81e3e82f7f304844
2016-11-04 18:21:16 +00:00
Colin Cross
1797477765
Merge "Move globbing to Blueprint"
...
am: 19ce4bddf1
Change-Id: Ib46054619cfb12beefe1a5d03bddc1be567f212c
2016-11-04 18:17:40 +00:00
Colin Cross
19ce4bddf1
Merge "Move globbing to Blueprint"
2016-11-04 18:09:36 +00:00
Colin Cross
5a1fa54b5f
Merge "Move more includes from -isystem to -I" am: fea56e1220
am: f723c11136
...
am: 81cd4d532b
Change-Id: I53f1ef23494021cd7d4ec3d1f3c6759dee927bb8
2016-11-04 15:42:51 +00:00
Colin Cross
81cd4d532b
Merge "Move more includes from -isystem to -I" am: fea56e1220
...
am: f723c11136
Change-Id: I3b2a8175d5d142fbb7fddd163e9329266c240bb6
2016-11-04 15:38:51 +00:00
Colin Cross
f723c11136
Merge "Move more includes from -isystem to -I"
...
am: fea56e1220
Change-Id: I9b530954788cddccff712b0a7a666e2f5772da30
2016-11-04 15:35:20 +00:00
Colin Cross
fea56e1220
Merge "Move more includes from -isystem to -I"
2016-11-04 15:31:32 +00:00
Colin Cross
7f19f37443
Move globbing to Blueprint
...
Move Soong's globbing-with-dependencies support into Blueprint so it can
be used for subdirs= lines in Android.bp files.
Blueprint has a slight change in behavior around subname= lines, it now
always uses the subname and doesn't fall back to Blueprints. To support
the Blueprints files in build/blueprint, use them directly with build=.
Test: build, add source file that matches glob, rebuild
Change-Id: Ifd0b0d3bc061aae0a16d6c7ca9a1cd8672656b4d
2016-11-04 04:54:16 +00:00
Colin Cross
520d90a81a
Merge "Add proto property struct" am: 28f9094ee7
am: 04972fa4bc
...
am: 8af5d92639
Change-Id: Ic76fb7a2099418843f69b2a426b20bc00e9ef1fa
2016-11-04 01:14:30 +00:00
Colin Cross
8af5d92639
Merge "Add proto property struct" am: 28f9094ee7
...
am: 04972fa4bc
Change-Id: Ie98d53877845624864b2d35cfefe41e8f610dd46
2016-11-04 01:11:00 +00:00
Colin Cross
04972fa4bc
Merge "Add proto property struct"
...
am: 28f9094ee7
Change-Id: Ifeff48c97c5c9013e8bf27c5dd342bce2a422130
2016-11-04 01:07:30 +00:00
Treehugger Robot
28f9094ee7
Merge "Add proto property struct"
2016-11-04 01:02:27 +00:00
Dan Willemsen
2d77add9b4
Add support for Implicit Outputs am: 9f3c574a39
am: 610c494886
...
am: 27431e8759
Change-Id: I7adae6178da3b55dc8054c3b508bf7b3536e171d
2016-11-04 01:00:29 +00:00
Dan Willemsen
27431e8759
Add support for Implicit Outputs am: 9f3c574a39
...
am: 610c494886
Change-Id: I739fa01aaae58516fcb4e8db222aba607e3e0b0d
2016-11-04 00:57:29 +00:00
Dan Willemsen
610c494886
Add support for Implicit Outputs
...
am: 9f3c574a39
Change-Id: I6958429c73a4c6e656241b75d444506a2832acc1
2016-11-04 00:53:59 +00:00
Colin Cross
328f04e778
Move more includes from -isystem to -I
...
-isystem hides all warnings. There were no warnings in
hardware/libhardware_legacy/include, hardware/ril/include, or
libnativehelper/include, move them from -isystem to -I.
Test: m -j native
Bug: 31751828
Change-Id: I64cf08b6f6a7f2cfbb19f7d3cc2d2cc9f0157a38
2016-11-03 15:49:36 -07:00
Colin Cross
0feb169460
Add proto property struct
...
The ProtoProperties struct was not being added to the property struct
list, preventing proto.type and proto.static properties from being set
in Android.bp files.
Bug: 32286026
Test: Add proto.type to system/extras/perfprofd/Android.bp, run soong
Change-Id: I9a5b63ddd3e7a53881ddbfd381c42aa1b4c4f454
2016-11-03 14:38:52 -07:00
Dan Willemsen
9f3c574a39
Add support for Implicit Outputs
...
Test: mmma -j system/tools/hidl
Test: Inspect out/soong/build.ninja before/after
Change-Id: I8e91a033342a12302d51358c5be244e32ad689d7
2016-11-03 14:35:12 -07:00
Colin Cross
b57af2ffb9
Fix race condition writing soong.config am: d8f2014d3b
am: a0411a2cf6
...
am: 22c3dc826b
Change-Id: Iad93f5488026bc81bc6a0324ee2daa4fd9a6fb88
2016-11-03 19:33:37 +00:00
Colin Cross
22c3dc826b
Fix race condition writing soong.config am: d8f2014d3b
...
am: a0411a2cf6
Change-Id: Ic477b3640d32d3706e0adee785164be6d3c545d0
2016-11-03 19:30:37 +00:00
Colin Cross
a0411a2cf6
Fix race condition writing soong.config
...
am: d8f2014d3b
Change-Id: I5624e6749aa57beb6fc0eefb3058ac2b019ef75d
2016-11-03 19:27:37 +00:00
Colin Cross
d8f2014d3b
Fix race condition writing soong.config
...
soong_build is run twice simultaneously now, once for manifest
generation and once for docs generation. If one starts writing the
default soong.config file, and the other starts reading it, the reader
can see an empty file and fail. Write the soong.config file to a
temporary file and the atomically rename it into place.
Bug: 32628314
Test: rm out/soong/soong.config && m -j blah && cat out/soong/soong.config
Change-Id: I8119b11d45093284b24cbc926d81eb9ea4bf2e27
2016-11-03 16:48:37 +00:00
Dan Willemsen
4fb4eb05c2
Merge changes from topic 'genpath_yacc' am: 5a054df23c
am: f1bc35a478
...
am: 0c73b74eb1
Change-Id: I264552013ae730ffaa20cc215cc44e86294fdaa8
2016-11-03 07:25:09 +00:00
Dan Willemsen
5f131206ac
Add yacc generated headers to the include path am: e1a3ce3609
am: 967f8d4750
...
am: e092b92b63
Change-Id: If85a086bbe27051d250400aefb0b54c06c28b5df
2016-11-03 07:25:07 +00:00
Dan Willemsen
104aec53bf
Add subdir to GenPath am: 21ec49068f
am: 37e1142b77
...
am: d1408ab977
Change-Id: I5800f17e5ba97819a4f14308bb9b4f06c333df03
2016-11-03 07:25:06 +00:00
Colin Cross
820baaf728
Merge "Support sanitizing a single device arch" am: 42e04de8a7
am: e41ddecd1f
...
am: 0b796789c2
Change-Id: Ic3a1b808eb0a491f98ed591952d698a96a2b7033
2016-11-03 07:24:29 +00:00
Dan Willemsen
0c73b74eb1
Merge changes from topic 'genpath_yacc' am: 5a054df23c
...
am: f1bc35a478
Change-Id: Ic436d349d04a7f8c9a16edf6379579f3c876a796
2016-11-03 07:22:08 +00:00
Dan Willemsen
e092b92b63
Add yacc generated headers to the include path am: e1a3ce3609
...
am: 967f8d4750
Change-Id: I4de18228ee24306a4cd6ed90dbeeb3dcf66c636d
2016-11-03 07:22:06 +00:00
Dan Willemsen
d1408ab977
Add subdir to GenPath am: 21ec49068f
...
am: 37e1142b77
Change-Id: I55aaf7a72e89daa4d42b7f8119d12f6f6080063d
2016-11-03 07:22:04 +00:00