Commit Graph

50854 Commits

Author SHA1 Message Date
Treehugger Robot
1ec719ab09 Merge "Fix panic when a module has an invalid output path" am: cf6749630a am: 32e5355bab am: b2e53db028 am: faf1826ea9 am: 22c6891939
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1826960

Change-Id: I4ef4c808c9fee14741c2168a32eca25a0402942c
2021-09-15 05:30:55 +00:00
Treehugger Robot
22c6891939 Merge "Fix panic when a module has an invalid output path" am: cf6749630a am: 32e5355bab am: b2e53db028 am: faf1826ea9
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1826960

Change-Id: Iaa44ab3127a4c5201753853f861c608f8a5b7a22
2021-09-15 05:21:48 +00:00
Treehugger Robot
faf1826ea9 Merge "Fix panic when a module has an invalid output path" am: cf6749630a am: 32e5355bab am: b2e53db028
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1826960

Change-Id: I33093f478be2bea3a8f215f75395d901df0541c1
2021-09-15 05:04:12 +00:00
Treehugger Robot
b2e53db028 Merge "Fix panic when a module has an invalid output path" am: cf6749630a am: 32e5355bab
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1826960

Change-Id: I5daad76b1f084938a86c74e316f2adeeb7df2fe1
2021-09-15 04:50:55 +00:00
Treehugger Robot
32e5355bab Merge "Fix panic when a module has an invalid output path" am: cf6749630a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1826960

Change-Id: I972bbb9b99121e1ee4ffb33c0278f239dd61db8f
2021-09-15 04:37:54 +00:00
Treehugger Robot
cf6749630a Merge "Fix panic when a module has an invalid output path" 2021-09-15 04:23:13 +00:00
Guang Zhu
b3d89ccb41 Merge "update build rules to use /data/local/tests/unrestricted" am: 7b32612dc4 am: da4d36227f am: 736654b861 am: a83dc7d462 am: 463c029e6c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1826231

Change-Id: Ibb0462b74f7d27be33936470b614f3c9196882c2
2021-09-15 00:59:00 +00:00
Treehugger Robot
7287308ee0 Merge "Add {.aar} support for android_library" am: db3ff57368 am: 7b3130a459 am: 7181c70efb am: bc1de88b71 am: 8cbe142522
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1826617

Change-Id: Idb6f92bd3aa34f899573b752d69068ee5c4fcc83
2021-09-15 00:58:43 +00:00
Cole Faust
b893b40c31 Fix m product-graph am: 521e951ad4 am: ec84292f1b am: 06103c45c5 am: ed16687b92 am: 4ebe5aee4a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1826630

Change-Id: Iec8aab3c956bb179c90938948cd723791dfc203c
2021-09-15 00:58:28 +00:00
Guang Zhu
463c029e6c Merge "update build rules to use /data/local/tests/unrestricted" am: 7b32612dc4 am: da4d36227f am: 736654b861 am: a83dc7d462
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1826231

Change-Id: Ic0a0191dab37d2ac6e0adfbdddb2ed0c46265bff
2021-09-15 00:57:59 +00:00
Treehugger Robot
8cbe142522 Merge "Add {.aar} support for android_library" am: db3ff57368 am: 7b3130a459 am: 7181c70efb am: bc1de88b71
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1826617

Change-Id: Id7701d97ae027b0585c120f58a801b237e089f42
2021-09-15 00:57:49 +00:00
Guang Zhu
a83dc7d462 Merge "update build rules to use /data/local/tests/unrestricted" am: 7b32612dc4 am: da4d36227f am: 736654b861
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1826231

Change-Id: I98053bf9300d08a73531a922d47f11b901dcd5b9
2021-09-15 00:48:58 +00:00
Treehugger Robot
bc1de88b71 Merge "Add {.aar} support for android_library" am: db3ff57368 am: 7b3130a459 am: 7181c70efb
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1826617

Change-Id: I7edde41fad13fcc6b9d3c89c66ec604bf9b29fea
2021-09-15 00:48:51 +00:00
Cole Faust
4ebe5aee4a Fix m product-graph am: 521e951ad4 am: ec84292f1b am: 06103c45c5 am: ed16687b92
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1826630

Change-Id: I6994a1ab14ee8c74b3cc9954536ba9dc6d4ef60c
2021-09-15 00:42:05 +00:00
Cole Faust
64cb7c964a Fix panic when a module has an invalid output path
dep.OutputFile().Path() can panic if the OutputFile
is invalid, so move more of the code into the check
for validity. This changes the go crash into a
build error.

Bug: 158624492
Test: Apply the patchset 1 of ag/11815659, lunch aosp_x86_64-eng, m
Change-Id: Ic8a728be1b570ac73be7b2b9461676f9fd99c266
2021-09-14 17:35:19 -07:00
Guang Zhu
736654b861 Merge "update build rules to use /data/local/tests/unrestricted" am: 7b32612dc4 am: da4d36227f
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1826231

Change-Id: I7f69d11f6ca9ef9aa6ae4c4b1fe4d98e1d77b528
2021-09-15 00:35:01 +00:00
Treehugger Robot
7181c70efb Merge "Add {.aar} support for android_library" am: db3ff57368 am: 7b3130a459
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1826617

Change-Id: I4a36a0cf422a476c4a80b47c14ecf4c2e7cd630a
2021-09-15 00:34:53 +00:00
Cole Faust
ed16687b92 Fix m product-graph am: 521e951ad4 am: ec84292f1b am: 06103c45c5
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1826630

Change-Id: I66a12b08bdb47a1dd18252e1e919894ec13db5f6
2021-09-15 00:29:00 +00:00
Guang Zhu
da4d36227f Merge "update build rules to use /data/local/tests/unrestricted" am: 7b32612dc4
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1826231

Change-Id: I96945a717032ade148ac6b70ba5a8b02730d43a5
2021-09-15 00:23:32 +00:00
Treehugger Robot
7b3130a459 Merge "Add {.aar} support for android_library" am: db3ff57368
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1826617

Change-Id: I2404648a8bdea49d13f2c747a75b82002ee172b5
2021-09-15 00:23:18 +00:00
Guang Zhu
7b32612dc4 Merge "update build rules to use /data/local/tests/unrestricted" 2021-09-15 00:22:43 +00:00
Cole Faust
06103c45c5 Fix m product-graph am: 521e951ad4 am: ec84292f1b
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1826630

Change-Id: I81a5f27e68b6c54af7016d71c7c627184f0ea6d5
2021-09-15 00:13:46 +00:00
Treehugger Robot
db3ff57368 Merge "Add {.aar} support for android_library" 2021-09-15 00:04:42 +00:00
Cole Faust
ec84292f1b Fix m product-graph am: 521e951ad4
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1826630

Change-Id: I5ce93b1a1d70ad7578069621f5a773ba45615f8e
2021-09-14 23:59:16 +00:00
Christopher Ferris
394e1cc9d9 Merge "Make the script python3." am: 2551d2539e am: 5bae558aad am: 64d26813f6 am: 701d6c5f61 am: 2127ba6117
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1817676

Change-Id: Ia3b2cf031200df9530c91f202d4eb1ff283bc27a
2021-09-14 22:14:21 +00:00
Cole Faust
521e951ad4 Fix m product-graph
`m product-graph` runs a "non-full" build, which skips
some steps to improve performance. One of the steps
it skips is making a .installable_files file. Soong
reads this file and removes any files that were removed
from the list in this file. It errored out if the file
didn't exist. Make soong less strict about the presence
of this file, because if it doesn't exist, there shouldn't
be any installed files to remove either.

Fixes: 168105598
Test: rm -rf out/, m product-graph
Change-Id: I366f7b09d87911f9660d4e08c2d2f097cc04800f
2021-09-14 15:09:42 -07:00
Christopher Ferris
2127ba6117 Merge "Make the script python3." am: 2551d2539e am: 5bae558aad am: 64d26813f6 am: 701d6c5f61
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1817676

Change-Id: I3c7b18dd8a17ff984ef779975aeabcf0d02a3ae5
2021-09-14 21:57:58 +00:00
Christopher Ferris
701d6c5f61 Merge "Make the script python3." am: 2551d2539e am: 5bae558aad am: 64d26813f6
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1817676

Change-Id: I576641ccfef043eb28be9d9aff5d3f265d475e3e
2021-09-14 21:43:53 +00:00
Christopher Ferris
64d26813f6 Merge "Make the script python3." am: 2551d2539e am: 5bae558aad
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1817676

Change-Id: Ia8b60f62f33ab3f592b36f31431e9dbd75350145
2021-09-14 21:35:00 +00:00
Christopher Ferris
5bae558aad Merge "Make the script python3." am: 2551d2539e
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1817676

Change-Id: Ifb6823c57310fee5b1f2c49c54989195890e4ebf
2021-09-14 21:25:55 +00:00
Christopher Ferris
2551d2539e Merge "Make the script python3." 2021-09-14 21:03:01 +00:00
Saeid Farivar Asanjan
1fca301bd2 Add {.aar} support for android_library
Change-Id: I2c392d3dfc545c23495b03d0f236680fd59e1401
2021-09-14 21:02:43 +00:00
Treehugger Robot
42a3c9ff8e Merge "Improve the error when srcs field has the wrong type." am: 309a1acb27 am: 9b08c6021f am: 613d4cefad am: 9b44c498de am: 9fca45174b
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1822025

Change-Id: I417511fbecff51e7d9b8608158ba357bcdd4aab9
2021-09-14 19:13:09 +00:00
Treehugger Robot
9fca45174b Merge "Improve the error when srcs field has the wrong type." am: 309a1acb27 am: 9b08c6021f am: 613d4cefad am: 9b44c498de
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1822025

Change-Id: I8edf7bf7189e88d7a60131f9d09d9657299bffa7
2021-09-14 19:03:58 +00:00
Treehugger Robot
9b44c498de Merge "Improve the error when srcs field has the wrong type." am: 309a1acb27 am: 9b08c6021f am: 613d4cefad
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1822025

Change-Id: I57fc2164b9a9db63bcf0f3fdde83bba0299193d9
2021-09-14 18:39:35 +00:00
Treehugger Robot
613d4cefad Merge "Improve the error when srcs field has the wrong type." am: 309a1acb27 am: 9b08c6021f
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1822025

Change-Id: Iead2d20211ba1abf6ec6755d1f95f0166d304924
2021-09-14 18:28:53 +00:00
Treehugger Robot
9b08c6021f Merge "Improve the error when srcs field has the wrong type." am: 309a1acb27
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1822025

Change-Id: I3b34c8520bd0aa6da3fedfcaba458989b1cd9f0e
2021-09-14 18:14:03 +00:00
Guang Zhu
83150667ae update build rules to use /data/local/tests/unrestricted
... for native tests. This new location has the appropriate
settings for debuggerd to generate valid backtraces in case
of test binary crash.

Bug: 167308193
Bug: 199904562
Test: compile
Change-Id: Ic106011a79f0aec86896b305616cf5590ab2eb2d
2021-09-14 10:56:47 -07:00
Treehugger Robot
309a1acb27 Merge "Improve the error when srcs field has the wrong type." 2021-09-14 17:55:33 +00:00
Alan Viverette
6d82626301 Merge "Patch "Add support for --optional-uses-libs to pom2bp" to match master" am: b89663b7d9 am: 4e6b932bd4 am: 59da3f7dc9 am: ab1b9954b3 am: ba8a069552
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1825712

Change-Id: I932e76031b480d35e9d0a42c3b6b0058819aa4f7
2021-09-14 16:08:36 +00:00
Rob Seymour
bd9d9b09d8 Merge "Add module based host-tools snapshot" am: f6c37cc87d am: dc2cc0d8d7 am: f87696ed8c am: db72b4ea4b am: 6646dfd80c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1793067

Change-Id: I9086ee988d229ce53f49f851b20652243e668f7c
2021-09-14 16:08:22 +00:00
Alan Viverette
ba8a069552 Merge "Patch "Add support for --optional-uses-libs to pom2bp" to match master" am: b89663b7d9 am: 4e6b932bd4 am: 59da3f7dc9 am: ab1b9954b3
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1825712

Change-Id: Ice1743d978768847f4493d128eff64c042d0db6b
2021-09-14 15:53:35 +00:00
Rob Seymour
6646dfd80c Merge "Add module based host-tools snapshot" am: f6c37cc87d am: dc2cc0d8d7 am: f87696ed8c am: db72b4ea4b
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1793067

Change-Id: Ib298c398875fbd2963cb0c60ec90db97ba85a567
2021-09-14 15:53:24 +00:00
Alan Viverette
ab1b9954b3 Merge "Patch "Add support for --optional-uses-libs to pom2bp" to match master" am: b89663b7d9 am: 4e6b932bd4 am: 59da3f7dc9
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1825712

Change-Id: Ic7dbb3cddd0137a7b65fb65824d48f5e08557506
2021-09-14 15:40:27 +00:00
Rob Seymour
db72b4ea4b Merge "Add module based host-tools snapshot" am: f6c37cc87d am: dc2cc0d8d7 am: f87696ed8c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1793067

Change-Id: I12010c2d5781e385937fd49f4f0010637498f7f9
2021-09-14 15:40:17 +00:00
Alan Viverette
59da3f7dc9 Merge "Patch "Add support for --optional-uses-libs to pom2bp" to match master" am: b89663b7d9 am: 4e6b932bd4
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1825712

Change-Id: Iad76f51f6ac3b347728b1462633de46427dba674
2021-09-14 15:28:58 +00:00
Rob Seymour
f87696ed8c Merge "Add module based host-tools snapshot" am: f6c37cc87d am: dc2cc0d8d7
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1793067

Change-Id: I05d5d44fddfc8c8dd8e59dd64bb76024bbbfbf66
2021-09-14 15:28:48 +00:00
Alan Viverette
4e6b932bd4 Merge "Patch "Add support for --optional-uses-libs to pom2bp" to match master" am: b89663b7d9
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1825712

Change-Id: Id546d60af089384ec93eb5952dbfba076300c877
2021-09-14 15:08:58 +00:00
Alan Viverette
b89663b7d9 Merge "Patch "Add support for --optional-uses-libs to pom2bp" to match master" 2021-09-14 15:04:28 +00:00
Rob Seymour
dc2cc0d8d7 Merge "Add module based host-tools snapshot" am: f6c37cc87d
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1793067

Change-Id: I3a2bb2459677c14e3e99d654ed5ffb9b7dd09b21
2021-09-14 15:04:01 +00:00