Mark Dacek
e0b6329384
Merge "Revert "Revert "Modify symlink_forest to rerun when soong_build has changed.""" into main
2023-10-06 17:34:47 +00:00
Spandan Das
ef3fbfeef2
Allowlist jni libs of FrameworksNetsTests
...
This includes
- libandroid_net_connectivity_com_android_net_module_util_jni
- libservice-connectivity
- netd_aidl_interface-V5-cpp
Bug: 297405814
Test: b build $(bmod libandroid_net_connectivity_com_android_net_module_util_jni) --config=android
Test: b build $(bmod libservice-connectivity) --config=android
Test: b build //packages/modules/Connectivity/staticlibs/netd:netd_aidl_interface-V5-cpp --config=android
Change-Id: I519bfba93cc0b8895b21a4287abd85299fea9afc
2023-10-06 17:18:48 +00:00
Spandan Das
046c8b4f19
Allowlist jni libs of FrameworksNetsTests
...
This dir contains the following jni libs
- libnetworkstatsfactorytestjni
- libandroid_net_frameworktests_util_jni
Bug: 297405814
Test: b build $(bmod libnetworkstatsfactorytestjni) --config=android
Test: b build $(bmod libandroid_net_frameworktests_util_jni) --config=android
Change-Id: I3905396cab8df5ebbbf12eafcd9f96cde8305697
2023-10-06 17:18:45 +00:00
Treehugger Robot
aa46295842
Merge "Remove unnecessary arch variant for patch module" into main
2023-10-06 15:20:20 +00:00
Christopher Parsons
f7fe400fbc
Merge "Dont write data attrs for cc lib rules" into main
2023-10-06 14:09:07 +00:00
Alyssa Ketpreechasawat
5cdd22700e
Merge "Revert "Added new framework-pdf jar inside MediaProvider module"" into main
2023-10-06 10:56:29 +00:00
Alyssa Ketpreechasawat
34ab8792c5
Revert "Revert "Disable hiddenapi check for building from prebuilts.""
...
This reverts commit bb6b813b1d
.
Reason for revert: resubmit
Change-Id: I0ded78ed1a355654fa142351b95cd51f48c2186e
2023-10-06 07:01:23 +00:00
Alyssa Ketpreechasawat
affbb8d206
Merge "Revert "Disable hiddenapi check for building from prebuilts."" into main
2023-10-06 06:18:18 +00:00
Xin Li
5c7d0cfb7d
Merge "Merge Android 14" into main
2023-10-06 05:38:53 +00:00
Treehugger Robot
c6f50151d0
Merge "Denylist genrules that fail to build with sandboxing" into main
2023-10-06 05:27:32 +00:00
Kiyoung Kim
03b6cba1f2
Disable TARGET_VNDK_USE_CORE_VARIANT if VNDK is deprecated
...
TARGET_VNDK_USE_CORE_VARIANT enables vendor to use some of the VNDK
libraries with core variant installed in /system/lib. However, this does
not make sense when VNDK is deprecated. This change is to ignore
TARGET_VNDK_USE_CORE_VARIANT when the VNDK is deprecated.
Bug: 303754049
Test: aosp_cf_x86_go_phone boot succeeded
Change-Id: Ie9fa75e0fa452e48924d51d64201690ffb271f33
2023-10-06 14:12:43 +09:00
Cole Faust
8a25345b7d
Denylist genrules that fail to build with sandboxing
...
Bug: 290816499
Test: run genrule_sandbox_test.py with a local change to check all genrules in the tree
Change-Id: Id18b801c2306dd59b5b593b004b513b578ce3705
2023-10-06 05:12:07 +00:00
Alyssa Ketpreechasawat
bb6b813b1d
Revert "Disable hiddenapi check for building from prebuilts."
...
Revert submission 2761821-suppress-hiddenapi-check
Reason for revert: have some typo - break next build
Reverted changes: /q/submissionid:2761821-suppress-hiddenapi-check
Change-Id: I9fce1e1a9389d58928f1eec50c0eaf016f5f63ac
2023-10-06 03:42:34 +00:00
Alyssa Ketpreechasawat
5e0ee313e1
Merge "Disable hiddenapi check for building from prebuilts." into main
2023-10-05 23:51:29 +00:00
Zi Wang
b0f3ff43e5
Merge "Add support for java_library proto plugin in bp2build" into main
2023-10-05 22:32:53 +00:00
Xin Li
5a38034916
Merge Android 14
...
Bug: 298295554
Merged-In: Idc0ff2f20e54b81cfdf61472a72e9cb027f60554
Change-Id: I6c032acf0826b910d045a7a23373597c78a5ee0a
2023-10-05 15:31:31 -07:00
Chris Parsons
7123cc5370
Dont write data attrs for cc lib rules
...
The data attributes for cc library rules is dropped by their starlark
macros, so serves no real purpose. Furthermore, this unused dependency
proves problematic for allowlist v2, as there are many cases at HEAD
where the corner-case "requires" dependency would otherwise mark a module
as unconvertible.
Fixes: 303307456
Test: New unit test
Test: Manual verification to unblock allowlist v2 `bp2build.sh` runs in
AOSP
Change-Id: I6ca6104b958d2b428fc2ca5b3fa794106571acca
2023-10-05 22:07:28 +00:00
Elliott Hughes
3bba0e4bfe
Have the sanitizers trap rather than abort.
...
abort() seems friendlier, but in practice it puts a couple of irrelevant
libc.so frames on the top of the stack trace and clobbers all the
registers that might have helped remotely debug a sanitizer failure.
Let's switch to trapping directly in the sanitized code instead.
Bug: http://b/298741930
Test: treehugger
Change-Id: I6c971920c8506f97133749aaddd73b8cea6a12bc
2023-10-05 14:51:28 -07:00
Dan Albert
5b2fd587c0
Fix error message to still be an error.
...
Bug: http://b/156513478#comment43
Test: m ndk, actually checked that it actually failed
Change-Id: I1951ddfee3bef7d06ab4561e445d75358e5a4abf
2023-10-05 21:45:41 +00:00
Dan Albert
f93ea13e91
Exclude REL from preview API levels.
...
Bug: http://b/156513478#comment43
Test: m ndk # barbet-next-userdebug in goog/main
Change-Id: I0ff1e45d61d605493c784a118232b839324e066e
2023-10-05 21:31:58 +00:00
Liz Kammer
6077263084
Update Headers_only to a bool pointer
...
This makes it easier to identify intentionally setting the property
Test: m nothing
Change-Id: Id89d1e64da3809025f63cafe7557e57a80e0ffee
2023-10-05 17:18:44 -04:00
Liz Kammer
0a470a3c14
Remove unnecessary arch variant for patch module
...
Test: CI
Change-Id: Ibc058407ffb09afa38d9248f4391019e8786602b
2023-10-05 17:02:00 -04:00
Jason Wu
4db4f814bb
Denylist libhardware to pass bp2build-incremental
...
Test: bp2build.sh and abtd test.
Bug: 303534112
Change-Id: I6913818619a555939f4dbfad99602dce420d888b
2023-10-05 20:52:01 +00:00
Christopher Parsons
c774c92f57
Merge "Test changes to prepare for allowlist v2" into main
2023-10-05 20:30:23 +00:00
Christopher Parsons
9eb4efa094
Merge "Skip certain problematic deps" into main
2023-10-05 20:27:00 +00:00
Cole Faust
39ec9276a7
Add out/partitions_were_clean_at_start_of_build.txt
...
Test: Presubmits
Change-Id: I1c7025f2c7594ae84b740ccbae4dcbc933b8cdf6
2023-10-05 13:26:16 -07:00
Zi Wang
dbaf6a9dd0
Add support for java_library proto plugin in bp2build
...
Test: Added unit test and CI
Bug: 303064670
Change-Id: Idb96ac322aafcb6789ea2002b84a6905d5ec488f
2023-10-05 12:53:23 -07:00
Christopher Parsons
9994462ccb
Merge changes I5c7f1fc1,I6015581c into main am: 0b5a877f21
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2774749
Change-Id: I15bb29036ebefe0093f3fdcc6f5ec7094f48f1d6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-05 18:47:59 +00:00
Christopher Parsons
7c738120f9
Merge "Small readability refactor for bp2buildDepsMutator." into main am: d9cc9ec2ea
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2774747
Change-Id: Ie321473307fb048ece13876ff5987884667a0f5d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-05 18:47:40 +00:00
Christopher Parsons
0b5a877f21
Merge changes I5c7f1fc1,I6015581c into main
...
* changes:
Fix comment for Bp2buildDepsMutator config.
Use parameter name hint for BazelLabelModuleDepsWithFn's markAsDeps.
2023-10-05 18:11:28 +00:00
Christopher Parsons
d9cc9ec2ea
Merge "Small readability refactor for bp2buildDepsMutator." into main
2023-10-05 18:10:26 +00:00
Chris Parsons
44215bc31d
Skip certain problematic deps
...
These are hacks to unblock allowlist v2. See attached bugs.
Bug: 303307672
Bug: 303310285
Test: Manually tested to unblock `m nothing` with allowlist v2 on AOSP
Change-Id: I076a96134118106b44e105db98617ffb9f33bca5
2023-10-05 17:54:34 +00:00
Chris Parsons
d078337796
Test changes to prepare for allowlist v2
...
This implements a number of in-place unit test changes to prepare for
some fundamental changes to bp2build ("allowlist v2"). This will change
bp2build so that rdeps of unconverted or missing modules will not be
converted by bp2build.
Bug: 301312260
Test: Unit tests
Test: Unit tests, with a local copy of allowlist v2 on
Change-Id: I8c8c0a24ba173e213fffcb0f8d7e99845705f4a7
2023-10-05 17:51:44 +00:00
Mark Dacek
b2441c52a4
Revert "Revert "Modify symlink_forest to rerun when soong_build has changed.""
...
This reverts commit aa5cc2cd6a
.
Reason for revert: Fixed the bug in the original draft.
There was an error in how we compared the file's MTime to the
file's contents.
Bug: 300288299
Test: presubmits
Test: build/soong/tests/run_integration_tests.sh
Change-Id: I9e53432c0842c0b9fc13fe20d30ce9af37640c7f
2023-10-05 17:11:50 +00:00
Alyssa Ketpreechasawat
238d1be1da
Revert "Added new framework-pdf jar inside MediaProvider module"
...
Revert submission 2759049-framework-pdf
Reason for revert: it blocks us from enabling prebuilts in next target in main (go/stale-mainline-prebuilts for more info)
Reverted changes: /q/submissionid:2759049-framework-pdf
Change-Id: I7e6d002643d0a3c08cc868d827c60a6ed7e8712d
2023-10-05 16:09:32 +00:00
Trevor Radcliffe
e66b6c5bc3
Merge "Implement bp2build for Sysprop Java" into main am: e3e930d260
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2769439
Change-Id: I9d5ca5c4c0ec40b0e56183d517af326420b3224e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-05 16:09:18 +00:00
Trevor Radcliffe
e3e930d260
Merge "Implement bp2build for Sysprop Java" into main
2023-10-05 15:59:53 +00:00
Elliott Hughes
6014bf35bc
Merge "riscv64: assume fast unaligned access." into main am: 3fb5c15adf
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2734373
Change-Id: I05345473ece976678692608c5cac4b22412e5424
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-05 15:51:58 +00:00
Elliott Hughes
3fb5c15adf
Merge "riscv64: assume fast unaligned access." into main
2023-10-05 15:03:02 +00:00
Jingwen Chen
a2a847ff0f
Merge "Delete some api_bp2build dead code." into main am: 26d852a320
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2774750
Change-Id: I8bf4e7a1f85f3396e7ea0daa33261f02bebf742f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-05 14:51:07 +00:00
Jingwen Chen
26d852a320
Merge "Delete some api_bp2build dead code." into main
2023-10-05 14:39:33 +00:00
Alix Espino
5511afdcaa
Merge "use message in android.AssertStringMatches()" into main am: b7a6720611
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2773304
Change-Id: I2536c55cdebb288526c1153ab97e46a47e676dc2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-05 14:19:29 +00:00
Kousik Kumar
422bad6f88
Merge "Update symlinks in output directory when TOP dir changes" into main am: a902250962
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2757787
Change-Id: I03f17df8a34f58a93d96141fbab5b521b2ff303b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-05 14:19:08 +00:00
Alix Espino
b7a6720611
Merge "use message in android.AssertStringMatches()" into main
2023-10-05 13:56:02 +00:00
Kousik Kumar
a902250962
Merge "Update symlinks in output directory when TOP dir changes" into main
2023-10-05 13:29:20 +00:00
Kousik Kumar
7983cc2876
Use make_mock_top function
...
Followup cleanup CL to address the comments from https://android-review.git.corp.google.com/c/platform/build/soong/+/2757787
Bug: b/300498226
Change-Id: If07e1fb21e97bd4b7550d29eaf7736b5894d797f
2023-10-05 13:06:09 +00:00
Jingwen Chen
863e33471a
Delete some api_bp2build dead code.
...
Follow up of https://android-review.googlesource.com/2630914
Bug: 284029211
Test: presubmits
Change-Id: Idc0ff2f20e54b81cfdf61472a72e9cb027f60554
2023-10-05 10:23:58 +00:00
Jingwen Chen
8c49fc7cac
Fix comment for Bp2buildDepsMutator config.
...
Test: presubmit
Change-Id: I5c7f1fc188eb37d3a457f9d4e2365d89ce2190e9
2023-10-05 10:07:52 +00:00
Jingwen Chen
3e582b8175
Use parameter name hint for BazelLabelModuleDepsWithFn's markAsDeps.
...
Test: presubmits
Change-Id: I6015581c27ad8b9b5b81d0ed01ba219699b9630b
2023-10-05 10:03:06 +00:00
Jingwen Chen
464e6a083f
Small readability refactor for bp2buildDepsMutator.
...
Test: presubmits
Change-Id: I59bc943cf8c3419bf16a7053d967d464f9f40f21
2023-10-05 09:59:43 +00:00