Paul Duffin
f2dec10262
Merge "Add emptyFixtureFactory in java package" am: 93b61b49dd
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1642105
Change-Id: I7b0434c39d81563aa6e293ca83edb5fb04ad93a7
2021-03-18 08:55:06 +00:00
Paul Duffin
abc6ec9d16
Merge "Add OptionalFixturePreparer"
2021-03-18 08:55:04 +00:00
Paul Duffin
95b93bf6a8
Merge "Reorganize the platform_compat_config.go file" am: 177cba31cf
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1642104
Change-Id: I0800fd26c99a26ea6b86af099ae5487e325922f1
2021-03-18 08:54:57 +00:00
Paul Duffin
dca128e44a
Merge "Add preparers for python" am: f49f72f271
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1643943
Change-Id: I85699bfb7220dc9f44abe665a4f86967ccd9a616
2021-03-18 08:54:44 +00:00
Paul Duffin
f3c3e60623
Merge "Fix hole in python testing code that ignored a broken test" am: 0a00e2680d
am: 21a1d22ec3
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1643942
Change-Id: I4afed13f2f1ac1d5916f6a79e505172bd3135581
2021-03-18 08:54:41 +00:00
Paul Duffin
81e7e2b9a3
Merge "Remove android/apex_test.go use of buildDir"
2021-03-18 08:54:35 +00:00
Paul Duffin
8255a16c37
Merge "Fix app tests to work without javaMockFS()" am: e26e597fc8
am: 9679be9ea5
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1634633
Change-Id: I402492eedbecf7db1d37d14791ff42fd096912b4
2021-03-18 08:54:35 +00:00
Paul Duffin
59ff1fbc73
Merge "Convert app tests that depend on javaMockFS() to test fixtures" am: 9e993c6162
am: 85bcdfcb3c
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1634632
Change-Id: I9fb3e99104264bb607ca7d14234d559794948555
2021-03-18 08:54:26 +00:00
Paul Duffin
13b31ab6f2
Merge "Convert TestUsesLibraries to test fixtures" am: 8a6fef4db3
am: 3e2173905d
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1634631
Change-Id: Iac19b34bbca50601ab205a55ea4e139a85ad35b5
2021-03-18 08:54:20 +00:00
Lukács T. Berki
8f35b4df58
Merge "Fix writing soong.variables ." am: 828b1e99ec
am: 85787f8720
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1641405
Change-Id: I52e48c4cf2df0b12b0d599c7cd0f25b0be029aea
2021-03-18 08:54:11 +00:00
Paul Duffin
21a1d22ec3
Merge "Fix hole in python testing code that ignored a broken test" am: 0a00e2680d
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1643942
Change-Id: I41ed6dc12e3202730fae9fa94aa457768925c73c
2021-03-18 08:54:05 +00:00
Paul Duffin
aa8270eca7
Merge "Convert android/androidmk_test.go to test fixtures"
2021-03-18 08:52:15 +00:00
Paul Duffin
21d1b9a52c
Merge "Migrate bpf package to a per test build directory"
2021-03-18 08:51:45 +00:00
Paul Duffin
603fa13e08
Merge "Correct typo in the name of compatConfigTag"
2021-03-18 08:48:36 +00:00
Paul Duffin
c0a5ccbf3b
Merge "Allow apex dependencies to be restricted to source modules only"
2021-03-18 08:48:05 +00:00
Paul Duffin
533cf74318
Merge "Separate metadata provider from apex contents provider"
2021-03-18 08:46:49 +00:00
Paul Duffin
a8c065522d
Merge "Add AssertIntEquals"
2021-03-18 08:42:16 +00:00
Paul Duffin
93b61b49dd
Merge "Add emptyFixtureFactory in java package"
2021-03-18 08:40:03 +00:00
Paul Duffin
177cba31cf
Merge "Reorganize the platform_compat_config.go file"
2021-03-18 08:39:39 +00:00
Paul Duffin
f49f72f271
Merge "Add preparers for python"
2021-03-18 08:28:35 +00:00
Paul Duffin
0a00e2680d
Merge "Fix hole in python testing code that ignored a broken test"
2021-03-18 08:28:10 +00:00
Paul Duffin
9679be9ea5
Merge "Fix app tests to work without javaMockFS()" am: e26e597fc8
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1634633
Change-Id: I045684237af489507cc6436b760c41e94dac8bce
2021-03-18 08:17:36 +00:00
Paul Duffin
85bcdfcb3c
Merge "Convert app tests that depend on javaMockFS() to test fixtures" am: 9e993c6162
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1634632
Change-Id: I6fdf8082b84ad606534b332867e274829a3f969e
2021-03-18 08:17:26 +00:00
Paul Duffin
3e2173905d
Merge "Convert TestUsesLibraries to test fixtures" am: 8a6fef4db3
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1634631
Change-Id: I9845d1bc4e2e1b8663d8d6c1fc982c4741c7b672
2021-03-18 08:17:17 +00:00
Lukács T. Berki
85787f8720
Merge "Fix writing soong.variables ." am: 828b1e99ec
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1641405
Change-Id: I80ae7c3fa8209791444ded7e611864ecc36c9256
2021-03-18 08:16:37 +00:00
Paul Duffin
1efdb30182
Remove javaMockFS()
...
Also, removes the workaround that allowed preparers to override files
added in javaMockFS().
The performance of the java tests was determined by running:
m nothing
rm -fr out/soong/.bootstrap/soong-java/test/
time m nothing
Prior to starting this work that returned:
real 1m30.060s
user 33m3.028s
sys 13m25.413s
Immediately prior to this change that returned:
real 1m2.777s
user 14m14.352s
sys 9m40.745s
After applying this change that returned:
real 0m20.282s
user 3m7.429s
sys 0m43.601s
So, this reduced the real time cost of running the java tests from 90
seconds to 20 seconds.
Bug: 182638834
Test: m nothing
Change-Id: I30490fd40ddb0684a5a4975ce1811bab5dc79e4e
2021-03-18 08:02:38 +00:00
Paul Duffin
3d9f268437
Fix TestTurbine to work without javaMockFS()
...
Bug: 182638834
Test: m nothing
Change-Id: Idf400b5f0d171a504acf006425cbfc514b391e74
2021-03-18 08:02:38 +00:00
Paul Duffin
57c4d79c00
Fix testDexpreoptBoot to work without javaMockFS()
...
Bug: 182638834
Test: m nothing
Change-Id: I1725d6ce7e1201d8d77e95d3cebb7d8cc882d437
2021-03-18 08:02:38 +00:00
Paul Duffin
171de3ef7c
Fix TestClasspath to work without javaMockFS()
...
Bug: 182638834
Test: m nothing
Change-Id: Icd6fe93cbda418cb4eaf5e99800894d4c4cc5e6f
2021-03-18 08:02:38 +00:00
Paul Duffin
76101fa5ec
Convert TestClasspath to test fixtures
...
The main complication with this change was that many of the tests check
paths that are provided by the default java modules. The location of
them is different in the test fixtures that it is when using
testConfig() and so the test needed to be changed.
Bug: 182638834
Test: m nothing
Change-Id: I6d325dbd3ba39e5de7e53c576d7cfe07bd95a965
2021-03-18 08:02:38 +00:00
Paul Duffin
e26e597fc8
Merge "Fix app tests to work without javaMockFS()"
2021-03-18 08:00:29 +00:00
Paul Duffin
9e993c6162
Merge "Convert app tests that depend on javaMockFS() to test fixtures"
2021-03-18 07:59:54 +00:00
Paul Duffin
8a6fef4db3
Merge "Convert TestUsesLibraries to test fixtures"
2021-03-18 07:59:04 +00:00
Jingwen Chen
6648045f00
bp2build: genrule converter only supports "genrule".
...
This excludes the bp2build mutator from running for cc_genrule or
java_genrule, which may require alternative implementations.
Test: bp2build; bazel build //bionic/...
Change-Id: Ie14dd6dfa5e806fd6ac6e8f9989356f3880c79bf
2021-03-18 03:41:55 -04:00
Lukács T. Berki
828b1e99ec
Merge "Fix writing soong.variables ."
2021-03-18 07:36:53 +00:00
Paul Duffin
abbf63d650
Migrate sdk package to a per test build directory
...
Bug: 182885307
Test: m nothing
Change-Id: I051f2572ce5e94e2a3a66cf7663797178b7d1506
2021-03-18 01:48:25 +00:00
Paul Duffin
ec74f81b49
Convert xml package to fixtures
...
Bug: 182885307
Test: m nothing
Change-Id: I9aad3e4e6dbec9c25e8a0aeaf8e0ec1d82e39400
2021-03-18 01:43:50 +00:00
Paul Duffin
94b6960b39
Add preparers for xml
...
Bug: 181070625
Test: m nothing
Change-Id: I150889a025e1c23eebe1e2764b07fdbd2babef49
2021-03-18 01:43:50 +00:00
Pirama Arumuga Nainar
3cf5deb219
Merge "Update clang used for bindgen to clang-r412851" am: 5ef0c52bdf
am: 638bcda667
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1642782
Change-Id: I93de88527ba13d792d43fe6add139afbdb76bb2d
2021-03-18 01:00:33 +00:00
Tri Vo
7af79fb49b
Remove "-C link-dead-code=y" flag
...
sysroot no longer builds with this flag.
LLVM ERROR: Cannot select: 0x7f7c39be9b48: v8i8 = AArch64ISD::VSLI 0x7f7c39696120, 0x7f7c39693fc8, 0x7f7c39d86528, prebuilts/rust/linux-x86/1.50.0/src/stdlibs/library/core/src/../../stdarch/crates/core_arch/src/aarch64/neon/mod.rs:2324:5
0x7f7c39696120: v8i8,ch = CopyFromReg 0x7f7c420b1c98, Register:v8i8 %13, prebuilts/rust/linux-x86/1.50.0/src/stdlibs/library/core/src/../../stdarch/crates/core_arch/src/aarch64/neon/mod.rs:2324:5
0x7f7c39be90e8: v8i8 = Register %13
0x7f7c39693fc8: v8i8,ch = load<(dereferenceable load 8 from %ir.b)> 0x7f7c420b1c98, 0x7f7c39694510, undef:i64, prebuilts/rust/linux-x86/1.50.0/src/stdlibs/library/core/src/../../stdarch/crates/core_arch/src/aarch64/neon/mod.rs:2324:19
0x7f7c39694510: i64,ch = CopyFromReg 0x7f7c420b1c98, Register:i64 %17, prebuilts/rust/linux-x86/1.50.0/src/stdlibs/library/core/src/../../stdarch/crates/core_arch/src/aarch64/neon/mod.rs:2324:19
0x7f7c39be52d8: i64 = Register %17
0x7f7c39bea230: i64 = undef
0x7f7c39d86528: i32,ch = CopyFromReg 0x7f7c420b1c98, Register:i32 %18, prebuilts/rust/linux-x86/1.50.0/src/stdlibs/library/core/src/../../stdarch/crates/core_arch/src/aarch64/neon/mod.rs:2324:5
0x7f7c39be5ea0: i32 = Register %18
In function: _RNvNtNtNtCsfOHkQPwunBC_4core9core_arch7aarch644neon9vsli_n_s8B7_
11:40:52 ninja failed with: exit status 1
Bug: 147140513
Test: build/run local rust_fuzz executable with asan+sancov.
Change-Id: I00c81f25f562bb9f18169a199eaf95ebeb7dbbe6
2021-03-17 18:00:28 -07:00
Pirama Arumuga Nainar
638bcda667
Merge "Update clang used for bindgen to clang-r412851" am: 5ef0c52bdf
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1642782
Change-Id: I373a80062d2f81ac12dbeae07d459e03255a02d2
2021-03-18 00:43:38 +00:00
Jiyong Park
94e1d3b56b
Merge "Add vbmeta module type" am: e7569bc544
am: dd945e2f0e
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1636160
Change-Id: I03a3ff2d22cb66d3e64700433fde5dd8458d62fc
2021-03-18 00:42:53 +00:00
Treehugger Robot
f6a004a40c
Merge "bootimg signs image using verity_utils" am: ab534a3b5c
am: dfda472219
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1636159
Change-Id: Ie115d18eefc33a9eea46fbfa90ec794dbf3f180b
2021-03-18 00:42:43 +00:00
Pirama Arumuga Nainar
5ef0c52bdf
Merge "Update clang used for bindgen to clang-r412851"
2021-03-18 00:27:30 +00:00
Paul Duffin
9cbbbb8137
Convert sysprop package to fixtures
...
Bug: 182885307
Test: m nothing
Change-Id: I2e69e7b5eb3bad579df39c9dd49f2d670881a265
2021-03-18 00:21:41 +00:00
Paul Duffin
6e3ce72b3c
Add preparers for sysprop
...
Bug: 181070625
Test: m nothing
Change-Id: I3c9c36e7270b68ff7d354acb239b47441335a931
2021-03-18 00:21:38 +00:00
Jiyong Park
dd945e2f0e
Merge "Add vbmeta module type" am: e7569bc544
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1636160
Change-Id: I9e2b1e495d021e151f10c59ec391b0c29608ea92
2021-03-18 00:04:55 +00:00
Treehugger Robot
dfda472219
Merge "bootimg signs image using verity_utils" am: ab534a3b5c
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1636159
Change-Id: I462d69aaf03aa6c0c0e98269b2696ca58948e959
2021-03-18 00:04:06 +00:00
Jiyong Park
e7569bc544
Merge "Add vbmeta module type"
2021-03-18 00:02:41 +00:00
Paul Duffin
220ddd7a6b
Clean up java package use of python build components
...
Bug: 182885307
Test: m nothing
Change-Id: I206ebc075c568a09008ec8b63122922dd87ba318
2021-03-17 23:56:58 +00:00