Commit Graph

55009 Commits

Author SHA1 Message Date
Paul Duffin
3ed2d0e53c Merge "Add support for excluding libraries from class loader contexts" am: e95d77b964 am: ab9e6fe18f am: 7c89c48887 am: 10ccb6c274
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1971343

Change-Id: Ia03300d88199034f2cf07dbb9ca229e5e13ceb00
2022-02-07 18:39:48 +00:00
Treehugger Robot
1f1ad1f67d Merge "Update error messages for failed globs." am: c01e074fef am: f0fcf896f9 am: 61f5ba2ec4 am: f41f38cce2
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1973544

Change-Id: I0ae667a5173bf61444a8e672b6c70b458556d5ce
2022-02-07 18:26:49 +00:00
Paul Duffin
10ccb6c274 Merge "Add support for excluding libraries from class loader contexts" am: e95d77b964 am: ab9e6fe18f am: 7c89c48887
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1971343

Change-Id: Id8c5a47bfc5ceeeb86033e1e3ffde8f206208f1f
2022-02-07 18:26:29 +00:00
Treehugger Robot
f41f38cce2 Merge "Update error messages for failed globs." am: c01e074fef am: f0fcf896f9 am: 61f5ba2ec4
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1973544

Change-Id: I0aa8b2fb5d6cff61a7ddc55dcac341cb09c15a03
2022-02-07 18:14:14 +00:00
Paul Duffin
7c89c48887 Merge "Add support for excluding libraries from class loader contexts" am: e95d77b964 am: ab9e6fe18f
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1971343

Change-Id: I226b33a0c3982bee294171cfd37ff9871023a731
2022-02-07 18:11:26 +00:00
Paul Duffin
ab9e6fe18f Merge "Add support for excluding libraries from class loader contexts" am: e95d77b964
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1971343

Change-Id: I32610e4f518feb3d1727b68b6249a3a50c3c6fd2
2022-02-07 18:10:40 +00:00
Elliott Hughes
c19e95946a Merge "Disable BTI for now." am: b039496446 am: 188a5f90d8 am: 2bf5b9ca57 am: 2bfd0ddb90
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1969222

Change-Id: I0bcf26ddfa83f056e272b3e1cbec742fd01aa1ee
2022-02-07 18:03:26 +00:00
Treehugger Robot
61f5ba2ec4 Merge "Update error messages for failed globs." am: c01e074fef am: f0fcf896f9
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1973544

Change-Id: Id8b3c9f6c420da61efd7090217dcd01716c71c51
2022-02-07 17:58:56 +00:00
Paul Duffin
e95d77b964 Merge "Add support for excluding libraries from class loader contexts" 2022-02-07 17:52:27 +00:00
Elliott Hughes
2bfd0ddb90 Merge "Disable BTI for now." am: b039496446 am: 188a5f90d8 am: 2bf5b9ca57
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1969222

Change-Id: I6a6593cd4850d28a2e5a8fa12799d09994b80570
2022-02-07 17:47:37 +00:00
Treehugger Robot
f0fcf896f9 Merge "Update error messages for failed globs." am: c01e074fef
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1973544

Change-Id: I73d481f03f51bebc04fc5d785a7fea821d1e3784
2022-02-07 17:41:37 +00:00
Elliott Hughes
2bf5b9ca57 Merge "Disable BTI for now." am: b039496446 am: 188a5f90d8
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1969222

Change-Id: If17aeb7764c039ae39644e9afbba3fe3e4ddc703
2022-02-07 17:35:23 +00:00
Treehugger Robot
c01e074fef Merge "Update error messages for failed globs." 2022-02-07 17:24:23 +00:00
Elliott Hughes
188a5f90d8 Merge "Disable BTI for now." am: b039496446
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1969222

Change-Id: Ibe76896bc4fbb50a1178f06c4aca56255d532b52
2022-02-07 17:17:46 +00:00
Elliott Hughes
b039496446 Merge "Disable BTI for now." 2022-02-07 17:02:56 +00:00
Treehugger Robot
cd814286bc Merge "Allow installing boot images outside of APEX for prebuilt." am: 210957500c am: fd08d7e9a5 am: 941eaf9fa1 am: cbe9579d13
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1964908

Change-Id: I85428312f74919580a4c177d637f917cf6211639
2022-02-07 16:47:29 +00:00
Treehugger Robot
cbe9579d13 Merge "Allow installing boot images outside of APEX for prebuilt." am: 210957500c am: fd08d7e9a5 am: 941eaf9fa1
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1964908

Change-Id: I430cb831e2eb0bd48ad24a89c25bf0040ded65d0
2022-02-07 16:33:58 +00:00
Treehugger Robot
941eaf9fa1 Merge "Allow installing boot images outside of APEX for prebuilt." am: 210957500c am: fd08d7e9a5
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1964908

Change-Id: I5edbfe3ebcb96e401047e286883c31abc5daa2cb
2022-02-07 16:23:42 +00:00
Liz Kammer
41ab498994 Merge "Disable targets broken on host due to missing deps" am: 2d29982265 am: b7da8e4d54 am: 377024fa58 am: 161e61770f
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1972761

Change-Id: Ib03fac9381566b73c3ad84dba819e1a18ae766e3
2022-02-07 16:17:11 +00:00
Treehugger Robot
fd08d7e9a5 Merge "Allow installing boot images outside of APEX for prebuilt." am: 210957500c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1964908

Change-Id: Iaa94a53e524e046b1c03a1db808cdff29da13152
2022-02-07 16:11:23 +00:00
Liz Kammer
161e61770f Merge "Disable targets broken on host due to missing deps" am: 2d29982265 am: b7da8e4d54 am: 377024fa58
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1972761

Change-Id: I620e0b37d42cfd62782933f05951c6ed5d55d952
2022-02-07 16:02:26 +00:00
Treehugger Robot
210957500c Merge "Allow installing boot images outside of APEX for prebuilt." 2022-02-07 15:58:36 +00:00
Liz Kammer
377024fa58 Merge "Disable targets broken on host due to missing deps" am: 2d29982265 am: b7da8e4d54
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1972761

Change-Id: Ib613e96497231b719dbc17009f750db6f64501fe
2022-02-07 15:47:52 +00:00
Liz Kammer
b7da8e4d54 Merge "Disable targets broken on host due to missing deps" am: 2d29982265
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1972761

Change-Id: I700b453c69a9271fa86cf6248cf1f4c860867421
2022-02-07 15:30:03 +00:00
Liz Kammer
2d29982265 Merge "Disable targets broken on host due to missing deps" 2022-02-07 15:16:10 +00:00
Paul Duffin
0653057603 Add support for excluding libraries from class loader contexts
A number of tests in the cts/tests/signature/api-check check for the
accessibility of classes from the android.test.base,
android.test.runner and android.test.mock libraries. Some tests expect
to find the classes other do not. Unfortunately, the tests use
libraries, specifically compatibility-device-util-axt, that depend on
the android.test... libraries which causes Soong to implicitly add
<uses-library> entries to the manifest so that they will be accessible
at runtime. That causes the tests that do not expect to find the
classes to fail.

Bug: 209607558
Test: m nothing
Change-Id: I54c194ab23d5a70df790ece3fe98f2b3d6a1c1f6
2022-02-07 14:57:53 +00:00
Liz Kammer
0ea7998208 Update error messages for failed globs.
Currently error messages appear like:
&fs.PathError{Op:"open", Path:"..." Err:0x18}
which make them difficult to parse.

Test: CI
Change-Id: I18da18abc43230d0ea37d166179d07e585077f51
2022-02-07 08:56:47 -05:00
Ramji Jiyani
7638df182a Merge "system_dlkm: Add in list of partitions to clean" am: 47cb940902 am: 819a7dbf94 am: 2d175c3a06 am: 9bab50f92e
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1973346

Change-Id: Ie55bceb5523573fc9c33974ebee05ddcc386d9f9
2022-02-05 03:44:03 +00:00
Ramji Jiyani
9bab50f92e Merge "system_dlkm: Add in list of partitions to clean" am: 47cb940902 am: 819a7dbf94 am: 2d175c3a06
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1973346

Change-Id: I5db4b08291d8e251bd56f884b6a28dd637b79401
2022-02-05 03:20:24 +00:00
Ramji Jiyani
2d175c3a06 Merge "system_dlkm: Add in list of partitions to clean" am: 47cb940902 am: 819a7dbf94
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1973346

Change-Id: Icbff4193cd4fef659f07dea72797cf663e3d41b4
2022-02-05 03:04:44 +00:00
Ramji Jiyani
819a7dbf94 Merge "system_dlkm: Add in list of partitions to clean" am: 47cb940902
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1973346

Change-Id: I36fd24a733c26fed1b62dd2d158b3247f15f6b62
2022-02-05 02:49:23 +00:00
Ramji Jiyani
47cb940902 Merge "system_dlkm: Add in list of partitions to clean" 2022-02-05 02:33:11 +00:00
Treehugger Robot
0eec7ea176 Merge "Remove unnecessary --warn-shared-textrel flags." am: 56fc48c482 am: 1cc8b23a02 am: c55e748b28 am: e6b66f6445
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1973342

Change-Id: Ib8a8e14dbba1e0090a1b66a74ce83ce148a52d9c
2022-02-05 01:00:40 +00:00
Treehugger Robot
e6b66f6445 Merge "Remove unnecessary --warn-shared-textrel flags." am: 56fc48c482 am: 1cc8b23a02 am: c55e748b28
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1973342

Change-Id: I9b74f6e1848f4b5387b572f787e5b24e3718532f
2022-02-05 00:48:02 +00:00
Treehugger Robot
c55e748b28 Merge "Remove unnecessary --warn-shared-textrel flags." am: 56fc48c482 am: 1cc8b23a02
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1973342

Change-Id: I94c303d0ad442f2ce5cabe74870e9ec5d687a577
2022-02-05 00:33:10 +00:00
Treehugger Robot
1cc8b23a02 Merge "Remove unnecessary --warn-shared-textrel flags." am: 56fc48c482
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1973342

Change-Id: Ifcf2580f4627e84911cd4cbcd476a66a050cd022
2022-02-05 00:14:56 +00:00
Treehugger Robot
56fc48c482 Merge "Remove unnecessary --warn-shared-textrel flags." 2022-02-04 23:58:41 +00:00
Ramji Jiyani
f0afc9539c system_dlkm: Add in list of partitions to clean
CI builds are doing m installclean between them;
which is not causing the system_dlkm to clean
it's build.prop and it is stuck to the first CI
build when feature landed causing ota signing
test to fail.

Local reproduction using:
m installclean && m -j96 && m dist
validate_target_files out/dist/*target_files-*.zip

Bug: 217507332
Test: Local verification, TH & Forrest
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
Change-Id: I97f2011a61252d3cb798af0fab99221b754328ca
2022-02-04 23:12:00 +00:00
Sam Delmerico
67a4f2511b Merge "add target_compatible_with stanza for host targets" am: 75664acd70 am: c9c5269342 am: 608b32f41a am: d3b10485f0
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1966480

Change-Id: I521a6c7e2ef12516bebe06661086ebe3338a1bad
2022-02-04 20:15:02 +00:00
Sam Delmerico
d3b10485f0 Merge "add target_compatible_with stanza for host targets" am: 75664acd70 am: c9c5269342 am: 608b32f41a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1966480

Change-Id: Ic8a3e248e4fad16a571cd74f6eed59f6c8a1549c
2022-02-04 20:01:32 +00:00
Sam Delmerico
608b32f41a Merge "add target_compatible_with stanza for host targets" am: 75664acd70 am: c9c5269342
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1966480

Change-Id: I0d08ace79cdf18117eccf04ad337da79306f0ae2
2022-02-04 19:48:38 +00:00
Sam Delmerico
c9c5269342 Merge "add target_compatible_with stanza for host targets" am: 75664acd70
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1966480

Change-Id: I317035307deef6c79fac903c8d9c14e82b5874cf
2022-02-04 19:33:52 +00:00
Sam Delmerico
75664acd70 Merge "add target_compatible_with stanza for host targets" 2022-02-04 19:15:04 +00:00
Stephen Hines
a66590a98d Remove unnecessary --warn-shared-textrel flags.
This flag has never done anything for ld.lld, since it has this behavior
by default (and actually can't turn it off either). It's now being
removed as a valid flag from ld.lld, so it's time for Android to drop
the unnecessary flags. See https://reviews.llvm.org/D118942.

Test: builds
Change-Id: I22c344b7a55e275c1fbd5fef25f85e97a39de5c4
2022-02-04 11:02:17 -08:00
Liz Kammer
a20b7a72ab Disable targets broken on host due to missing deps
Test: bp2build.sh
Change-Id: I8617c97954deaa985a1ff67cf4ca4d97207f6913
2022-02-04 13:08:03 -05:00
Liz Kammer
90585de317 Merge "Allowlist additional com.android.runtime blockers" am: cc1a2062f0 am: a26a05e7cd am: 56df1b8a9b am: 4d9e6e667a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1965179

Change-Id: Ia3353bbe1ab1956640790a61d402fbd0b458fce6
2022-02-04 15:20:10 +00:00
Liz Kammer
4d9e6e667a Merge "Allowlist additional com.android.runtime blockers" am: cc1a2062f0 am: a26a05e7cd am: 56df1b8a9b
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1965179

Change-Id: I90b54cec510deffdc952d51fcfe5c7ed1b6cff10
2022-02-04 15:06:03 +00:00
Liz Kammer
56df1b8a9b Merge "Allowlist additional com.android.runtime blockers" am: cc1a2062f0 am: a26a05e7cd
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1965179

Change-Id: I4d425c211b9974122f407c0955270b2368f47a7d
2022-02-04 14:51:10 +00:00
Liz Kammer
a26a05e7cd Merge "Allowlist additional com.android.runtime blockers" am: cc1a2062f0
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1965179

Change-Id: I72bb4c433910c459751da6b4795aa1bbe17c3a2d
2022-02-04 14:32:47 +00:00
Liz Kammer
cc1a2062f0 Merge "Allowlist additional com.android.runtime blockers" 2022-02-04 14:17:32 +00:00