Commit graph

1861 commits

Author SHA1 Message Date
Jingwen Chen
bc2659ab68 Merge remote-tracking branch 'upstream/master' into update-upstream am: 1e649618d2
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/1466244

Change-Id: I7ad672d2b2be7d02b561925271805ab2950a4597
2020-10-20 01:57:15 +00:00
Jingwen Chen
1e649618d2 Merge remote-tracking branch 'upstream/master' into update-upstream
* upstream/master:
  Add support for symlink_outputs to Blueprint
  Add CODEOWNERS: @google/blueprint

Change-Id: I15ced72d913a6dc0b6d60b4772bcefb415a63537
2020-10-19 20:18:15 -04:00
Liz Kammer
ed35255eca
Merge pull request #322 from jin/symlink_outputs
Add support for symlink_outputs to Blueprint
2020-10-19 08:52:08 -07:00
Joe Onorato
f41c54c1fe Refactor OWNERS in platform/build/blueprint am: 7ae25b01ac am: 0e42907d7a am: 812c9665e7 am: e312377e2c
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/1455043

Change-Id: I3e6779533c905905cb628da8ec7641dd28ff44c1
2020-10-09 06:15:52 +00:00
Joe Onorato
e312377e2c Refactor OWNERS in platform/build/blueprint am: 7ae25b01ac am: 0e42907d7a am: 812c9665e7
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/1455043

Change-Id: I72a451b2075a770828ec36f931d80436bea4421b
2020-10-09 05:13:11 +00:00
Joe Onorato
812c9665e7 Refactor OWNERS in platform/build/blueprint am: 7ae25b01ac am: 0e42907d7a
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/1455043

Change-Id: I94b7a8aa51da2d75d7434c25911fa232068e993d
2020-10-09 04:59:32 +00:00
Joe Onorato
0e42907d7a Refactor OWNERS in platform/build/blueprint am: 7ae25b01ac
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/1455043

Change-Id: I20b84976041cb114c0eae9dec0fcd8853882f0d1
2020-10-09 04:45:30 +00:00
Xin Li
658a89fa4d [automerger skipped] Skip ab/6749736 in stage. am: 3be9945d0b -s ours am: 0bd79ecf19 -s ours am: e364d15692 -s ours
am skip reason: Change-Id I0141ea62d861386a41228583f02d5306b7d13511 with SHA-1 e66d914238 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/build/blueprint/+/12793321

Change-Id: I7504eb145eae4ece2f25ed44bdf34fd3170fe578
2020-10-09 03:50:42 +00:00
Xin Li
e364d15692 [automerger skipped] Skip ab/6749736 in stage. am: 3be9945d0b -s ours am: 0bd79ecf19 -s ours
am skip reason: Change-Id I0141ea62d861386a41228583f02d5306b7d13511 with SHA-1 e66d914238 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/build/blueprint/+/12793321

Change-Id: I51d33a42f78808f3a05e94b1201146bf06014d60
2020-10-09 03:27:32 +00:00
Xin Li
0bd79ecf19 [automerger skipped] Skip ab/6749736 in stage. am: 3be9945d0b -s ours
am skip reason: Change-Id I0141ea62d861386a41228583f02d5306b7d13511 with SHA-1 e66d914238 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/build/blueprint/+/12793321

Change-Id: Ia9047b69c3ccebe923db5f4932f90c20b6ea81e5
2020-10-09 02:31:07 +00:00
Xin Li
3be9945d0b Skip ab/6749736 in stage.
Merged-In: I0141ea62d861386a41228583f02d5306b7d13511
Change-Id: I13afab88a2000790d514974cd74a6991abbd5683
2020-10-08 17:19:21 -07:00
Joe Onorato
7ae25b01ac Refactor OWNERS in platform/build/blueprint
Change-Id: I2b8fc09bbc02b1d8dfe8f8b4b4cd71ad502aa5b9
2020-10-08 16:23:53 -07:00
Jingwen Chen
fd8af0b082 Add support for symlink_outputs to Blueprint 2020-10-08 09:49:57 +00:00
Treehugger Robot
ca63bc989a Merge "Merge remote-tracking branch 'aosp/upstream'" am: e0118ca809 am: ec677dd8e0 am: 53e5a32c18 am: 380c10115f
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/1449289

Change-Id: I0a56ce294cb699cd158f5c8bc7444dc99fdfcf1b
2020-10-07 14:05:23 +00:00
Treehugger Robot
380c10115f Merge "Merge remote-tracking branch 'aosp/upstream'" am: e0118ca809 am: ec677dd8e0 am: 53e5a32c18
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/1449289

Change-Id: I4ff39add75da3b7c1a585de4d77b606b30b1e23d
2020-10-07 13:34:51 +00:00
Treehugger Robot
53e5a32c18 Merge "Merge remote-tracking branch 'aosp/upstream'" am: e0118ca809 am: ec677dd8e0
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/1449289

Change-Id: I97c6aded6a19c1d6822d90a825b09d6031fc0072
2020-10-07 13:03:19 +00:00
Treehugger Robot
ec677dd8e0 Merge "Merge remote-tracking branch 'aosp/upstream'" am: e0118ca809
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/1449289

Change-Id: I83bf181436cabc09cca214d341e05be02dee5503
2020-10-07 12:47:52 +00:00
Treehugger Robot
e0118ca809 Merge "Merge remote-tracking branch 'aosp/upstream'" 2020-10-07 12:07:40 +00:00
colincross
25128bedbc
Merge pull request #325 from jin/codeowners
Add CODEOWNERS: @google/blueprint
2020-10-06 21:05:50 -07:00
Jingwen Chen
8a43c1bb1e Add CODEOWNERS: @google/blueprint 2020-10-07 11:57:54 +08:00
Liz Kammer
ccbdb9fca8 Add blueprint owners: joeo, eakammer, patricearruda am: 18f643090f am: 4943ca6edc am: ff068dc94c am: 3132ba0096
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/1450855

Change-Id: I8a10ac69c72395e48e8653ee85d362a6b6de92d3
2020-10-06 23:51:01 +00:00
Liz Kammer
3132ba0096 Add blueprint owners: joeo, eakammer, patricearruda am: 18f643090f am: 4943ca6edc am: ff068dc94c
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/1450855

Change-Id: Ia56660cbad518d9327bd8db25401df9e8b675fc4
2020-10-06 23:31:42 +00:00
Liz Kammer
ff068dc94c Add blueprint owners: joeo, eakammer, patricearruda am: 18f643090f am: 4943ca6edc
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/1450855

Change-Id: Idf9ccb458b37ede0fde85d65a348f0402ea6e8d8
2020-10-06 23:05:35 +00:00
Liz Kammer
4943ca6edc Add blueprint owners: joeo, eakammer, patricearruda am: 18f643090f
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/1450855

Change-Id: I9034ce9ee26e1c9b8fe68f6df3faaca0e347154b
2020-10-06 22:09:53 +00:00
Liz Kammer
18f643090f Add blueprint owners: joeo, eakammer, patricearruda
Change-Id: I1ec308a022b6a19cd4bd2fac24646862925c55e9
2020-10-06 08:42:52 -07:00
Liz Kammer
2aeb413fa1 Merge remote-tracking branch 'aosp/upstream'
* aosp/upstream:
  Correct bug in generating anonymous nested props
  Add docs for nested and embedded structs

Test: m soong_docs
Change-Id: Ide95609b6c7d221037348768ade719992801e411
2020-10-05 15:12:03 -07:00
Liz Kammer
f20c9c3938
Merge pull request #324 from lizkammer/fix
Correct bug in generating anonymous nested props
2020-10-05 17:08:52 -05:00
Liz Kammer
2068e08a2c Correct bug in generating anonymous nested props
Some anonymous nested properties are missing from property structs,
since setting the property to anonymous is to allow future filtering,
there is no issue if we cannot find the struct.

test: go bpdoc tests
test: m soong_docs
2020-10-05 14:55:16 -07:00
Liz Kammer
a10477e361
Merge pull request #323 from lizkammer/bpdocs
Add docs for nested and embedded structs
2020-10-05 13:15:33 -05:00
Liz Kammer
5c9fe3834d Add docs for nested and embedded structs
Test: m soong_docs
Test: go bpdoc tests
Change-Id: I99f15405e1a7d4a819f6fb20fda22372afe253e1
2020-09-25 13:20:23 -07:00
Colin Cross
cce23490d3 Merge remote-tracking branch 'aosp/upstream' am: f94644fe3d am: ac49845522 am: a92993f52c am: 1cb0da0784 am: 24843621ce
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/1435711

Change-Id: I76919c06728116286419cb06366d656d4a166944
2020-09-24 02:33:01 +00:00
Colin Cross
24843621ce Merge remote-tracking branch 'aosp/upstream' am: f94644fe3d am: ac49845522 am: a92993f52c am: 1cb0da0784
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/1435711

Change-Id: I739961edf2b851ee40944478cb778e14f85133d9
2020-09-24 02:11:25 +00:00
Colin Cross
1cb0da0784 Merge remote-tracking branch 'aosp/upstream' am: f94644fe3d am: ac49845522 am: a92993f52c
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/1435711

Change-Id: Ib4c684a8f42bf10dc3c6788f76a0cfd8752153cd
2020-09-24 01:25:00 +00:00
Colin Cross
a92993f52c Merge remote-tracking branch 'aosp/upstream' am: f94644fe3d am: ac49845522
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/1435711

Change-Id: Ia8f8e01f5fe6a57452393a403456acd2323f9a00
2020-09-24 01:08:28 +00:00
Colin Cross
ac49845522 Merge remote-tracking branch 'aosp/upstream' am: f94644fe3d
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/1435711

Change-Id: Ic6ae040cfffe1db9523751a0c4740a39b20b6561
2020-09-24 00:49:50 +00:00
Colin Cross
f94644fe3d Merge remote-tracking branch 'aosp/upstream'
* aosp/upstream:
  Add Providers to Blueprint

Test: m checkbuild
Change-Id: I4d722c70ce347b16e6258ecd4c3df3adc9d17035
2020-09-23 10:40:18 -07:00
colincross
8a747a0864
Merge pull request #309 from colincross/providers
Add Providers to Blueprint
2020-09-23 10:27:40 -07:00
Colin Cross
2da8492b9d Add Providers to Blueprint
Providers are a new concept for Blueprint, based on providers in Bazel:
https://docs.bazel.build/versions/master/skylark/rules.html#providers

Providers aim to simplify the interaction between modules by replacing
type asserting to arbitrary interfaces with requesting optional data
objects from modules.  This will also move Blueprint closer to supporting
incremental analysis by serializing the providers and only rerunning
the analysis phase on modules whose inputs have changed.

Change-Id: I39f5f78b372412a7dbf151ceccb3f917f6c874bf
2020-09-22 18:20:18 -07:00
Colin Cross
74be61ba7c Merge remote-tracking branch 'aosp/upstream' am: f38eda59a8 am: e09f8a48e8 am: a5923ae3e1 am: c14bf7ad42 am: 4f969f8f19
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/1434328

Change-Id: Idf8d39b2749ebc52bc9c78416da6e6a156e27b6e
2020-09-23 01:18:33 +00:00
Colin Cross
4f969f8f19 Merge remote-tracking branch 'aosp/upstream' am: f38eda59a8 am: e09f8a48e8 am: a5923ae3e1 am: c14bf7ad42
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/1434328

Change-Id: Ib6cf2f1021c8ca8801d3364afe766a62f2f81f6f
2020-09-23 01:08:04 +00:00
Colin Cross
c14bf7ad42 Merge remote-tracking branch 'aosp/upstream' am: f38eda59a8 am: e09f8a48e8 am: a5923ae3e1
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/1434328

Change-Id: I2e9dff4a330ea8fa785606fa6d2fbeb478a12187
2020-09-23 00:24:07 +00:00
Colin Cross
a5923ae3e1 Merge remote-tracking branch 'aosp/upstream' am: f38eda59a8 am: e09f8a48e8
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/1434328

Change-Id: I08783e9c51c0e7b4357fd306395a1654119c0130
2020-09-23 00:06:47 +00:00
Colin Cross
e09f8a48e8 Merge remote-tracking branch 'aosp/upstream' am: f38eda59a8
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/1434328

Change-Id: I887667972e15d635b54e6f17b89fa5d9a399096f
2020-09-22 23:51:08 +00:00
Colin Cross
f38eda59a8 Merge remote-tracking branch 'aosp/upstream'
* aosp/upstream:
  Return dependency modules from dependency-adding methods.
  Support pausing parallelVisit

Test: m checkbuild
Change-Id: I5a01454e5d66d8fe00ef2f363d0fcbcfcee9fef9
2020-09-22 11:05:03 -07:00
colincross
66fa73dd6e
Merge pull request #316 from skvadrik/add-dep-ret-mod
Return dependency modules from dependency-adding methods.
2020-09-22 10:59:46 -07:00
colincross
ca601ee4fb
Merge pull request #318 from colincross/pause_parallel_visit
Support pausing parallelVisit
2020-09-22 10:58:03 -07:00
Ulya Trafimovich
9577bbc922 Return dependency modules from dependency-adding methods.
The motivaion for this change is to allow writing code that uses the
newly added dependency module in the same mutator pass, for example to
add more dependencies. Like this:

  for _, m := range ctx.AddVariationDependencies(nil, tag, deps...) {
      if someModuleProperty(m); ok {
          ctx.AddVariationDependencies(nil, tag, otherDep)
      }
  }

Note that there is no guarantee that the returned module has already
been processed by the current mutator.

The patch does not add runtime overhead on findng dependency modules,
as this has already been done previously.

Test: go test
2020-09-17 11:43:15 +01:00
Colin Cross
c4773d90a2 Support pausing parallelVisit
Pass a channel to visitor functions called by parallelVisit that
allows them to pause the current visitor until a given visitor
has finished.  This allows parallelVisit to work on a dependency
graph while it is being mutated.

Test: Test_parallelVisit
Change-Id: Id8b1542c22ac9914439310e31d992ae0d7318d69
2020-09-16 12:58:39 -07:00
Colin Cross
5b9336ef58 Merge remote-tracking branch 'goog/mirror-aosp-master' into rvc-dev am: c9944506d5 am: e59efdaf6b
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/blueprint/+/11535665

Change-Id: I83d25eb6e6239dc7c5bd5029c91516446f8b873f
2020-09-13 10:22:42 +00:00
Colin Cross
6b80cc3ea9 Merge remote-tracking branch 'aosp/upstream' am: 60bb204d8f am: a488647fa1 am: a7e0531213 am: a44090a3c1 am: 50094b1dd5
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/1426208

Change-Id: I16e4d97742ee46bebe2a35d935a8b04c11b4dd5d
2020-09-12 22:42:10 +00:00