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
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
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
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
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
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
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
Rob Seymour
f6c37cc87d
Merge "Add module based host-tools snapshot"
2021-09-14 14:47:03 +00:00
Martin Stjernholm
25a69de8de
Improve the error when srcs field has the wrong type.
...
In particular it's useful to print the module, since the panic is
delayed from the init call.
#codehealth
Test: m nothing
Change-Id: Ia91127be83d8a9ce08cf0c08bc3f13fce7be14af
2021-09-14 00:33:47 +01:00
Liz Kammer
ba5d033059
Merge "Split local/absolute include into attributes" am: 04e0a1551d
am: 953bf91c49
am: 0b31f81b5c
am: e3eff118a7
am: e865001a64
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1824019
Change-Id: I6b8ff8f4f4ed0154e2dddc858e1d1b9589b23e69
2021-09-13 22:38:10 +00:00
Liz Kammer
e865001a64
Merge "Split local/absolute include into attributes" am: 04e0a1551d
am: 953bf91c49
am: 0b31f81b5c
am: e3eff118a7
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1824019
Change-Id: Idafbb1a97f32152c917dc7406e8acb0d69499d49
2021-09-13 22:23:35 +00:00
Liz Kammer
e3eff118a7
Merge "Split local/absolute include into attributes" am: 04e0a1551d
am: 953bf91c49
am: 0b31f81b5c
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1824019
Change-Id: I8ff9354b013683aec523fda1b7274d87596dc12f
2021-09-13 22:11:29 +00:00
Christopher Ferris
8e5feaa1df
Make the script python3.
...
Test: Ran the python version of the script and the python3 version
Test: and verified the output is the same. This is for all three
Test: outputs (html, text, xml).
Test: Builds without an error.
Change-Id: I344504a4351c14e00caeb109c5507a60fb6be05a
2021-09-13 14:54:01 -07:00
Liz Kammer
0b31f81b5c
Merge "Split local/absolute include into attributes" am: 04e0a1551d
am: 953bf91c49
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1824019
Change-Id: Ieda111c8f5075c8ebd2a325f8546fcd6a9b3b136
2021-09-13 21:53:50 +00:00
Liz Kammer
953bf91c49
Merge "Split local/absolute include into attributes" am: 04e0a1551d
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1824019
Change-Id: I05e64f79fd95836e92630941f276e64fd6c5b98f
2021-09-13 21:37:32 +00:00
Rob Seymour
925aa09ea1
Add module based host-tools snapshot
...
Add new module:
host_snapshot {
name: "host-snapshot"
deps: [
(list of host tools)
],
...
}
Package host tools using android.PackagingBase to capture host tools and transitive packaging data.
Add JSON meta data to snapshot that allows snapshot to be installed via development/vendor_snapshot/update.py
Add support to generate a fake host snapshot of all host modules that is used to detect required
modules via development/vendor_snapshot/update.py.
Bug: 192556798
Bug: 194799048
Bug: 192896149
Test: m HOST_FAKE_SNAPSHOT_ENABLE=true host-fake-snapshot dist -- check snapshot exists in dist
Change-Id: I849c4db801cd858408f6fe6a3ce69262a23a5be9
2021-09-13 21:29:14 +00:00
Liz Kammer
04e0a1551d
Merge "Split local/absolute include into attributes"
2021-09-13 21:21:09 +00:00
Treehugger Robot
50cfc8ef5a
Merge "Change default to require licenses property." am: 7bb0238418
am: ec01d2d719
am: 4bb420480a
am: 48f7e08ee3
am: 50a9771aee
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1818661
Change-Id: I9f4fd5dba2a281ce0f340e5ccddcda48b3021416
2021-09-13 20:38:09 +00:00
Treehugger Robot
50a9771aee
Merge "Change default to require licenses property." am: 7bb0238418
am: ec01d2d719
am: 4bb420480a
am: 48f7e08ee3
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1818661
Change-Id: I4add2ffdd59f560411c50b49c693b6a812a7ae3f
2021-09-13 20:18:06 +00:00
Treehugger Robot
48f7e08ee3
Merge "Change default to require licenses property." am: 7bb0238418
am: ec01d2d719
am: 4bb420480a
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1818661
Change-Id: Iaad9e5a7ff3ca2c48ad5cd98975a3a1d1b9bd1ba
2021-09-13 20:03:32 +00:00
Yi Kong
87fade8059
Merge "Remove unused-but-set-{variable,parameter} from ClangUnknownCflags" am: 861441fa36
am: 910cf32f49
am: d5b3d17fe1
am: f16f02a3a6
am: fc497c0913
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1824620
Change-Id: Ic9db27be94061461d7789b5b1c1a0d94754ad730
2021-09-13 20:03:16 +00:00