Commit Graph

35462 Commits

Author SHA1 Message Date
Paul Duffin
e20b5ea05e Merge "Convert apex/boot_image_test.go to use test fixtures" am: 043427b276
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1626508

Change-Id: I6cf92425772991c86653eb274c356bacb46224c9
2021-03-22 08:34:45 +00:00
Paul Duffin
7b1a647d0d Merge "Switch testApex and related methods to use test fixtures" am: 32b0e07228
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1626507

Change-Id: I998ffdcaaaee0d38f70ba75679acc0d5198516df
2021-03-22 08:34:05 +00:00
Paul Duffin
50e49818a3 Merge "Cleanup the now unused testCustomizer" 2021-03-22 08:06:40 +00:00
Paul Duffin
b535616a84 Merge "Convert test specific customizers to FixturePreparers" 2021-03-22 08:06:26 +00:00
Paul Duffin
7ba0448314 Merge "Convert shared customizer functions to return FixturePreparers" 2021-03-22 08:05:56 +00:00
Paul Duffin
241f547365 Merge "Allow test handlers to be either FixturePreparer or testCustomizer" 2021-03-22 08:05:36 +00:00
Paul Duffin
043427b276 Merge "Convert apex/boot_image_test.go to use test fixtures" 2021-03-22 08:05:21 +00:00
Paul Duffin
32b0e07228 Merge "Switch testApex and related methods to use test fixtures" 2021-03-22 08:04:55 +00:00
Treehugger Robot
19cff5f313 Merge "Allow customization of all fixture state at once" am: 5e737ad1d5 am: 14c63b80ba
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1626506

Change-Id: Ie79e818aa84f8cab3be1ca5457213d5712a177cf
2021-03-22 01:13:26 +00:00
Treehugger Robot
14c63b80ba Merge "Allow customization of all fixture state at once" am: 5e737ad1d5
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1626506

Change-Id: Ifa729556834894acf0e0a4f6cdac067152f27f67
2021-03-22 00:25:58 +00:00
Treehugger Robot
5e737ad1d5 Merge "Allow customization of all fixture state at once" 2021-03-21 23:48:43 +00:00
Paul Duffin
94a3d3e2c0 Merge "Add prepareForSdkTestWithJava" am: 3bcdfe8bbb am: b830c4a743
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1645678

Change-Id: I0ad9c39ad9e142ed12ead8043de4ebfcf15878c7
2021-03-21 13:38:32 +00:00
Paul Duffin
f7dad7b189 Merge "Java build components require android build components" am: d5deba1126 am: babd0895fc
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1645677

Change-Id: Iecd8fc4791163ad73b313ae6bde2aad674fb7d7f
2021-03-21 13:38:20 +00:00
Paul Duffin
b830c4a743 Merge "Add prepareForSdkTestWithJava" am: 3bcdfe8bbb
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1645678

Change-Id: I93a85f38f48a55589ce20470e66ce5e3da8ea9d3
2021-03-21 12:55:16 +00:00
Paul Duffin
babd0895fc Merge "Java build components require android build components" am: d5deba1126
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1645677

Change-Id: Ie7c492d06d7c2f620fc816e42e82a97bf641cd9d
2021-03-21 12:54:25 +00:00
Paul Duffin
3bcdfe8bbb Merge "Add prepareForSdkTestWithJava" 2021-03-21 11:07:03 +00:00
Paul Duffin
d5deba1126 Merge "Java build components require android build components" 2021-03-21 11:06:33 +00:00
Paul Duffin
d14cbc1e69 Add prepareForSdkTestWithJava
Bug: 182638834
Test: m nothing
Change-Id: I86cb08a640c7e39c1eaaf54926699f32a32ccc9b
2021-03-21 11:01:13 +00:00
Paul Duffin
ce5a4547bb Java build components require android build components
Java build components invariably require android build components such
as the arch mutator (to create the common variant) so include them
together.

Bug: 181070625
Test: m nothing
Change-Id: I435b09a34c48c67b890368b37b8da27e8de97c9a
2021-03-21 10:20:25 +00:00
Treehugger Robot
62701ff807 Merge "Revert "[strip.sh] Move remaining GNU binutils usage to llvm binutils"" am: f2be52c4dc am: 7ce29d53bf
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1647203

Change-Id: Ie8f1380477a1350492d1e750c990a2135bd72d00
2021-03-20 20:47:33 +00:00
David Srbecky
b474fc0ad6 Remove .rustc ELF section from mini-debug-info.
The section is stripped from binaries (but preserved in /symbols).

However, is it also unintentionally copied into the minidebuginfo
compressed section, which is included in the final shipped binary.
(This does not affect symtab symbols, which are handled as usual)

Removing it from mini-debug-info shrinks some rust binaries by
up to 10x, saving >10MB on the system partition overall (AOSP).

Test: extract minidebuginfo and check it manually with readelf
Change-Id: I462d81455626bb2b5244e1bf3d5f8b71646f3401
2021-03-20 20:31:29 +00:00
Treehugger Robot
7ce29d53bf Merge "Revert "[strip.sh] Move remaining GNU binutils usage to llvm binutils"" am: f2be52c4dc
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1647203

Change-Id: I430fe79d46a8143a339a46eca462d8848453391f
2021-03-20 20:08:31 +00:00
Treehugger Robot
f2be52c4dc Merge "Revert "[strip.sh] Move remaining GNU binutils usage to llvm binutils"" 2021-03-20 19:25:23 +00:00
Jaewoong Jung
23893fe81e Merge "Take Module implementations out of java/java.go." am: 2406d689bf am: dd9c7b9f38
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1643842

Change-Id: I591714d8d40dbcfc4a196862509340af2074c607
2021-03-20 16:34:00 +00:00
Jaewoong Jung
dd9c7b9f38 Merge "Take Module implementations out of java/java.go." am: 2406d689bf
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1643842

Change-Id: I5ea3b3c2455b539a50ef2f0f1ef38c338fbf5e01
2021-03-20 15:55:16 +00:00
Jaewoong Jung
2406d689bf Merge "Take Module implementations out of java/java.go." 2021-03-20 15:29:32 +00:00
David Srbecky
33dfba1d9c Revert "[strip.sh] Move remaining GNU binutils usage to llvm binutils"
This reverts commit ad50ce8349.

Bug: 183237575
Reason for revert: Breaks stack unwinding

Change-Id: I256dc77525687fb3e670355587b1eac72158b274
2021-03-20 14:46:15 +00:00
Treehugger Robot
49bdd8f8e7 Merge "manifest_check.py: translate library names using dexpreopt configs." am: 8cc04e59e1 am: cb81bee097
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1620796

Change-Id: I04d7cf05598975e0f80f9455614f2cd9634e2c4a
2021-03-20 13:26:52 +00:00
Treehugger Robot
cb81bee097 Merge "manifest_check.py: translate library names using dexpreopt configs." am: 8cc04e59e1
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1620796

Change-Id: I4977511c8eb7aeb5b92c49563505f7f51a4968ba
2021-03-20 12:48:04 +00:00
Treehugger Robot
8cc04e59e1 Merge "manifest_check.py: translate library names using dexpreopt configs." 2021-03-20 12:12:52 +00:00
Paul Duffin
80f4cea1ad Prevent invalid paths being added to mock file system
Bug: 182885307
Test: m nothing
Change-Id: Ie9f60fd02e2a2bc44811dbcadf0eada4e52c9749
2021-03-20 12:11:20 +00:00
Paul Duffin
9f4b3bbb7c Replace AssertPanic with AssertPanicMessageContains
Bug: 182885307
Test: m nothing
Change-Id: Idffa314285c90080796cc3df391de9c314eaa422
2021-03-20 12:08:51 +00:00
Paul Duffin
40b6257dc1 Cleanup the now unused testCustomizer
Bug: 181070625
Test: m nothing
Change-Id: I825e0da53b7fd82f4ef33d7183351c1f2ed8ee23
2021-03-20 11:42:48 +00:00
Paul Duffin
0a49fdca0b Convert test specific customizers to FixturePreparers
Bug: 181070625
Test: m nothing
Change-Id: I1c4b7303a1153b040b7266e95b06d172554dc52a
2021-03-20 11:39:23 +00:00
Paul Duffin
810f33d9ee Convert shared customizer functions to return FixturePreparers
Bug: 181070625
Test: m nothing
Change-Id: I8d09f91a3db23eb36cd73a13e418df98949ec72d
2021-03-20 11:33:03 +00:00
Paul Duffin
2be9dcd3aa Allow test handlers to be either FixturePreparer or testCustomizer
This allows the testCustomizers to be switched to FixturePreparers
incrementally rather than in one go.

Bug: 181070625
Test: m nothing
Change-Id: Idd9d2e28abf9b17fc46b5566ab8d3affa330287e
2021-03-20 10:25:45 +00:00
Paul Duffin
34d433ad7e Convert apex/boot_image_test.go to use test fixtures
Bug: 181070625
Test: m nothing
Change-Id: I940353e32233317d9e932b2d61908125e4c33766
2021-03-20 10:25:45 +00:00
Paul Duffin
e05480ac47 Switch testApex and related methods to use test fixtures
Bug: 181070625
Test: m nothing
Change-Id: Icdd9c3d807d5497ef85946a877c6cd4b4af045bc
2021-03-20 10:25:45 +00:00
Paul Duffin
ae542a58af Allow customization of all fixture state at once
Adds FixtureCustomPreparer.

Bug: 181070625
Test: m nothing
Change-Id: I310e16661a0f032f778481d9b69da2e0e9a084cf
2021-03-20 10:25:45 +00:00
Julien Desprez
9a4c1ee1b4 Merge "Migrate manifest_*_test out of test mapping" am: 0387862185 am: 0000496989
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1646095

Change-Id: I97a21a0e32cfb107cb5a8cd728260a089e225b05
2021-03-19 23:09:00 +00:00
Jaewoong Jung
263426431a Take Module implementations out of java/java.go.
Test: TreeHugger
Change-Id: I5c39915ad2cadf5981c201a2b412916524d4c3e2
2021-03-19 15:46:38 -07:00
Bob Badour
9b1880bb91 [automerger skipped] Minimal license feature. am: 459beab694 -s ours am: b5d58b3eaa -s ours am: 64a932b9c7 -s ours am: 7ebfebdb93 -s ours am: 06a524a85b -s ours
am skip reason: skip tag Change-Id Ic78672cd25da13aa9078a48b06446f66780c792d with SHA-1 58d85b87bc is already in history

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

Change-Id: Ibb9159661ac0604b40ee3c33d225972f4f238e6d
2021-03-19 22:45:36 +00:00
Julien Desprez
0000496989 Merge "Migrate manifest_*_test out of test mapping" am: 0387862185
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1646095

Change-Id: I9880c0b1c20311d780a9b9546ba8cc82f8b48fa3
2021-03-19 22:29:06 +00:00
Bob Badour
06a524a85b [automerger skipped] Minimal license feature. am: 459beab694 -s ours am: b5d58b3eaa -s ours am: 64a932b9c7 -s ours am: 7ebfebdb93 -s ours
am skip reason: skip tag Change-Id Ic78672cd25da13aa9078a48b06446f66780c792d with SHA-1 58d85b87bc is already in history

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

Change-Id: I33d035390a3218f8316b656921970c63b509b545
2021-03-19 22:08:12 +00:00
Julien Desprez
0387862185 Merge "Migrate manifest_*_test out of test mapping" 2021-03-19 21:47:24 +00:00
Bob Badour
deb1131ec7 [automerger skipped] Minimal license feature. am: 58d85b87bc am: 6b4ddeb66c -s ours am: 967ca0a6f0 -s ours am: 9a4ba8c6e2 -s ours
am skip reason: skip tag Change-Id Ic78672cd25da13aa9078a48b06446f66780c792d with SHA-1 dc5be9099b is already in history

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

Change-Id: I3442ef23434c00514b8eff023324dd6617f03e36
2021-03-19 21:30:26 +00:00
Bob Badour
7ebfebdb93 [automerger skipped] Minimal license feature. am: 459beab694 -s ours am: b5d58b3eaa -s ours am: 64a932b9c7 -s ours
am skip reason: skip tag Change-Id Ic78672cd25da13aa9078a48b06446f66780c792d with SHA-1 58d85b87bc is already in history

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

Change-Id: Ieaddfa6ed52c8febdb199cb604f372afb350d65d
2021-03-19 21:30:21 +00:00
Bob Badour
64a932b9c7 [automerger skipped] Minimal license feature. am: 459beab694 -s ours am: b5d58b3eaa -s ours
am skip reason: skip tag Change-Id Ic78672cd25da13aa9078a48b06446f66780c792d with SHA-1 58d85b87bc is already in history

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

Change-Id: I4393e98e96b34b0e4604e0c03a7cc2b16e7a5c2e
2021-03-19 20:54:22 +00:00
Bob Badour
9a4ba8c6e2 [automerger skipped] Minimal license feature. am: 58d85b87bc am: 6b4ddeb66c -s ours am: 967ca0a6f0 -s ours
am skip reason: skip tag Change-Id Ic78672cd25da13aa9078a48b06446f66780c792d with SHA-1 dc5be9099b is already in history

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

Change-Id: I205fdd6184d71558111a96988861838906ec8649
2021-03-19 20:54:19 +00:00
Bob Badour
b5d58b3eaa [automerger skipped] Minimal license feature. am: 459beab694 -s ours
am skip reason: skip tag Change-Id Ic78672cd25da13aa9078a48b06446f66780c792d with SHA-1 58d85b87bc is already in history

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

Change-Id: If527f71987f23aee63aa0a1209572479672398c5
2021-03-19 20:20:01 +00:00