Commit graph

2689 commits

Author SHA1 Message Date
Lukács T. Berki
5027a87f7e Merge "Add order-only inputs for primary builder." am: 93bd28ae61 am: d2ad6f7305 am: 2304757986
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2273286

Change-Id: Id9938d703197cb19e0a364a9a19255610240cf95
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-28 09:05:01 +00:00
Lukács T. Berki
2304757986 Merge "Add order-only inputs for primary builder." am: 93bd28ae61 am: d2ad6f7305
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2273286

Change-Id: Idfa0f14ae23bee6bdefdb6d50d3e5e904c90b07a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-28 08:26:55 +00:00
Lukács T. Berki
d2ad6f7305 Merge "Add order-only inputs for primary builder." am: 93bd28ae61
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2273286

Change-Id: Ifddf21f5bcfef9091ed55c66f877fdcbaad894c2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-28 07:39:37 +00:00
Lukács T. Berki
93bd28ae61 Merge "Add order-only inputs for primary builder." 2022-10-28 07:05:00 +00:00
Lukacs T. Berki
0acaefea0d Add order-only inputs for primary builder.
Test: Presubmits.
Change-Id: Iefe729f6874c1154c94d10563fb2fac3dc03049a
2022-10-27 08:05:27 +00:00
Treehugger Robot
e0a878dc1b Merge "cosmetics syntax simplification" am: 645184efb0 am: 08b3e92c5d am: c92dd1e3ec
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2250115

Change-Id: I480c2367a6104622b61b68b9dfa3294413c7875b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-26 16:55:09 +00:00
Treehugger Robot
c92dd1e3ec Merge "cosmetics syntax simplification" am: 645184efb0 am: 08b3e92c5d
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2250115

Change-Id: I6b596b4c6efc90c1e9ab7b0968ed609875705adb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-26 15:55:53 +00:00
Treehugger Robot
08b3e92c5d Merge "cosmetics syntax simplification" am: 645184efb0
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2250115

Change-Id: I5bded92ecd4c0432cb314a952687e0d691b4061a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-26 15:23:19 +00:00
Treehugger Robot
645184efb0 Merge "cosmetics syntax simplification" 2022-10-26 14:58:07 +00:00
Colin Cross
3f632ba502 Fix panic in parser when first token is invalid am: 31c10a12c8 am: 70f60abb28 am: 4a18fe662a
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2265904

Change-Id: I054a89f34c08666ace371469be9b5748ec0c33ed
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-22 01:08:27 +00:00
Colin Cross
4a18fe662a Fix panic in parser when first token is invalid am: 31c10a12c8 am: 70f60abb28
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2265904

Change-Id: Ida6e740f742ee68c005e0b7d86717d64723e2ef1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-22 00:36:36 +00:00
Colin Cross
70f60abb28 Fix panic in parser when first token is invalid am: 31c10a12c8
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2265904

Change-Id: I513ffffd28d0deb41be5d4d485e8c8d34027ef4b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-22 00:08:37 +00:00
Colin Cross
31c10a12c8 Fix panic in parser when first token is invalid
newParser was calling p.next(), which could trigger a scanner error
that results in a panic.  Move the first p.next() into parse(p), which
correctly converts the paanic into a reportable error.

Bug: 254831383
Test: TestParserError
Change-Id: I2a427010379bb8dd5087550c7f159499cbb84066
2022-10-21 14:38:52 -07:00
MarkDacek
2e38ef1848 Add staging mode to soong build. am: c5e959b244 am: 612884822d am: 61a98e320c
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2261143

Change-Id: I799252408a1d9b0a1df503f56a609dd3605f97d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-21 19:36:18 +00:00
MarkDacek
61a98e320c Add staging mode to soong build. am: c5e959b244 am: 612884822d
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2261143

Change-Id: Ia0d8715f7b8a948190de3ea88db23caa90c6e1a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-21 18:33:47 +00:00
MarkDacek
612884822d Add staging mode to soong build. am: c5e959b244
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2261143

Change-Id: I8e5cf66202d86990a367b9ae33acbea72cc67eb9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-21 18:05:25 +00:00
MarkDacek
c5e959b244 Add staging mode to soong build.
This is to build bazel targets that are nearing readiness for prod mode.

Bug: 254265047
Test: m nothing
Test: m nothing --bazel-mode-dev
Test: m nothing --bazel-mode-staging
Change-Id: Ie8336ec4ad70c0c9bd6d74f3b0a278c85fd5df2d
2022-10-18 20:35:45 +00:00
Usta Shrestha
63cad2c08f cosmetics syntax simplification
Bug: N/A
Test: m nothing
Change-Id: I9b34635ba145db568e185f795107c202e376f3c7
2022-10-12 01:59:07 +00:00
Lukacs T. Berki
ca97faccd2 Update README.md . am: ad9fbde7de am: 3c2ad7a014 am: e1c211521d
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2244814

Change-Id: I5a2392006c740c08e8693b17c8567d073bb20d0f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-10 11:42:28 +00:00
Lukacs T. Berki
e1c211521d Update README.md . am: ad9fbde7de am: 3c2ad7a014
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2244814

Change-Id: I2e3e9ae66ce8802893680087cebd353b073f6cc1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-10 11:09:15 +00:00
Lukacs T. Berki
3c2ad7a014 Update README.md . am: ad9fbde7de
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2244814

Change-Id: I2756b539518b67d762a91b37b0b6b61b8c7c0832
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-10 10:40:28 +00:00
Lukacs T. Berki
ad9fbde7de Update README.md .
Now that this is not plumbed to GitHub anymore, we can write things
specific to Android here.

Test: documentation change.
Change-Id: I11b65d56fdb519854d083bcf6f9c792cb2f59eb3
2022-10-10 07:06:22 +00:00
usta
f17eb6cb03 cosmetic: fail fast on empty module list am: 71ce3eae12 am: 9bc4b27cef am: d4cd9e3052 am: c7ea45527d am: 790ee79d44
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2219405

Change-Id: I2083ae689d41fc9906c9878dbee4d8ca464f5722
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-20 07:45:02 +00:00
usta
c3061a0209 cleanup: remove deprecated module ioutil am: 83ede83a31 am: b519ebb0b8 am: e08fe2741c am: 8f192e1ca3 am: f0c8db82b6
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2219404

Change-Id: I2f0a255a4cf7ac951886645286787190117cd459
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-20 07:43:53 +00:00
usta
790ee79d44 cosmetic: fail fast on empty module list am: 71ce3eae12 am: 9bc4b27cef am: d4cd9e3052 am: c7ea45527d
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2219405

Change-Id: I24e0e361659b4f37f44308c464b30c066bf0c881
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-20 07:12:43 +00:00
usta
f0c8db82b6 cleanup: remove deprecated module ioutil am: 83ede83a31 am: b519ebb0b8 am: e08fe2741c am: 8f192e1ca3
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2219404

Change-Id: Iede5690968eba382a28eefa8d6ce2ce81e843399
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-20 07:12:34 +00:00
usta
c7ea45527d cosmetic: fail fast on empty module list am: 71ce3eae12 am: 9bc4b27cef am: d4cd9e3052
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2219405

Change-Id: I4a50cd7fb062548a54e4078e7bda89cb79477caa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-20 06:45:48 +00:00
usta
8f192e1ca3 cleanup: remove deprecated module ioutil am: 83ede83a31 am: b519ebb0b8 am: e08fe2741c
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2219404

Change-Id: I63fb045be743c23bda5e33ff5b70174fc83b4c1f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-20 06:45:38 +00:00
usta
d4cd9e3052 cosmetic: fail fast on empty module list am: 71ce3eae12 am: 9bc4b27cef
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2219405

Change-Id: I865e00fce3dde4f66deef119623c8dcd44af6eb5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-20 06:18:21 +00:00
usta
e08fe2741c cleanup: remove deprecated module ioutil am: 83ede83a31 am: b519ebb0b8
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2219404

Change-Id: Id2b82322eaa417d5f1b4a96d4f6423eddd225251
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-20 06:18:12 +00:00
usta
9bc4b27cef cosmetic: fail fast on empty module list am: 71ce3eae12
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2219405

Change-Id: I465597ab21dd852102a3fe09d7c751a6e1530621
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-20 05:49:17 +00:00
usta
b519ebb0b8 cleanup: remove deprecated module ioutil am: 83ede83a31
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2219404

Change-Id: I6adaf1e9e0d2af1ba8e0ddd6406276a41010b37d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-20 05:49:09 +00:00
usta
71ce3eae12 cosmetic: fail fast on empty module list
also minor refactoring to limit var scopes

Test: m nothing and ensure ninja files are generated
Bug: N/A
Change-Id: If7bdede4e54687955896b03ab11ef771855d2225
2022-09-20 05:15:24 +00:00
usta
83ede83a31 cleanup: remove deprecated module ioutil
Test: m nothing and check bootstrap.ninja and build.ninja file
Bug: N/A
Change-Id: I8c2f2d8cb452955921b2287ec2c621909ebde5e4
2022-09-20 05:13:27 +00:00
Christopher Parsons
99ab0180fc Merge "Add bazelmode and bazelmodedev as command args" am: 31ce118f0e am: 2113d66222 am: 59e154aa49 am: 44dae789ba am: eee0919231
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2190180

Change-Id: I6f277c5f82cd03e56db66dbd7a470a09027c8284
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-30 16:46:30 +00:00
Christopher Parsons
eee0919231 Merge "Add bazelmode and bazelmodedev as command args" am: 31ce118f0e am: 2113d66222 am: 59e154aa49 am: 44dae789ba
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2190180

Change-Id: Ibf212867cd8f562039d56127e35e6e5868a33dd7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-30 16:18:45 +00:00
Christopher Parsons
44dae789ba Merge "Add bazelmode and bazelmodedev as command args" am: 31ce118f0e am: 2113d66222 am: 59e154aa49
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2190180

Change-Id: I87ba2f1755d115e7e03a762a6cc170dbb3650e04
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-30 15:51:54 +00:00
Christopher Parsons
59e154aa49 Merge "Add bazelmode and bazelmodedev as command args" am: 31ce118f0e am: 2113d66222
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2190180

Change-Id: Ibbd98e261392de8350f755ac59f7ad2491142be0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-30 15:25:17 +00:00
Christopher Parsons
2113d66222 Merge "Add bazelmode and bazelmodedev as command args" am: 31ce118f0e
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2190180

Change-Id: Idba0e94371924382a282fb936f0f901679edd385
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-30 14:55:37 +00:00
Christopher Parsons
31ce118f0e Merge "Add bazelmode and bazelmodedev as command args" 2022-08-30 14:29:30 +00:00
MarkDacek
41f160664a Add LSC tool meant for remediating module/file collisions. am: c3eb9199b2 am: 98777cb8d5 am: c3cd9cc2d6 am: e7a229a5d1 am: f43ef295d7
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2193718

Change-Id: I20b327e78746bd75e3b45009f8cf20fb82d96acb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-29 21:01:52 +00:00
MarkDacek
f43ef295d7 Add LSC tool meant for remediating module/file collisions. am: c3eb9199b2 am: 98777cb8d5 am: c3cd9cc2d6 am: e7a229a5d1
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2193718

Change-Id: Ic43ca7f4b779f502ac62d706ad0d312e57f07ce7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-29 20:35:29 +00:00
MarkDacek
e7a229a5d1 Add LSC tool meant for remediating module/file collisions. am: c3eb9199b2 am: 98777cb8d5 am: c3cd9cc2d6
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2193718

Change-Id: I37340dd2e1f5da96aab51674668aa3e062cc00fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-29 20:10:53 +00:00
MarkDacek
c3cd9cc2d6 Add LSC tool meant for remediating module/file collisions. am: c3eb9199b2 am: 98777cb8d5
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2193718

Change-Id: I857f150f72cbd886f8c3643117bee42ede8a64a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-29 19:42:06 +00:00
MarkDacek
98777cb8d5 Add LSC tool meant for remediating module/file collisions. am: c3eb9199b2
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2193718

Change-Id: I677f89890ac0c8f8100d9b43bf2d2bff8c1d4aad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-29 19:00:56 +00:00
MarkDacek
c3eb9199b2 Add LSC tool meant for remediating module/file collisions.
See b/198619163
Test: ./rename_module_and_deps.py art/tools/ahat/ahat

Change-Id: Ie2274701128befb6dd574ad674d1b494d77edd8c
2022-08-29 16:07:29 +00:00
Usta Shrestha
8857aabfbe Merge "Edit bpmodify to check Android. files and use '=' as the separator for replacements. Test: go test -v and running bpmodify with the LSC tool" am: 513e27a6a6 am: d9a1e7d66b am: c65173c57d am: 65ae691545 am: 9815f7b80e
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2181555

Change-Id: I0dcd66ef0202d3b3d92ff7096f183ca0bb0d7c1b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 17:58:22 +00:00
Usta Shrestha
9815f7b80e Merge "Edit bpmodify to check Android. files and use '=' as the separator for replacements. Test: go test -v and running bpmodify with the LSC tool" am: 513e27a6a6 am: d9a1e7d66b am: c65173c57d am: 65ae691545
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2181555

Change-Id: I62cca6b6b5f2822aad402cff5e3d1153f37ebcc0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 17:31:34 +00:00
Usta Shrestha
65ae691545 Merge "Edit bpmodify to check Android. files and use '=' as the separator for replacements. Test: go test -v and running bpmodify with the LSC tool" am: 513e27a6a6 am: d9a1e7d66b am: c65173c57d
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2181555

Change-Id: Icd2ecbb32ca618c5cf02044f8ad9b872e4872126
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 16:56:43 +00:00
Usta Shrestha
c65173c57d Merge "Edit bpmodify to check Android. files and use '=' as the separator for replacements. Test: go test -v and running bpmodify with the LSC tool" am: 513e27a6a6 am: d9a1e7d66b
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2181555

Change-Id: I940bdc0c1fe0751981a2653a026ee705ede94d39
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 16:31:30 +00:00