Commit Graph

41377 Commits

Author SHA1 Message Date
Paul Duffin 64715ba9a4 Add PrepareForDebug_DO_NOT_SUBMIT
Simplifies the process of debugging failing tests by making it easy for
the test fixture to produce debug output on a case by case basis.

Bug: 181070625
Test: m nothing
Change-Id: I22620a1bfb1737cffd017bdf7bbbfb609b60468c
2021-04-21 10:16:31 +01:00
Paul Duffin cc17bfe7de Rename propertyAccessor to propertyValueReader
Bug: 179354495
Test: m nothing
Change-Id: I956e93fdbe43e09b5460337d2eb72084440f14be
2021-04-21 10:14:02 +01:00
Lukács T. Berki 8c12701a3b Merge "Rename cryptic symbols in symlink_forest.go ." am: c7985f6c92 am: 06f8e389f8 am: 1242ae347d
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1679775

Change-Id: I0cb93ff198d8de473081e5181f4843511ecdc8a3
2021-04-21 08:54:38 +00:00
Lukács T. Berki 1242ae347d Merge "Rename cryptic symbols in symlink_forest.go ." am: c7985f6c92 am: 06f8e389f8
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1679775

Change-Id: I286406283471b654d833c1d64ac9d9591505936c
2021-04-21 08:24:35 +00:00
Lukács T. Berki 06f8e389f8 Merge "Rename cryptic symbols in symlink_forest.go ." am: c7985f6c92
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1679775

Change-Id: I18b857a8987aa3559432247d43cd8f9c5d74692c
2021-04-21 08:05:03 +00:00
Lukács T. Berki c7985f6c92 Merge "Rename cryptic symbols in symlink_forest.go ." 2021-04-21 07:44:30 +00:00
Jiyong Park 146ca5c18b Merge "android_system_image that generates linker.config.pb" am: 08bd0dd8c5 am: f8fa18e066 am: 6038c75c3c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1679107

Change-Id: Iea767fc21e8922bc7a921e05b1048cc6e126db6c
2021-04-21 06:05:24 +00:00
Jiyong Park 6038c75c3c Merge "android_system_image that generates linker.config.pb" am: 08bd0dd8c5 am: f8fa18e066
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1679107

Change-Id: Ia70845331a8866e7d71e9e685d7a8450086a6cd2
2021-04-21 05:41:38 +00:00
Jiyong Park f8fa18e066 Merge "android_system_image that generates linker.config.pb" am: 08bd0dd8c5
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1679107

Change-Id: I7731388b1d0eee0a1319fe00c05d6b6c18870835
2021-04-21 05:20:48 +00:00
Jiyong Park 08bd0dd8c5 Merge "android_system_image that generates linker.config.pb" 2021-04-21 04:57:49 +00:00
Julien Desprez b868ea57f2 Merge "Mark par_test as not unit tests" am: 1c79f990c2 am: c04158fa2d am: 4a3cfbf167
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1681347

Change-Id: Ie0520f59f8fed2ca7e37195cb32afd231b42319e
2021-04-21 02:53:46 +00:00
Julien Desprez 4a3cfbf167 Merge "Mark par_test as not unit tests" am: 1c79f990c2 am: c04158fa2d
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1681347

Change-Id: Ief6ef82ce33d88a7687403fefefe83570cc87157
2021-04-21 02:23:32 +00:00
Julien Desprez c04158fa2d Merge "Mark par_test as not unit tests" am: 1c79f990c2
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1681347

Change-Id: Ibc08ed5e6eff1f848c0fb4d24e2b0125b4dd4a77
2021-04-21 02:04:21 +00:00
Julien Desprez 1c79f990c2 Merge "Mark par_test as not unit tests" 2021-04-21 01:39:49 +00:00
Treehugger Robot 0bcf4824fd Merge "Do not output two trailing newlines in generated bp files." am: 1cd2357dd3 am: d9cffc9db5 am: 71463ffb3a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1681267

Change-Id: If46adcaef5c16c4d0ee76459f2cd005b8eb7a60a
2021-04-21 00:54:27 +00:00
Christopher Parsons 15612c933c Merge "Subsume INTEGRATED_BP2BUILD into other env modes" am: 4e78814200 am: 2e95f06193 am: 55c46a83f9
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1681805

Change-Id: I4261d5918be16bfa6ae04a9234d17d1ce6a54711
2021-04-21 00:54:06 +00:00
Treehugger Robot 71463ffb3a Merge "Do not output two trailing newlines in generated bp files." am: 1cd2357dd3 am: d9cffc9db5
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1681267

Change-Id: I3c0fcdae47f0957af5ec0c86d8d9ccaa0e270de1
2021-04-21 00:28:12 +00:00
Christopher Parsons 55c46a83f9 Merge "Subsume INTEGRATED_BP2BUILD into other env modes" am: 4e78814200 am: 2e95f06193
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1681805

Change-Id: I45e72a7227b77320d707d474234fe82fbf725b55
2021-04-21 00:28:01 +00:00
Jiyong Park fa616137a2 android_system_image that generates linker.config.pb
android_system_image module type is a specialization of the
android_filesystem module type. Currently, it adds a build rule for
creating linker.config.pb from the information about all the other files
in the filesystem and includes linker.config.pb to the filesystem as
well.

To do so, the filesystem module now provides a function pointer which
subtype modules like android_system_image can implement to pass extra
files that they want to package in the filesystem.

In addition, the linkerconfig package is revised to make it possible to
build linker.config.pb file outside of the package.

Bug: 185391776
Test: m microdroid and inspect etc/linker.config.pb in it.

Change-Id: Id89c40b519213062860d7306029b8413d8d36a2d
2021-04-21 09:11:21 +09:00
Jaewoong Jung abfbb7183f Merge changes Ibdeb2e5a,I520a5af4,I0db32bec,Id3ab0f3b am: cbb3825d86 am: 2c44af282d am: 51d2ef5cf1
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1681228

Change-Id: I2e5630b7ad8a7c34c85a54a2ea2fa4c82b6e2d21
2021-04-20 23:54:19 +00:00
Paul Duffin b5cbdbb7c0 Merge "Remove unused boot_images property and rename tag" am: d353f20179 am: 0d5f158d87 am: 714ecad749
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1679776

Change-Id: I781c934d5ab43da00bb956ab8b4f45c11ae71bf9
2021-04-20 23:54:04 +00:00
Treehugger Robot d9cffc9db5 Merge "Do not output two trailing newlines in generated bp files." am: 1cd2357dd3
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1681267

Change-Id: I23bf462006367d496fadeabd00b47a56cb0aff92
2021-04-20 23:53:35 +00:00
Christopher Parsons 2e95f06193 Merge "Subsume INTEGRATED_BP2BUILD into other env modes" am: 4e78814200
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1681805

Change-Id: I20e818a730e7c4834069a12fc82e62b0eebbe077
2021-04-20 23:52:09 +00:00
Treehugger Robot 1cd2357dd3 Merge "Do not output two trailing newlines in generated bp files." 2021-04-20 23:41:00 +00:00
Christopher Parsons 4e78814200 Merge "Subsume INTEGRATED_BP2BUILD into other env modes" 2021-04-20 23:33:40 +00:00
Jaewoong Jung 51d2ef5cf1 Merge changes Ibdeb2e5a,I520a5af4,I0db32bec,Id3ab0f3b am: cbb3825d86 am: 2c44af282d
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1681228

Change-Id: Iddf5ae3c76e73e123342f0e2e2a3d8bd3b7c25cb
2021-04-20 23:29:46 +00:00
Paul Duffin 714ecad749 Merge "Remove unused boot_images property and rename tag" am: d353f20179 am: 0d5f158d87
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1679776

Change-Id: Ice59e5d27c38c1e1d41f14a3066196ddb2b872c8
2021-04-20 23:29:38 +00:00
Chris Parsons ec1a3dc6f8 Subsume INTEGRATED_BP2BUILD into other env modes
This refactors bazel-build mode determination logic in soong_ui so it's
clearer which of three possible modes are being used in a given
invocation (NO_BAZEL, GENERATE_BUILD_FILES, or MIXED_BUILDS).

Test: bootstrap tests
Change-Id: I41d2baebf8d560c2cc42db8daa8b936101d453e3
2021-04-20 19:25:48 -04:00
Jaewoong Jung 4cfdf7de26 Make apex.key and certificate overridable.
Test: apex_test.go
Fixes: 185477325
Change-Id: I8992ac5606fa92f53f07e6870a034f2d3352e618
2021-04-20 16:21:24 -07:00
Jaewoong Jung 2c44af282d Merge changes Ibdeb2e5a,I520a5af4,I0db32bec,Id3ab0f3b am: cbb3825d86
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1681228

Change-Id: Icfe1271d734fe8bff532e311fe4a88882991e248
2021-04-20 23:09:45 +00:00
Paul Duffin 0d5f158d87 Merge "Remove unused boot_images property and rename tag" am: d353f20179
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1679776

Change-Id: I2cc2046eecf5b243b470c35325cc96226eb94183
2021-04-20 23:08:31 +00:00
Jaewoong Jung cbb3825d86 Merge changes Ibdeb2e5a,I520a5af4,I0db32bec,Id3ab0f3b
* changes:
  Add lint_project_xml_test.py
  Rename lint-project-xml.py to remove dashes.
  Lint baseline file check in lint-project-xml
  Extract getBaselineFilepath method.
2021-04-20 22:59:38 +00:00
Paul Duffin d353f20179 Merge "Remove unused boot_images property and rename tag" 2021-04-20 22:53:08 +00:00
Jingwen Chen 8a2ce56dd3 Merge "Rename Label.Bp_text to OriginalModuleName." am: eff37d79bd am: d6d30b2e43 am: ad581e3a8a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1679065

Change-Id: I76623998eb1fbcd4d57424bc75722d9c5ce89f0a
2021-04-20 22:40:37 +00:00
Elliott Hughes 3a0767a47c Merge "Move builder.go over to llvm-objcopy." am: 2cb4cfc593 am: 9584abf7a3 am: 110617e984
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1680365

Change-Id: I85471ee3271ab499f1443eff01542c99225b75dc
2021-04-20 22:40:26 +00:00
Jingwen Chen ad581e3a8a Merge "Rename Label.Bp_text to OriginalModuleName." am: eff37d79bd am: d6d30b2e43
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1679065

Change-Id: I3877064bfdaca0e670c8fac2381260f9b3b0c5ee
2021-04-20 22:12:46 +00:00
Elliott Hughes 110617e984 Merge "Move builder.go over to llvm-objcopy." am: 2cb4cfc593 am: 9584abf7a3
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1680365

Change-Id: Ib60466cd954bac4e0ba10aa9c22b1a90d33d37ae
2021-04-20 22:12:39 +00:00
Jingwen Chen d6d30b2e43 Merge "Rename Label.Bp_text to OriginalModuleName." am: eff37d79bd
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1679065

Change-Id: I74166d4f34b889f6865bdbfd828371d9def97b22
2021-04-20 21:50:43 +00:00
Elliott Hughes 9584abf7a3 Merge "Move builder.go over to llvm-objcopy." am: 2cb4cfc593
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1680365

Change-Id: I3502f16fc1013d6626f56ac8cdf54f8ada8ffdd4
2021-04-20 21:49:58 +00:00
Jingwen Chen eff37d79bd Merge "Rename Label.Bp_text to OriginalModuleName." 2021-04-20 21:45:18 +00:00
Elliott Hughes 2cb4cfc593 Merge "Move builder.go over to llvm-objcopy." 2021-04-20 21:30:58 +00:00
Treehugger Robot e64e7c6a5c Merge "Incorporate filegroups into mixed builds." am: 61d83e90b1 am: 6067592100 am: 8c41aa78f6
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1679689

Change-Id: I06373f9d542359430fa2042ecbf8fc04d29e4592
2021-04-20 21:22:37 +00:00
Treehugger Robot 8c41aa78f6 Merge "Incorporate filegroups into mixed builds." am: 61d83e90b1 am: 6067592100
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1679689

Change-Id: Ibd4eae6be125daf3494023210cb6265ea01ff2b4
2021-04-20 20:55:11 +00:00
Treehugger Robot 6067592100 Merge "Incorporate filegroups into mixed builds." am: 61d83e90b1
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1679689

Change-Id: Ie790e663530d07626db72c280abd53393ddf5297
2021-04-20 20:28:38 +00:00
Treehugger Robot 61d83e90b1 Merge "Incorporate filegroups into mixed builds." 2021-04-20 18:53:03 +00:00
Jaewoong Jung 7b93908d2e Add lint_project_xml_test.py
Test: lint_project_xml_test.py
Bug: 182349282
Change-Id: Ibdeb2e5aaf9dcdb02c5d30214e5ea89665145eb3
2021-04-20 11:04:51 -07:00
Colin Cross 226dcd697a Merge "Update for sharded globs" am: 14d09018eb am: e5af8f5c6b am: 50db016173
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1673775

Change-Id: I28c703411ff26af3ac327a2e3e1bbaee7703e1f1
2021-04-20 17:15:29 +00:00
Lukács T. Berki c39b2572d9 Merge "Call mixed mode Bazel in the symlink forest." am: b8ea9f3cc8 am: e0496ed844 am: 71e3b0894b
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1679774

Change-Id: I2486faa4698694eb5e28ed34f086b7da688cdb7d
2021-04-20 17:14:35 +00:00
Colin Cross 50db016173 Merge "Update for sharded globs" am: 14d09018eb am: e5af8f5c6b
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1673775

Change-Id: Ib6b0dc0ff2a2cbeabf5598aa9cc8f8da4ad91b5a
2021-04-20 16:51:28 +00:00
Lukács T. Berki 71e3b0894b Merge "Call mixed mode Bazel in the symlink forest." am: b8ea9f3cc8 am: e0496ed844
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1679774

Change-Id: I0dd3453af8a62a9450ab7007bc787fa38e256c65
2021-04-20 16:50:49 +00:00