Commit Graph

35462 Commits

Author SHA1 Message Date
Paul Duffin
f8e8dd2b51 Merge "Add TestBasicSdkWithBootImage" am: e835389123 am: 04610e24a6
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1645681

Change-Id: Id0eeb1bcb15c75c83b594583299630aff712bfa5
2021-03-23 12:10:06 +00:00
Paul Duffin
3ef2a04850 Merge "Register the propagateRROEnforcementMutator" am: 713b501017 am: 70532c454d
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1649793

Change-Id: I8858132d2f823b348dc95b422595b1f2fd2e4a89
2021-03-23 12:10:00 +00:00
Treehugger Robot
13ca9b5163 Merge "Remove .rustc ELF section from mini-debug-info." am: c29088b727 am: 3985e1e498
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1647201

Change-Id: Ia5822dd6d894e74d2569b6f984aaebe2fad5fc43
2021-03-23 12:08:22 +00:00
Paul Duffin
04610e24a6 Merge "Add TestBasicSdkWithBootImage" am: e835389123
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1645681

Change-Id: I8e2974feecfcb839afdd689163e7330a51e7dc79
2021-03-23 11:40:12 +00:00
Paul Duffin
70532c454d Merge "Register the propagateRROEnforcementMutator" am: 713b501017
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1649793

Change-Id: I45826d500869ad3fb768019a288d9d1521c277bf
2021-03-23 11:39:31 +00:00
Treehugger Robot
3985e1e498 Merge "Remove .rustc ELF section from mini-debug-info." am: c29088b727
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1647201

Change-Id: I8cdfde552f2cfcddaebafb80ad896e16af3a8fe7
2021-03-23 11:31:08 +00:00
Paul Duffin
e835389123 Merge "Add TestBasicSdkWithBootImage" 2021-03-23 11:13:12 +00:00
Paul Duffin
713b501017 Merge "Register the propagateRROEnforcementMutator" 2021-03-23 10:46:49 +00:00
Paul Duffin
b781d9d00c Merge "Add preparer for overlay pre-singleton registration" am: e0998ab561 am: f84f035e13
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1649792

Change-Id: Ie46a00406a3d88ec5a3a312d93ebe8325fcac744
2021-03-23 09:27:36 +00:00
Paul Duffin
70db2b8317 Merge "Add TestingModule.VariablesForTestsRelativeToTop" am: 010bb3c5b3 am: afe10ea7c8
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1649791

Change-Id: Ia766d4e8c5c1d9756fc8e16ff9aa3723a8b82786
2021-03-23 09:27:29 +00:00
Paul Duffin
2891663352 Merge "Add TestingBuildParams.RelativeToTop()" am: a327008e65 am: bbf40a9615
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1649790

Change-Id: I455efa931f5f6b50322a33f823b0789deba5aa68
2021-03-23 09:27:24 +00:00
Paul Duffin
fb09acd3f2 Merge "Improve searching for TestingBuildParams using the output file" am: 332310aac4 am: 30cb19daa5
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1649789

Change-Id: Id8bcedeb67bf79aac157ee64e6fa857c16fc1f80
2021-03-23 09:27:17 +00:00
Paul Duffin
a3b1f607bc Merge "Move helper methods that take testBuildProvider into baseTestingComponent" am: b09a2d6af4 am: 9001af1efa
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1649788

Change-Id: I0ba799481949e3270a1e64edb04aa40ad66c585b
2021-03-23 09:26:35 +00:00
Paul Duffin
5423b0f23f Merge "Extract functionality common to TestingModule/Singleton" am: 48c21e6454 am: 7ef69a5c09
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1649787

Change-Id: I82a18a294b367e70478522a6bb39b7000d0e83e7
2021-03-23 09:25:01 +00:00
Treehugger Robot
c29088b727 Merge "Remove .rustc ELF section from mini-debug-info." 2021-03-23 09:13:53 +00:00
Paul Duffin
f84f035e13 Merge "Add preparer for overlay pre-singleton registration" am: e0998ab561
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1649792

Change-Id: I19a6efbaa18fe0706f6bce0bb4df999fc30b2db2
2021-03-23 08:53:38 +00:00
Paul Duffin
afe10ea7c8 Merge "Add TestingModule.VariablesForTestsRelativeToTop" am: 010bb3c5b3
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1649791

Change-Id: I8839b3fa45ad01298a4fcc47772a0d238d32832d
2021-03-23 08:53:29 +00:00
Paul Duffin
bbf40a9615 Merge "Add TestingBuildParams.RelativeToTop()" am: a327008e65
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1649790

Change-Id: I0d44beca7fef7e5545dc79d4363784cab7334a70
2021-03-23 08:52:35 +00:00
Paul Duffin
30cb19daa5 Merge "Improve searching for TestingBuildParams using the output file" am: 332310aac4
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1649789

Change-Id: I7c58a078323e2dbe59adc2d92937b06dfadc660c
2021-03-23 08:48:43 +00:00
Paul Duffin
9001af1efa Merge "Move helper methods that take testBuildProvider into baseTestingComponent" am: b09a2d6af4
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1649788

Change-Id: I9e3bccc819ef7377a7951e58c2514f39e9157149
2021-03-23 08:43:43 +00:00
Paul Duffin
7ef69a5c09 Merge "Extract functionality common to TestingModule/Singleton" am: 48c21e6454
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1649787

Change-Id: Ia31d49127da3650ba48550aef017c059488e92aa
2021-03-23 08:42:23 +00:00
Paul Duffin
e0998ab561 Merge "Add preparer for overlay pre-singleton registration" 2021-03-23 07:21:30 +00:00
Paul Duffin
010bb3c5b3 Merge "Add TestingModule.VariablesForTestsRelativeToTop" 2021-03-23 07:21:01 +00:00
Paul Duffin
a327008e65 Merge "Add TestingBuildParams.RelativeToTop()" 2021-03-23 07:20:33 +00:00
Paul Duffin
332310aac4 Merge "Improve searching for TestingBuildParams using the output file" 2021-03-23 07:20:04 +00:00
Paul Duffin
b09a2d6af4 Merge "Move helper methods that take testBuildProvider into baseTestingComponent" 2021-03-23 07:19:42 +00:00
Paul Duffin
48c21e6454 Merge "Extract functionality common to TestingModule/Singleton" 2021-03-23 07:19:13 +00:00
Treehugger Robot
950a9bcac8 Merge "Fix PackagingBase.CopyDepsToZip" am: 9b6108f8de am: 7568c9f17c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1624459

Change-Id: I5585e3bb924923d93326d765f1c611f2805b0653
2021-03-23 05:08:44 +00:00
Treehugger Robot
6c3c7e7afe Merge "Fix default value of BoardSepolicyVers" am: 04a2693407 am: 8c8a93f231
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1648191

Change-Id: Ie2d5140625c91dcf10786ae9f817f4f40f00ca88
2021-03-23 05:08:28 +00:00
Treehugger Robot
7568c9f17c Merge "Fix PackagingBase.CopyDepsToZip" am: 9b6108f8de
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1624459

Change-Id: I7070c1e08a1127d8dcd1b717cddaef42df9443b0
2021-03-23 04:28:51 +00:00
Treehugger Robot
8c8a93f231 Merge "Fix default value of BoardSepolicyVers" am: 04a2693407
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1648191

Change-Id: Ia8e5b4ccaa9aafd928579303ca37dd2f31928c92
2021-03-23 04:27:38 +00:00
Treehugger Robot
9b6108f8de Merge "Fix PackagingBase.CopyDepsToZip" 2021-03-23 04:21:38 +00:00
Treehugger Robot
04a2693407 Merge "Fix default value of BoardSepolicyVers" 2021-03-23 03:53:18 +00:00
Paul Duffin
556b449164 Convert boot_image_sdk_test.go to fixtures am: 4a1d451405 am: 2863cd8ae6
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1645679

Change-Id: Id6136bcae4ff85e8af754f6cc33efc956eab08a4
2021-03-22 23:19:57 +00:00
Paul Duffin
779ffa4654 Allow sdk package tests to optimize their test setup am: cf3ee2f87e am: 33972970ea
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1645676

Change-Id: Ibf953278d5e147675f6076c5693312dc6ef57d49
2021-03-22 23:19:51 +00:00
Paul Duffin
a79f3d0100 Use test fixtures in CheckSnapshot() am: c93c98e315 am: 6006e869d8
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1647191

Change-Id: I71f8918ad0820a72829f7d8e10ff917929a25574
2021-03-22 23:19:45 +00:00
Paul Duffin
231efa2172 Remove emptyFixtureFactory from apex and java am: 70d3bee3e0 am: 752a5a2122
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1647204

Change-Id: I62583a37a802a400b848dff16119b550e70de8d5
2021-03-22 23:19:39 +00:00
Paul Duffin
4b29022861 Remove usages of FixtureFactory from misc packages am: 89648f98fa am: 7047fd751a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1647196

Change-Id: Icd80d2faf2ce5024b9c60cab86f55493604c379d
2021-03-22 23:18:56 +00:00
Paul Duffin
5ef8a876f5 Remove uses of FixtureFactory from android package am: 30ac3e7ca7 am: bfdf693d99
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1647195

Change-Id: Ia3b44a7f472af210934c17588a8499474bd87a1c
2021-03-22 23:18:02 +00:00
Paul Duffin
399d5defbf Deprecate FixtureFactory in favor of FixturePreparer am: ff2aa69a86 am: 120cdd5ddf
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1647194

Change-Id: I074f158e10a523cbf6c33aef68407dbb5d7a5d6d
2021-03-22 23:17:05 +00:00
Paul Duffin
2863cd8ae6 Convert boot_image_sdk_test.go to fixtures am: 4a1d451405
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1645679

Change-Id: Ib0c44f2606238f9e438bfbeeda9a9929c87cd7bf
2021-03-22 23:01:38 +00:00
Paul Duffin
33972970ea Allow sdk package tests to optimize their test setup am: cf3ee2f87e
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1645676

Change-Id: I16d55dbb80f577dd1f3b7a513eb5c12ae8a8dea6
2021-03-22 23:01:30 +00:00
Paul Duffin
6006e869d8 Use test fixtures in CheckSnapshot() am: c93c98e315
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1647191

Change-Id: I23a650f9689b41ad6fb060c0a4d8c8562f8a7134
2021-03-22 23:00:51 +00:00
Paul Duffin
752a5a2122 Remove emptyFixtureFactory from apex and java am: 70d3bee3e0
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1647204

Change-Id: Id4b06bc9a16911949bdf234eee4e9e9b349b7fb6
2021-03-22 22:56:41 +00:00
Paul Duffin
7047fd751a Remove usages of FixtureFactory from misc packages am: 89648f98fa
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1647196

Change-Id: Ic61df38c546597adb0590252bed4cf7ee380c5ef
2021-03-22 22:49:45 +00:00
Paul Duffin
bfdf693d99 Remove uses of FixtureFactory from android package am: 30ac3e7ca7
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1647195

Change-Id: Ib44f15787d5db62637f58e5baa1774606dc55fec
2021-03-22 22:45:41 +00:00
Paul Duffin
120cdd5ddf Deprecate FixtureFactory in favor of FixturePreparer am: ff2aa69a86
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1647194

Change-Id: I13ee92cf31456da4292debdfdd4925e3f4c6c894
2021-03-22 22:38:15 +00:00
Paul Duffin
04ba70d665 Register the propagateRROEnforcementMutator
This adds the registration of the mutator to the existing register...
method which will include it in PrepareForTestWithJavaBuildComponents.

Bug: 182885307
Test: m nothing
Change-Id: I6cea716a3ff4d8abdb80543b7e0ddf22246ffa30
2021-03-22 22:09:53 +00:00
Paul Duffin
42da69d784 Add preparer for overlay pre-singleton registration
It appears as though this is the first pre-singleton type to actually
be registered with the InitRegistrationContext as it failed due to an
uninitialized map, so this change also fixes that.

Bug: 182885307
Test: m nothing
Change-Id: Ibbf6d0db5f3c2fcc89291a16aa5f16b8b5009bd3
2021-03-22 22:09:53 +00:00
Paul Duffin
97d8b40fec Add TestingModule.VariablesForTestsRelativeToTop
Bug: 182885307
Test: m nothing
Change-Id: Id1265b07533f226965555e703fb9fa81aea4ec91
2021-03-22 22:09:53 +00:00