Aditya Kumar
6edbaa369f
Merge "Remove wtautological warnings added during toolchain update" into main
2024-02-21 18:43:28 +00:00
Yu Liu
864fd2f1f5
Merge "Support aconfig stoage files for apex." into main
2024-02-21 17:42:58 +00:00
Andrew Walbran
a556c303b9
Merge "Revert^4 "Integrate Rust-specific System Properties into rules generation."" into main am: c0a6d29e49
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2965053
Change-Id: I195bfa8667027039d1259016d8150f07d7548a65
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-02-21 12:21:31 +00:00
Andrew Walbran
c0a6d29e49
Merge "Revert^4 "Integrate Rust-specific System Properties into rules generation."" into main
2024-02-21 11:53:45 +00:00
Andrew Walbran
a5deb7307d
Revert^4 "Integrate Rust-specific System Properties into rules generation."
...
This reverts commit 2766baa922
.
Reason for revert: Relanding after fix in I3b190ebc1a1096972d0a1273e490972e04684dd2
Change-Id: Ie34301c506d3469ec3306f433631b0842b66d032
2024-02-21 11:53:18 +00:00
Jihoon Kang
c09ef10f8d
Merge "Modify sdk_library to dist exportable api files by default" into main am: 5135a0df57
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2970651
Change-Id: I75c03735713efc3d920cacc04bae33229138ac0f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-02-21 08:09:38 +00:00
Jihoon Kang
5135a0df57
Merge "Modify sdk_library to dist exportable api files by default" into main
2024-02-21 07:30:30 +00:00
Aditya Kumar
40efd8d644
Merge "Error on the usage of -target flag" into main am: 30aec0dfb1
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2944973
Change-Id: Idc2d76f8029765415a45d1dfcf8e6f818de216c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-02-21 07:06:16 +00:00
Aditya Kumar
30aec0dfb1
Merge "Error on the usage of -target flag" into main
2024-02-21 06:30:45 +00:00
Treehugger Robot
9258c46749
Merge "Ignore modules which are not exported to Make." into main am: d741b7f9f2
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2970151
Change-Id: I00b7aa59b8d620b4a1226a1aa1455af01cf945b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-02-21 05:42:21 +00:00
Treehugger Robot
d741b7f9f2
Merge "Ignore modules which are not exported to Make." into main
2024-02-21 04:54:36 +00:00
Jihoon Kang
d1799f6835
Modify sdk_library to dist exportable api files by default
...
Currently, the "exportable" stubs are copied to the dist directory by
default when building the java_sdk_library module. However, "everything"
api files (current & removed) are copied to the dist directory, causing
confusion to the developers. This change modifies the default behavior
so that the "exportable" api files are copied to the dist directory and
match the behavior of the stubs.
Test: m nothing
Bug: 325639165
Change-Id: I2e3b158bb638d30629120b32aa3e88bb26231020
2024-02-20 23:06:11 +00:00
Treehugger Robot
7fd2b6f964
Merge "AOSP platform_apis violations" into main am: dcda79b5e7
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2969671
Change-Id: I8e411a5390f9af312a4dd2f54abb04f41e5b5884
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-02-20 23:04:31 +00:00
Stephen Hines
41f2ab846a
rustc-1.75.0 Build 11471753
...
Bug: https://issuetracker.google.com/issues/321303117
Test: m rust
Change-Id: I90f0efb4eb3b6fcc41fbe256a9079e0e5647663c
2024-02-20 14:59:31 -08:00
Treehugger Robot
dcda79b5e7
Merge "AOSP platform_apis violations" into main
2024-02-20 22:46:31 +00:00
Chris Wailes
7aebd20972
Merge "Revert "Re-land "Make building Rust targets faster in eng builds""" into main am: f49f7d58ca
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2969318
Change-Id: I4e8a4df8571fe81d3cd465aefec27d236ff3d1f3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-02-20 22:42:13 +00:00
Chris Wailes
f49f7d58ca
Merge "Revert "Re-land "Make building Rust targets faster in eng builds""" into main
2024-02-20 22:10:14 +00:00
Chris Wailes
99180c23d2
Revert "Re-land "Make building Rust targets faster in eng builds""
...
This reverts commit e3da5ea86b
.
Reason for revert: b/326108486
Change-Id: Ia99c6024f41f863d7a2a2eaea0567c330c2b1a89
2024-02-20 21:39:40 +00:00
Mårten Kongstad
cbddac094d
Merge "Include all_aconfig_declarations in sdk dist" into main am: cbc967ffc2
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2969051
Change-Id: I86cb51df447ca48bc301818e6a11c88eed5c1426
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-02-20 20:55:46 +00:00
Mårten Kongstad
cbc967ffc2
Merge "Include all_aconfig_declarations in sdk dist" into main
2024-02-20 20:27:37 +00:00
Chris Wailes
7a32a9f24e
Merge "Re-land "Make building Rust targets faster in eng builds"" into main am: 431f004e59
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2966051
Change-Id: I425f84db07be71debe3e4e61efcff99d845596f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-02-20 19:51:02 +00:00
Chris Wailes
431f004e59
Merge "Re-land "Make building Rust targets faster in eng builds"" into main
2024-02-20 19:02:02 +00:00
Andrew Walbran
fb7566456c
Ignore modules which are not exported to Make.
...
Bug: 323833345
Test: forrest run on git_udc-qpr-dev-plus-aosp/aosp_arm64-trunk_staging-userdebug
Change-Id: I3b190ebc1a1096972d0a1273e490972e04684dd2
2024-02-20 18:13:58 +00:00
Spandan Das
8469e939f3
AOSP platform_apis violations
...
This allowlist contains java_library modules which set the no-op
property `platform_apis`. This allowlist will help enforce that there
are no new violations.
This should be a no-op till
https://android-review.git.corp.google.com/c/platform/build/soong/+/2969451
is submitted
Test: presubmits
Bug: 215379393
Change-Id: I49372e1d476201f607cd717be26aa3909668ff26
2024-02-20 17:22:22 +00:00
Mårten Kongstad
2a1adcc63a
Include all_aconfig_declarations in sdk dist
...
Include all_aconfig_declarations in the sdk dist directory, in both
binary protobuf (for machine consumption) and text protobuf (for human
consumption) format.
Bug: 324281288
Test: m sdk dist && test -e out/dist/flags.pb && test -e out/dist/flags.textproto
Change-Id: Icfb4841c3fe6478ddc233ef6d092ca700a8acb20
2024-02-20 12:51:25 +01:00
Spandan Das
8a1033139c
Merge "Disable dexpreopt if optional_uses_libs does not have an impl" into main am: 4bec95e2f6
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2963583
Change-Id: I49ab495bfeb2e2d4c9a6c170ed73c47e0efe9802
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-02-20 08:42:37 +00:00
Spandan Das
5a1b90d2fa
Merge "Revert "Revert "Create a product variable for skipping apex cont..."" into main am: 73f4a4a481
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2967067
Change-Id: Ib71d70a6b61ae25c5a8f6bfc4788ae517452ca32
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-02-20 08:42:23 +00:00
Spandan Das
4bec95e2f6
Merge "Disable dexpreopt if optional_uses_libs does not have an impl" into main
2024-02-20 08:08:35 +00:00
Spandan Das
73f4a4a481
Merge "Revert "Revert "Create a product variable for skipping apex cont..."" into main
2024-02-20 07:53:03 +00:00
Treehugger Robot
2e7afd66e0
Merge "Version LLNDK ABI dumps with VendorApiLevel" into main am: 3ce80aef7f
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2952267
Change-Id: I2376a555fce6de5cbdaff51c3fc54e9bb9df18c7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-02-17 06:39:59 +00:00
Treehugger Robot
3ce80aef7f
Merge "Version LLNDK ABI dumps with VendorApiLevel" into main
2024-02-17 05:58:03 +00:00
Spandan Das
8ab28dd61d
Revert "Revert "Create a product variable for skipping apex cont..."
...
Revert submission 2966055-revert-2964509-skip-apex-contributions-EOKWOFHENC
Reason for revert: The root cause CL has been reverted https://googleplex-android-review.git.corp.google.com/c/platform/vendor/google/build/+/26268799
Reverted changes: /q/submissionid:2966055-revert-2964509-skip-apex-contributions-EOKWOFHENC
Change-Id: I93e8f60124a09b4fba4675ac7f128ab553102bf7
2024-02-17 03:31:45 +00:00
Treehugger Robot
620753f9fa
Merge "Revert "Create a product variable for skipping apex contribution..."" into main am: 3e48d693f4
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2966054
Change-Id: Id5ec5d2e9fea52488e78b1afea62d902a11f98f6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-02-17 02:29:38 +00:00
Hsin-Yi Chen
9f66c04e8d
Merge "Separate LLNDK ABI diff reports from the other variants" into main am: 53eb289ad0
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2950226
Change-Id: Ia8f90f4e5fc818a77c66b52478698c03f95cd60e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-02-17 02:28:08 +00:00
Treehugger Robot
3e48d693f4
Merge "Revert "Create a product variable for skipping apex contribution..."" into main
2024-02-17 02:24:02 +00:00
Hsin-Yi Chen
53eb289ad0
Merge "Separate LLNDK ABI diff reports from the other variants" into main
2024-02-17 02:15:39 +00:00
Zi Wang
2559a85af4
Merge "Add jarjar_prefix propagation support for aconfig_declarations_group module type" into main am: 0fd4bb8c70
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2967332
Change-Id: I0aedb1a1c34054269666a6f25624c68e079a73f6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-02-17 02:07:27 +00:00
Zi Wang
0fd4bb8c70
Merge "Add jarjar_prefix propagation support for aconfig_declarations_group module type" into main
2024-02-17 01:24:09 +00:00
Yu Liu
bba555ee31
Support aconfig stoage files for apex.
...
Bug: 323071835
Test: unit tests and manual build test.
Change-Id: I4a1a05b3afdf88058a970040b3f176f36c5c8037
2024-02-17 00:36:42 +00:00
Jihoon Kang
3801a965d5
Revert "Create a product variable for skipping apex contribution..."
...
Revert submission 2964509-skip-apex-contributions
Reason for revert: 325666427
Reverted changes: /q/submissionid:2964509-skip-apex-contributions
Change-Id: I510e81c8e06803dc014c9f04c3e357065aa19ce5
2024-02-16 23:25:06 +00:00
Jihoon Kang
03d014ff2b
Add jarjar_prefix propagation support for aconfig_declarations_group module type
...
jarjar_prefix propagation logic currently depends on the type of the
providers of the dependencies, thus the logic needs to be updated when a
new provider is added. Since `aconfig_declarations_group` module type
utilizes its custom provider "CodegenInfoProvider", this change adds
jarjar_prefix propagation support for this provider.
Test: Set aconfig_declaration module's exportable property to true && m framework-minus-apex and inspect if "repackaged-jarjar" subdir exists in outdir
Bug: 310504781
Change-Id: I1689027d7810687a53ec34b9cfda479806f2ec87
2024-02-16 22:22:18 +00:00
Chris Wailes
e3da5ea86b
Re-land "Make building Rust targets faster in eng builds"
...
This reverts commit af9fc549ca
, reversing
changes made to f617e18741
.
Additionally, patch set #2 adds a fix for b/b/325547632. We should not
pass the `-Z dylib-lto` flag.
Test: m rust
Test: ABTD rialto_test
Bug: https://b.corp.google.com/issues/289094772
Change-Id: I0b7cb62866391968029a23ab2daade28628944ea
2024-02-16 13:42:01 -08:00
AdityaK
a0ad736b91
Remove wtautological warnings added during toolchain update
...
Bug: b/301328082
Change-Id: I0bf10e4a9456dff1b3a521ca13cb5170e738f80a
2024-02-16 19:44:26 +00:00
AdityaK
f6fbaac34c
Error on the usage of -target flag
...
Bug: http://b/323415017
Change-Id: I31897ff0101965088280ad9adc7a23a7c190536a
2024-02-16 19:42:15 +00:00
Spandan Das
0727ba76b1
Disable dexpreopt if optional_uses_libs does not have an impl
...
At ToT, an optional_uses_libs is not added to the build time CLC if it
does not exist in the tree. One edge case here is
java_sdk_library_import, which might exist in the tree, but without an
implementation. This cause issues during analysis when we try to verify
the correctness of the build time CLC.
This CL disables dexpreopt if a dependency does not have an
implementation. To limit inadvertent side effects, this is restricted to
java_sdk_library(_import) module types. (more precisely, it is restricted
to java_sdk_library_import, since the source module type will always
have an impl)
Bug: 315802285
Test: Added a unit test
Test: m nothing
Test: printf debugging in internal main, verified that this CL does not
disable dexpreopt on any android app inadvertently
Change-Id: I173fc2f3ff654fe4091e9a43322164afd3222ee7
2024-02-16 18:00:27 +00:00
Joonhun Shin
a9600a3d48
Merge "Revert "Make building Rust targets faster in eng builds"" into main am: af9fc549ca
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2967044
Change-Id: I62ccaeaaf670bc808f5a71a3eb196c29f4080b95
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-02-16 08:41:59 +00:00
Joonhun Shin
af9fc549ca
Merge "Revert "Make building Rust targets faster in eng builds"" into main
2024-02-16 07:56:01 +00:00
Joonhun Shin
fad3e69d7f
Revert "Make building Rust targets faster in eng builds"
...
This reverts commit 6146cf4b98
.
Reason for revert: <b/325547632>
Change-Id: Ifd3619c5db5b989edb4aa2c37f85e5cd88d0c633
2024-02-16 07:26:14 +00:00
Jiyong Park
eec7c38eea
Ensure that filesystem module can track modules with prefer32
...
Bug: 321854616
Test: go test ./...
Change-Id: I67893f8c32bd913ec6066e7055e1758a5bddb9a0
2024-02-16 16:10:13 +09:00
Jiyong Park
06c4cdcf87
bpf modules can be included in filesystem modules
...
Bug: 322246536
Test: go test ./...
Change-Id: I5f29258e45475b30cdb26014c2db147182ec52fa
2024-02-16 15:35:03 +09:00