Treehugger Robot
98f7f32ba0
Merge "Drop IncludeTags" into main am: 211fdd6618
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3098657
Change-Id: I7bbd91db4f4309f8a8c0e558bf901a351ed20c24
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 22:16:18 +00:00
Treehugger Robot
211fdd6618
Merge "Drop IncludeTags" into main
2024-06-06 22:12:38 +00:00
Zi Wang
ceb7029f37
Merge "Initialize TaggedOutputFiles before updating it" into main am: aff9a2c7ac
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3118931
Change-Id: I1ca3a5cf62bce15d4399b133548c358a8e82ec27
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 22:08:22 +00:00
Zi Wang
aff9a2c7ac
Merge "Initialize TaggedOutputFiles before updating it" into main
2024-06-06 21:54:15 +00:00
mrziwang
57768d7437
Initialize TaggedOutputFiles before updating it
...
Test: CI
Change-Id: I176ec626ee4165af62344bf918b665d6414f6d83
2024-06-06 11:31:51 -07:00
Treehugger Robot
142cf7a304
Merge "Disallow unknown fields in soong variables file" into main am: 4eef64a70b
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3114140
Change-Id: I79650c9d87247d91f9a33454a1ff7e3e3a7abeef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 18:07:14 +00:00
Treehugger Robot
4eef64a70b
Merge "Disallow unknown fields in soong variables file" into main
2024-06-06 17:51:57 +00:00
Treehugger Robot
b9bc2f388a
Merge "Identify profile providing apexes using ApexInfo" into main am: 4039516f32
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3114508
Change-Id: Iea4312baee09a9114748f008321050729e3e0b33
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 01:25:52 +00:00
Treehugger Robot
4039516f32
Merge "Identify profile providing apexes using ApexInfo" into main
2024-06-06 01:10:12 +00:00
Spandan Das
7fd531f5d1
Identify profile providing apexes using ApexInfo
...
`com.android.art` and its overrides include a `etc/boot-image.prof`
which is used on device for profile guided dexopt.
```
$ deapexer list <path_in_product_out>/com.android.art.apex | grep
boot-image
$ deapexer list <path_in_product_out>/com.google.android.art.apex | grep
boot-image
```
To identify that we should include a boot-image.prof in the override
apexes, we currently look at ApexInfo.InApexVariants in the context of
art's bootclasspath fragment module. InApexVariants are colated based on
the min_sdk_version of the top-level apex. At ToT, we have a single
variant of `art-bootlcasspath-fragment` for aosp art apex, google art
apex and google go art apex.
When google go art apex overrides the min_sdk_version, ApexInfo is
cleaved, and two distinct variants of art-bootclasspath-fragment are
created. The one corresponding to go art apex does not know we should
include boot-image.prof
To fix this, use AllApexInfoProvider instead. If any of the apexInfos
corresponds to com.android.art, include etc/boot-image.prof
Test: Added a unit test
Test: With https://b.corp.google.com/issues/345173231#comment2 reverted,
m com.google.android.go.art && deapexer list <apex> # verified that
boot-image.prof exists
Bug: 345173231
Bug: 295311875
Change-Id: I5a0e8f74725388f05343c64f268260b1eb139ae5
2024-06-05 21:32:23 +00:00
Steven Moreland
baaeddbdca
Merge "Shipping_api_level in build." into main am: c562e50fe5
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3112267
Change-Id: Ieae74f8a9f904cbdffd05ccc88bce407a25b703a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-05 19:36:09 +00:00
Steven Moreland
c562e50fe5
Merge "Shipping_api_level in build." into main
2024-06-05 19:23:20 +00:00
Zi Wang
f1dbeb309e
Merge "Use OutputFilesProvider on bpf" into main am: 6c9fa02204
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3098157
Change-Id: I4a32747fc36aa90e19e5b8539100842e172aae69
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-05 16:16:34 +00:00
Zi Wang
6c9fa02204
Merge "Use OutputFilesProvider on bpf" into main
2024-06-05 15:55:34 +00:00
mrziwang
e6c8581fbe
Use OutputFilesProvider on bpf
...
This changes makes bpf module type uses OutputFilesProvider,
instead of current OutputFileProducer for inter-module-
communication.
Test: CI
Bug: 339477385
Bug: 342406930
Change-Id: I85d1141e9f6583cc5427756107da99f56b0c7ea1
2024-06-04 22:09:13 -07:00
LaMont Jones
67ca47524e
Merge "Allow product-specific release configs." into main am: 7bd25635aa
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3114839
Change-Id: I95059f9a70ed7464aa9bde3aa268d0e74b569f56
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-05 00:22:52 +00:00
LaMont Jones
7bd25635aa
Merge "Allow product-specific release configs." into main
2024-06-05 00:07:28 +00:00
Cole Faust
e7c83d9f76
Merge "genrule: Make cmd configurable" into main am: 3f7b73c639
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3109961
Change-Id: I83900a6ea7491445c331c4e4a864b5ad7fe4833c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-04 23:39:53 +00:00
Cole Faust
3f7b73c639
Merge "genrule: Make cmd configurable" into main
2024-06-04 23:23:32 +00:00
Steven Moreland
a48df2b7fb
Shipping_api_level in build.
...
Add shipping API level to build, so that we can move
certain tests to build time.
Bug: 340953047
Test: works in init for build time host checks
Change-Id: Ic89066c2b49089da3113a1afef1d39de53b307d9
2024-06-04 23:08:20 +00:00
Cole Faust
a2369869b1
Merge "Cleanup dirmods, outmod, and pathmod" into main am: 83838b6297
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3114379
Change-Id: I1b35fa283e3ed019ae9fd0bea6d5028030bc5349
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-04 22:21:45 +00:00
Cole Faust
83838b6297
Merge "Cleanup dirmods, outmod, and pathmod" into main
2024-06-04 22:03:22 +00:00
Treehugger Robot
932414b0ad
Merge "Ignore_max_page_size option." into main am: 2e264ce8e1
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3112601
Change-Id: Id02367f2a210457d8fef0781dcfcb2f7c039fbe8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-04 21:47:36 +00:00
Treehugger Robot
2e264ce8e1
Merge "Ignore_max_page_size option." into main
2024-06-04 21:29:47 +00:00
LaMont Jones
b4f866c73c
Allow product-specific release configs.
...
Bug: 343794062
Test: manual
Change-Id: Ifdfab5978221f1396681a2c851bad7be502b6ea7
2024-06-04 14:27:07 -07:00
Cole Faust
32e6102832
Make pathmod give absolute paths am: 5f2be11396
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3114319
Change-Id: Ic2058bedb8357311a30c483a7d4d6d338a32ae87
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-04 20:36:32 +00:00
Cole Faust
ec701ded12
Cleanup dirmods, outmod, and pathmod
...
- Use argparse for parsing
- Correct copy/pasted documentation
- Misc small tweaks
Bug: 340648588
Test: manually
Change-Id: I11373bd25712b6880517efbb7aefabf70d29a771
2024-06-04 12:30:55 -07:00
Cole Faust
5f2be11396
Make pathmod give absolute paths
...
This was broken when pathmod was turned into a standalone script.
Bug: 340648588
Test: gomod frameworks-minus-apex from build/soong
Change-Id: Ibd5eaf2c29d232c1a7da432723f7c6b6fa8bce83
2024-06-04 12:14:35 -07:00
Cole Faust
e1129b8cc6
Disallow unknown fields in soong variables file
...
To catch issues earlier, like when renaming a field.
Test: Presubmits
Change-Id: Ie04507b54cc8de3efd27ee75ff32a85ea21b5750
2024-06-04 11:10:11 -07:00
Treehugger Robot
6f1169eace
Merge "VNDK is fully deprecated from Soong" into aosp-main-future
2024-06-04 18:03:56 +00:00
Yu Liu
57a40eb16d
Merge "Upload build.trace.gz for user builds." into main am: fba4e70227
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3092961
Change-Id: I8b43a9d6feaf71e1ea41b4bb5aa0ea7e55e8e9b7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-04 17:45:08 +00:00
Yu Liu
fba4e70227
Merge "Upload build.trace.gz for user builds." into main
2024-06-04 17:24:50 +00:00
Aleks Todorov
1eb06c4a67
genrule: Make cmd configurable
...
Bug: 325067608
Bug: 325444956
Test: m
Test: m [custom genrule with select]
Change-Id: I3a2307a8d0f65ee419b935a30742f96e5733a81f
2024-06-04 18:20:29 +01:00
Steven Moreland
dabe2d4336
Ignore_max_page_size option.
...
Option for specific prebuilts to opt out of
the prebuilt page size check.
Like allow_undefined_symbols.
Bug: 342466032
Test: build using this to opt out
Change-Id: I335c0beb66c10b260e7c3e405f05027e7718fe07
2024-06-04 01:27:30 +00:00
Kiyoung Kim
8f05c54b9d
VNDK is fully deprecated from Soong
...
VNDK is fully deprecated, so KeepVndk variable will have fixed value.
This change removes KeepVndk config value, and updates any logic using
the value as VNDK is always deprecated.
Bug: 330100430
Test: Soong tests passed
Ignore-AOSP-First: Resolve merge conflict
Change-Id: I98b7590c059883e06bf3fb236d88966de64991d7
Merged-In: I98b7590c059883e06bf3fb236d88966de64991d7
2024-06-04 01:09:15 +00:00
Ronald Braunstein
8d3477871f
Reapply "Change test_module_config from copying files to symlink ..." am: 01d31bdc98
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3110324
Change-Id: I5bd85517df6119abc4a6e7631c341eba46ee21e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-03 23:03:07 +00:00
Ronald Braunstein
01d31bdc98
Reapply "Change test_module_config from copying files to symlink ..."
...
This reverts commit c6a321e4de
.
Original commit broke whe building sdk/ndk in postsubmit because of
missing target arch.
See: https://android-build.corp.google.com/artifact/submitted/11914755/mainline_modules_sdks-trunk_staging-userdebug/latest/view/logs%2Fbuild_error.log
Reapplying originaly commit and adding fix in patchest.
Test: DIST_DIR=/usr/local/google/dist/bug TARGET_RELEASE=trunk_staging TARGET_BUILD_VARIANT=userdebug UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true packages/modules/common/build/mainline_modules_sdks.sh
Test: m general-tests
Change-Id: Id844feb7ff9750bcd5af890a9fd26f7342344965
2024-06-02 07:24:51 -07:00
Priyanka Advani
43f3e5557e
Merge "Revert "Change test_module_config from copying files to symlink ..."" into main am: d5e16ac52b
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3109350
Change-Id: Id5cb5de0f9c9046e7edcf2d6d8e299a5bc3d1986
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-31 23:43:54 +00:00
Priyanka Advani
d5e16ac52b
Merge "Revert "Change test_module_config from copying files to symlink ..."" into main
2024-05-31 23:39:49 +00:00
Priyanka Advani
c6a321e4de
Revert "Change test_module_config from copying files to symlink ..."
...
Revert submission 3060229-ron-tmc-symlinks
Reason for revert: Droidmonitor created revert due to b/344045516
Reverted changes: /q/submissionid:3060229-ron-tmc-symlinks
Change-Id: If5045366677163560cdae95c0ab74256b4b49b9a
2024-05-31 23:31:13 +00:00
Ronald Braunstein
4333b79d98
Merge "Change test_module_config from copying files to symlink files." into main am: fb9191bcfe
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3060229
Change-Id: I8eefa9e1fae6a3d7909d0d4638648bc1405b03b5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-31 23:03:11 +00:00
Ronald Braunstein
fb9191bcfe
Merge "Change test_module_config from copying files to symlink files." into main
2024-05-31 22:58:10 +00:00
Joe Onorato
4c1b3ebc67
Merge changes from topic "list_releases" into main am: 5219ed0b4b
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3109520
Change-Id: Ic77ac0a5643355979146c4a4fc70e695c8514ca8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-31 20:27:07 +00:00
Joe Onorato
e971cfdbeb
Add standalone list_products and list_variants commands. am: c6e5a45667
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3108309
Change-Id: Icbb61c36a3dff0e74d13f6e6067679a48d003bfb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-31 20:27:01 +00:00
Joe Onorato
5219ed0b4b
Merge changes from topic "list_releases" into main
...
* changes:
Add list_releases command
Add standalone list_products and list_variants commands.
2024-05-31 20:22:06 +00:00
Treehugger Robot
e17b902d8d
Merge "Update exportable to handle documentation issues being errors" into main am: 1d903eb078
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3110137
Change-Id: I16ec61988da6f1fb9f93d8e89979036a1b0eb402
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-31 18:11:10 +00:00
Treehugger Robot
1d903eb078
Merge "Update exportable to handle documentation issues being errors" into main
2024-05-31 18:02:54 +00:00
Treehugger Robot
eaf7f7ff48
Merge "Add prior_stages:
to release config" into main am: 9b8cfd5144
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3109518
Change-Id: I6b7fa4fb167b8abc9c21882a4d243f5475b29d4a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-31 16:42:41 +00:00
Paul Duffin
71527b76f6
Update exportable to handle documentation issues being errors
...
Follow-up to https://r.android.com/3106478 to have exportable handle
documentation issues being errors in the same way as everything does.
Bug: 343157584
Test: ./gradlew
Change-Id: Iba490e46e2ff202e2ef78f49389319ee8549fe3f
2024-05-31 17:41:10 +01:00
Treehugger Robot
9b8cfd5144
Merge "Add prior_stages:
to release config" into main
2024-05-31 16:40:49 +00:00