Anton Hansson
35f97155c7
Merge "Add a new flag to stop disabling lint errors" into main am: bf3e32d870
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2816560
Change-Id: Id9090e39d1a9716be323f4689a8678c98bceefe3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-07 16:27:05 +00:00
Anton Hansson
bf3e32d870
Merge "Add a new flag to stop disabling lint errors" into main
2023-11-07 16:01:29 +00:00
Anton Hansson
fd1c0d2eaa
Add a new flag to stop disabling lint errors
...
java_sdk_library has historically suppressed a few legitimate lint
errors. Make it possible to remove these suppressions via a flag.
Bug: 306806877
Test: checkapi
Merged-In: I10577dacbd7ea8063c6e1e02f3b6c60a2bee5094
Change-Id: I10577dacbd7ea8063c6e1e02f3b6c60a2bee5094
2023-11-07 10:14:50 +00:00
Colin Cross
8776383feb
Merge "Revert "Add support for PRODUCT_RELEASE_CONFIG_MAPS"" into main am: 216ed6c918
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2818083
Change-Id: I1233ec737f41c6b4696f7a3aaf08020966df1d97
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-06 22:45:27 +00:00
Colin Cross
216ed6c918
Merge "Revert "Add support for PRODUCT_RELEASE_CONFIG_MAPS"" into main
2023-11-06 22:02:50 +00:00
Colin Cross
6a4fe68cc5
Revert "Add support for PRODUCT_RELEASE_CONFIG_MAPS"
...
Revert submission 2815850-product-flags
Reason for revert: b/309477343
Reverted changes: /q/submissionid:2815850-product-flags
Bug: 302593603
Bug: 309477343
Change-Id: I5b5a5ade1d85195c43377ed7639deba6eef86e23
2023-11-06 21:32:03 +00:00
LaMont Jones
ad2c83855c
Merge "Add support for PRODUCT_RELEASE_CONFIG_MAPS" into main am: 4c01bb49da
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2816262
Change-Id: Idadea60769f0b8093b453bfff8e6b3ddf8c177d7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-06 14:33:26 +00:00
LaMont Jones
4c01bb49da
Merge "Add support for PRODUCT_RELEASE_CONFIG_MAPS" into main
2023-11-06 14:08:22 +00:00
Alyssa Ketpreechasawat
aa91b88610
Merge "Disable verify_overlaps test instead of hiddenapi check." into main am: 98e555c842
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2816955
Change-Id: I328905493dcc5c71bf88139fd80520f6259604a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-06 11:33:40 +00:00
Alyssa Ketpreechasawat
98e555c842
Merge "Disable verify_overlaps test instead of hiddenapi check." into main
2023-11-06 10:53:31 +00:00
Alyssa Ketpreechasawat
7daf2786b6
Disable verify_overlaps test instead of hiddenapi check.
...
Disabling hiddenapi check entirely can be dangerous and it might change the
accessibility of @hide Api too. We should only disable verify_overlaps
test which is required for module_sdk and apexes mismatch.
Test: atest CtsInlineMockingTestCases
Bug: 308187068
Bug: 307480026
Change-Id: I44f48e85d802b3a8f2711bc2047bdab721369f08
2023-11-06 09:49:16 +00:00
Cole Faust
35ac282ccc
Merge "Sandbox LTP genrules" into main am: 74639be8a7
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2815887
Change-Id: I102d26c40efe50a48aee7327246329a244e10e31
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-03 20:34:21 +00:00
Cole Faust
74639be8a7
Merge "Sandbox LTP genrules" into main
2023-11-03 20:16:00 +00:00
LaMont Jones
127127b608
Add support for PRODUCT_RELEASE_CONFIG_MAPS
...
This allows product config to determine what build flags are present in
a product's build, as well as their value.
As product config moves to a declarative specification, this can be
handled with less unnecessary work.
Bug: b/302593603
Bug: b/308849337
Test: manual
Change-Id: If57622059bb7d1c33df7498321db621c0c2d30c0
2023-11-03 19:19:59 +00:00
Almaz Mingaleev
243926a67a
Merge "Add java.util.random to the allowed package list." into main am: 92610e18e2
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2807678
Change-Id: I0e727522e851f280640447e320427b3c1fb8b378
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-03 14:38:36 +00:00
Almaz Mingaleev
92610e18e2
Merge "Add java.util.random to the allowed package list." into main
2023-11-03 14:05:16 +00:00
Michael Stokes
b2db840da2
Merge "Revert "Use R8 for resource shrinking"" into main am: 2e09e68e56
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2816956
Change-Id: Ibf81e57b1232525a43752ab7bfa5b8d3120719c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-03 12:51:21 +00:00
Michael Stokes
2e09e68e56
Merge "Revert "Use R8 for resource shrinking"" into main
2023-11-03 12:12:40 +00:00
Treehugger Robot
c080eb1d33
Merge "Update checkapi error message to provide more guidance" into main am: 0978d6a4b1
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2816954
Change-Id: I6a1fcce0c608632161c29eff6c73a3eccf6cf1eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-03 11:40:37 +00:00
Treehugger Robot
0978d6a4b1
Merge "Update checkapi error message to provide more guidance" into main
2023-11-03 11:13:02 +00:00
Rico Wind
a9fd59a7f2
Revert "Use R8 for resource shrinking"
...
Revert submission 2816534-r8resourceshrinking
Reason for revert: b/309075997
Reverted changes: /q/submissionid:2816534-r8resourceshrinking
Change-Id: Ic173491eaf22967fbad14fbcc85f6ddb2cf54d23
2023-11-03 10:26:38 +00:00
Rico Wind
fd74f8c693
Merge "Use R8 for resource shrinking" into main am: 4ea88503e4
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2813214
Change-Id: I830d027fdfa080ca4bd29c1e24795148a6d16649
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-03 08:09:07 +00:00
Rico Wind
4ea88503e4
Merge "Use R8 for resource shrinking" into main
2023-11-03 07:29:45 +00:00
Cole Faust
9cae593d97
Sandbox LTP genrules
...
gen_ltp_config used to read files from the source tree,
but this cl refactors it to package all the files it
needs into the tool itself, so it's more hermetic and
all the genrules don't need to explicitly list the files
the tool needs.
go/roboleaf-busy-beavers-sandboxing
Bug: 307824623
Test: diff'd the files produced by the ltp_config_* genrules before/after this change
Change-Id: Ia72084965dcb8659394068b7c6877adb1c882dc2
2023-11-02 22:23:01 -07:00
Treehugger Robot
f1ba71688c
Merge "Sandbox test apex genrules" into main am: 66135a79f4
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2816478
Change-Id: I30791e8c8ed1cac5eea1459d9f8bc1b7940e3f88
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-03 02:15:42 +00:00
Treehugger Robot
df1bcdca0e
Merge "Remove retrieveLegacyEncodedBootDexFiles" into main am: 81ac6e74df
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2816477
Change-Id: Ie1ac557250fb60091e003bd3416f29955b949ea6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-03 02:15:29 +00:00
Treehugger Robot
2ba836b13a
Merge "Remove UpdatableSystemFontTest modules from sandboxing denylist" into main am: ac8052b61f
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2816476
Change-Id: I95f1fb0334d7720a7cce25ab1d90c41f93adc2dd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-03 02:15:05 +00:00
Treehugger Robot
66135a79f4
Merge "Sandbox test apex genrules" into main
2023-11-03 02:11:36 +00:00
Treehugger Robot
81ac6e74df
Merge "Remove retrieveLegacyEncodedBootDexFiles" into main
2023-11-03 01:46:13 +00:00
Treehugger Robot
ac8052b61f
Merge "Remove UpdatableSystemFontTest modules from sandboxing denylist" into main
2023-11-03 01:36:55 +00:00
Cole Faust
06e73446de
Sandbox test apex genrules
...
With the other cls in this topic, the modules build with sandboxing.
They still fail the genrule_sandobox_test.py because their builds are
non-deterministic though. I wasn't able to find the cause of the
non-determinism, so relying on presubmits to make sure nothing breaks.
Bug: 307824623
Test: m com.android.apex.test.bar_stripped com.android.apex.test.baz_stripped com.android.apex.test.foo_stripped com.android.apex.test.pony_stripped com.android.apex.test.sharedlibs_generated com.android.apex.test.sharedlibs_secondary_generated with sandboxing enabled
Change-Id: I4006732bf1ba08e846dee2e18d89dbf45f2cd7ba
2023-11-02 18:08:20 -07:00
Spandan Das
3e75cfa795
Remove retrieveLegacyEncodedBootDexFiles
...
Seems to be an unused function
Test: TH
Change-Id: Ic0b352afc16ccaf450dadb5b13d9fb6c694e72e6
2023-11-03 00:46:29 +00:00
Jihoon Kang
3ea6467c1c
Update checkapi error message to provide more guidance
...
With from-text stub feature, checkapi is also used for checking the
sanity of the stubs. Therefore, this change adds more explanatory
message about how the user can rebuild the target when their build
failed with stub validation after local API change.
Test: m nothing
Bug: 309027703
Change-Id: If7c9c287266f3da82edde663619b9f08ee05530d
2023-11-03 00:40:26 +00:00
Cole Faust
f45290a496
Remove UpdatableSystemFontTest modules from sandboxing denylist
...
These modules actually work fine with sandboxing, they were just added
to the list because they have non-deterministic outputs, which caused
the genrule sandboxing script to think that sandboxing affected their
outputs.
Bug: 307824623
Test: ./build/soong/tests/genrule_sandbox_test.py UpdatableSystemFontTest_NotoColorEmojiV0.sig UpdatableSystemFontTest_NotoColorEmojiV0.ttf UpdatableSystemFontTest_NotoColorEmojiVPlus1.sig UpdatableSystemFontTest_NotoColorEmojiVPlus1.ttf UpdatableSystemFontTest_NotoColorEmojiVPlus2.sig UpdatableSystemFontTest_NotoColorEmojiVPlus2.ttf with aosp/2816385
Change-Id: I07b1df779c8d47ad875a4fc2d3af5e46945cff83
2023-11-02 17:15:23 -07:00
Jooyung Han
75136bde99
Merge changes from topic "unwanted-transitive-deps" into main am: 26464230a1
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2812759
Change-Id: I00ae33bb5a38c3e8376dcfa8553c837e58674bd9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-02 23:22:49 +00:00
Jooyung Han
7d4e922cc0
Add apex.unwanted_transitive_deps property am: a8bd72aec2
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2812758
Change-Id: Ic71425dbbc579044bcf90f42b53174de21c8f41c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-02 23:22:46 +00:00
Jooyung Han
26464230a1
Merge changes from topic "unwanted-transitive-deps" into main
...
* changes:
Enable dup check for test apexes
Add apex.unwanted_transitive_deps property
2023-11-02 23:05:14 +00:00
Treehugger Robot
35df455e56
Merge "Optimize out empty path components" into main am: c012b631ae
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2804377
Change-Id: I2ce4b177ca8ffcf65104e19362bd2016aa2bd969
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-02 22:50:01 +00:00
Treehugger Robot
c012b631ae
Merge "Optimize out empty path components" into main
2023-11-02 22:36:11 +00:00
Colin Cross
bf9ed3fba2
Optimize out empty path components
...
filepath.Join("foo", "") returns a newly allocated copy of "foo",
while filepath.Join("foo") does not. Strip out any empty path
components before calling filepath.Join.
Test: TestValidatePath
Change-Id: Ib47dbcd9d6463809acfe260dfd9af87ea280b4de
2023-11-02 14:37:21 -07:00
Rico Wind
b56fe2825d
Use R8 for resource shrinking
...
We are moving the resource shinking pipeline into r8 (gennerally, not just for platform)
This disables the usage of the resource shrinker cli from cmd-line tools
Bug: 308710394
Test: Existing, validated that resource table on SystemUI was byte<>byte equal.
Change-Id: Ia36b5e5970cbdcff519a5f05d672b44dc145ea32
2023-11-02 20:35:20 +01:00
Colin Cross
b6888a8b12
Don't call android.PathForModuleSrc(ctx).String() to get ModuleDir am: f96b001064
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2806397
Change-Id: I2b83356146272e1e9995124c9549c0d3292a28cd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-02 19:23:07 +00:00
Anas Sulaiman
0afedec700
Merge "fix potential encoding issues in remote actions" into main am: 4e6c3ef59b
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2814456
Change-Id: Ifad3225b21921bfe8db93d4429b3404b257845dd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-02 19:22:15 +00:00
Colin Cross
f96b001064
Don't call android.PathForModuleSrc(ctx).String() to get ModuleDir
...
ctx.ModuleDir is much cheaper than android.PathForModuleSrc(ctx).String().
Test: builds
Change-Id: I81819088d9564b06a0336a59a45f2b110b0bd9d6
2023-11-02 19:07:49 +00:00
Anas Sulaiman
4e6c3ef59b
Merge "fix potential encoding issues in remote actions" into main
2023-11-02 18:21:57 +00:00
Treehugger Robot
4e4e8d4dcd
Merge "Remove pre singletons" into main am: 717e7769ce
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2813820
Change-Id: Ic250cdb716209f6d6d86a86b94cea29d2dc14707
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-02 18:20:14 +00:00
Treehugger Robot
717e7769ce
Merge "Remove pre singletons" into main
2023-11-02 18:04:52 +00:00
Jihoon Kang
12ea2d90fa
Merge changes from topic "core-lambda-stubs-source" into main am: 412dc7c488
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2814994
Change-Id: I202cd89b576d1d5c5e614da28e65a80b4cfe0b87
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-02 17:48:23 +00:00
Colin Cross
3bc0e28180
Merge "Remove obsolete java version environment variables" into main am: f2c51919ad
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2814561
Change-Id: Id5ce5b6567e4bc6b1656c475390b847bdc7a46a1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-11-02 17:47:27 +00:00
Jihoon Kang
412dc7c488
Merge changes from topic "core-lambda-stubs-source" into main
...
* changes:
Remove TxtStubLibraries.bp
Move core.module_lib.stubs.from-text closer to source
2023-11-02 17:08:11 +00:00