Commit graph

97847 commits

Author SHA1 Message Date
Treehugger Robot
e8d3b0147c Merge "Use generated pvmfw_embedded_key_pub_bin" into main am: 6d52c945d5
Original change: https://android-review.googlesource.com/c/platform/build/+/3101342

Change-Id: I16fc8a2f2d00544ef28a75dc30f483682a677f40
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-31 09:18:41 +00:00
Treehugger Robot
6d52c945d5 Merge "Use generated pvmfw_embedded_key_pub_bin" into main 2024-05-31 09:09:31 +00:00
Yihan Dong
c28c06c89a Merge "Collect xTS jar/apk packages from soong intermediate dirs" into main am: 69fe181b1d
Original change: https://android-review.googlesource.com/c/platform/build/+/3105340

Change-Id: I5ea7ea5dde42a0f99b828bb92c95616dd75ae803
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-31 08:55:48 +00:00
Yihan Dong
69fe181b1d Merge "Collect xTS jar/apk packages from soong intermediate dirs" into main 2024-05-31 08:46:25 +00:00
Nate Myren
c39dc6a8d7 Merge "Set appcompat system properties flag if userdebug/eng" into main am: 7de8a01cc1
Original change: https://android-review.googlesource.com/c/platform/build/+/3107744

Change-Id: Iffb914e72be4c1c69bd59f5b2caec5aad28e55f3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-31 01:38:56 +00:00
Nate Myren
7de8a01cc1 Merge "Set appcompat system properties flag if userdebug/eng" into main 2024-05-31 01:31:38 +00:00
Treehugger Robot
64308c7604 Merge "Deliver inheritance_graph-$(TARGET_PRODUCT).dot" into main am: 3cb645bef1
Original change: https://android-review.googlesource.com/c/platform/build/+/3106444

Change-Id: I59088fabe26d72aeb84b60716cc9642a30d4bddf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-31 00:43:15 +00:00
Treehugger Robot
3cb645bef1 Merge "Deliver inheritance_graph-$(TARGET_PRODUCT).dot" into main 2024-05-31 00:38:07 +00:00
Dennis Shen
845de05ab4 Merge "aconfig: create first implementation of aconfig storage java read api" into main am: ca6602821b
Original change: https://android-review.googlesource.com/c/platform/build/+/3106837

Change-Id: I9c8280841afb2153c7e716ceea4947026744129a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-30 22:36:10 +00:00
Dennis Shen
ca6602821b Merge "aconfig: create first implementation of aconfig storage java read api" into main 2024-05-30 22:09:44 +00:00
Nate Myren
eb2648eacc Set appcompat system properties flag if userdebug/eng
Bug: 331307495
Test: m
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c7d08b74321a355c5a5daefdb899d1ac63b861fa)
Merged-In: I7d3080487b60536f5948ab1482a3fd4aee8371d4
Change-Id: I7d3080487b60536f5948ab1482a3fd4aee8371d4
2024-05-30 19:03:56 +00:00
Dennis Shen
e5dd91bca7 aconfig: create first implementation of aconfig storage java read api
1, See AconfigStorageReadAPI.java to see java APIs to map storage files
and read flag values. It is using fast native annotation, in theory it
should be faster than regular JNI without much of the overhead.

2, The java api calls into Rust wrapper in srcs/lib.rs, note that
MappedByteBuffer is not copied during JNI. In the rust side
implementation we get the underlying raw pointer and buffer size and
reconstruct a rust slice. However, at current implmentation, the string
input such as package name and flag name are most likely copied. They
are converted from JStirng to JavaStr first without copy, then the
into() call to convert it to Rust string. We could potentially optimize
it to without copy.

3, Add an android_test target to lock down the API behaviors.

Bug: b/321077378
Test: atest -c
Change-Id: I8915fe70e8eb341be563c70f85e19e644e8aa6be
2024-05-30 00:32:42 +00:00
LaMont Jones
52f63ed170 Deliver inheritance_graph-$(TARGET_PRODUCT).dot
Bug: 328495189
Test: manual, TH
Change-Id: I9cf6a7e2eed173add02bfb8ccb10a3bf31e7812c
2024-05-29 14:59:28 -07:00
Yihan Dong
f55cd66417 Collect xTS jar/apk packages from soong intermediate dirs
These data will be used in API map analysis.

Test: m
Bug: 328699028

Change-Id: Ie95d8fd46ecb3b2eec4441b91c5ad5297558f3ee
2024-05-29 17:52:21 +08:00
Treehugger Robot
59761b9ce6 Merge "Add a release config map override for go devices" into main am: 8a402d7e30
Original change: https://android-review.googlesource.com/c/platform/build/+/3107061

Change-Id: Ic7c990088c1706fd7eef4535510e15c14f8ad1e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-28 23:13:19 +00:00
Treehugger Robot
8a402d7e30 Merge "Add a release config map override for go devices" into main 2024-05-28 22:53:34 +00:00
Treehugger Robot
652e8c890f Merge "Fix syntax error in Makefile" into main am: d4f1d2e6e8
Original change: https://android-review.googlesource.com/c/platform/build/+/3098978

Change-Id: I5434c715719309f792300b2586baf88c2fb9127f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-28 21:48:15 +00:00
Treehugger Robot
d4f1d2e6e8 Merge "Fix syntax error in Makefile" into main 2024-05-28 21:27:38 +00:00
Spandan Das
fa22579c4d Add a release config map override for go devices
This is a followup to https://r.android.com/3069967 and moves the
override map to v/google_shared/build/release. This allows sharing of
build flags between internal and partner builds.

Bug: 342265627
Test: presubmits
Test: verified that this map shows up in `get_build_var
PRODUCT_RELEASE_CONFIG_MAPS` of a go device

Change-Id: I1cb874a27cd3029a47a4634598420fb5b218ce7d
2024-05-28 21:12:10 +00:00
Cole Faust
19dae885ab Merge "Add instructions to generate java keystore" into main am: 31e9d3d1b2
Original change: https://android-review.googlesource.com/c/platform/build/+/3104279

Change-Id: I4d8f3b5ffb70c6eb707717884f9ebf440924ba61
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-28 20:41:11 +00:00
Cole Faust
31e9d3d1b2 Merge "Add instructions to generate java keystore" into main 2024-05-28 20:28:46 +00:00
Alice Wang
e73a902801 Merge "Allow AVF remote attestation to be disabled" into main am: 9347e36e33
Original change: https://android-review.googlesource.com/c/platform/build/+/3092139

Change-Id: I1ce6dfb7f4fe21f0e6b0e84d0ea7e1a3dee1e461
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-27 08:57:16 +00:00
Alice Wang
9347e36e33 Merge "Allow AVF remote attestation to be disabled" into main 2024-05-27 08:38:37 +00:00
Daniel Zhang
b46b840e18 Add instructions to generate java keystore
copied from commit message packages/inputmethods/LatinIME c884b6631f5d13637167f6bc66bbb81e6a00bd8f

Change-Id: Ie3d48041004930ca5e62c442778eb915fb99d257
Signed-off-by: Daniel Zhang <danielzhang130@gmail.com>
Test: none
2024-05-27 01:30:15 +00:00
Kiyoung Kim
bbb9d437b1 Merge "Do not pass VndkUseCoreVariant into Soong" into main am: 62d2ff000e
Original change: https://android-review.googlesource.com/c/platform/build/+/3102697

Change-Id: I6946af113dbfe7ffff5f3be833dd236bd410936e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-27 01:11:55 +00:00
Kiyoung Kim
62d2ff000e Merge "Do not pass VndkUseCoreVariant into Soong" into main 2024-05-27 00:59:37 +00:00
Joe Onorato
8b8b002ad0 Merge changes from topics "envsetup_cleanup_2", "fix_get_build_var", "module_info_functions" into main am: 0f4e684dcf
Original change: https://android-review.googlesource.com/c/platform/build/+/3103323

Change-Id: Ib1dda05ad3d05309ebd1ccb6c3505b0991bcced3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-25 17:34:36 +00:00
Joe Onorato
2d85231cb6 Make get_build_var and get_abs_build_var into scripts. am: 0e68f70ab7
Original change: https://android-review.googlesource.com/c/platform/build/+/3103322

Change-Id: I3db7dfe91c1922a0c13cc0a25f9f06a5db0f4372
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-25 17:34:32 +00:00
Joe Onorato
1c1f18c9cf More moving shell functions in envsetup.sh to standalone scripts. am: 3acb308f98
Original change: https://android-review.googlesource.com/c/platform/build/+/3103321

Change-Id: Ib366837c4912edf61f13adfdda0c84667048d404
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-25 17:34:30 +00:00
Joe Onorato
e5a3740024 Remove apparently unused 'pez' function from envsetup.sh am: ff277c5412
Original change: https://android-review.googlesource.com/c/platform/build/+/3103320

Change-Id: Ie52872572e0c4efa088225f42b69ea556ddaeaaf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-25 17:34:25 +00:00
Joe Onorato
cb9fa217ee build/make side of move the module-info.json commands into standalone scripts. am: 6b543839b1
Original change: https://android-review.googlesource.com/c/platform/build/+/3103319

Change-Id: If9c7ca161f7040fcc1fdea8f5124aa67f0ade7ef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-25 17:34:22 +00:00
Joe Onorato
5875b3f025 Remove the "provision" shell function from envsetup.sh am: d4e29a4b63
Original change: https://android-review.googlesource.com/c/platform/build/+/3103318

Change-Id: Ia1c86dff8bc457a436770f9745f8d695363fc70d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-25 17:34:16 +00:00
Joe Onorato
0f4e684dcf Merge changes from topics "envsetup_cleanup_2", "fix_get_build_var", "module_info_functions" into main
* changes:
  Delete envsetup.sh functions that haven't worked for a long time.
  Make get_build_var and get_abs_build_var into scripts.
  More moving shell functions in envsetup.sh to standalone scripts.
  Remove apparently unused 'pez' function from envsetup.sh
  build/make side of move the module-info.json commands into standalone scripts.
  Remove the "provision" shell function from envsetup.sh
2024-05-25 17:17:01 +00:00
Joe Onorato
0e68f70ab7 Make get_build_var and get_abs_build_var into scripts.
Inside envsetup.sh there's an optimization to batch their calls. That's
now done by _get_build_var_cached and _get_abs_build_var_cached.

Bug: 340648588
Test: lunch
Change-Id: I63e39c7dc7705b0e6e7052cb8d9f9840ae398e6b
2024-05-24 14:37:51 -07:00
Joe Onorato
3acb308f98 More moving shell functions in envsetup.sh to standalone scripts.
Bug: 340648588
Test: run the scripts
Change-Id: I2b7ca19946b3669a9aef101b504cf4cfcbed1da3
2024-05-24 14:37:51 -07:00
Joe Onorato
ff277c5412 Remove apparently unused 'pez' function from envsetup.sh
Bug: 340648588
Test: treehugger, code search
Change-Id: I0a433b36c21a0bda4635463ab70f88d7ae40878c
2024-05-24 14:37:51 -07:00
Joe Onorato
6b543839b1 build/make side of move the module-info.json commands into standalone scripts.
Bug: 340648588
Test: run them
Change-Id: I5c072ee8481630327be9dccbbca501293a7b34cd
2024-05-24 14:37:51 -07:00
Joe Onorato
d4e29a4b63 Remove the "provision" shell function from envsetup.sh
It's been a long time since anything in the tree generated the
$ANDROID_PRODUCT_OUT/provision-device script needed for it to work.

Bug: 340648588
Test: treehugger
Change-Id: I5f34fb7b9ed9f6c06d422ddeb55a5ef9aa367538
2024-05-24 14:37:51 -07:00
Joe Onorato
1487ee1dba Delete envsetup.sh functions that haven't worked for a long time.
- Bugreports don't go to /sdcard/bureports, and adb bugreport has
  a much better UI now.
- I don't hink smoketest hasn't worked since the original Android
  git contribution, based on the path names in this function.

Bug: 340648588
Test: treehugger
Change-Id: Ie450f9740aa3fe7af50d64c2d9d7da56d6d3e39a
2024-05-24 14:37:51 -07:00
Treehugger Robot
0497847a43 Merge "Deliver all_release_configs.json as a build artifact" into main am: d9fe8f5a27
Original change: https://android-review.googlesource.com/c/platform/build/+/3097723

Change-Id: I9010d16aebc8a60fa2d47c405745ea69bf07219f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-24 21:33:04 +00:00
Treehugger Robot
d9fe8f5a27 Merge "Deliver all_release_configs.json as a build artifact" into main 2024-05-24 21:16:28 +00:00
Xin Li
2389748ddb Merge "Merge Android 24Q2 Release (ab/11526283) to aosp-main-future" into aosp-main-future 2024-05-24 21:16:16 +00:00
LaMont Jones
3b9a93512e Deliver all_release_configs.json as a build artifact
Bug: 328495189
Test: manual
Change-Id: Iebb07c303e6eae51d6c74dd80aa5ac2024b5629e
2024-05-24 13:12:14 -07:00
Treehugger Robot
c2cfb31c74 Merge "Add fs_config support for vendor_boot" into main am: 58ab571b38
Original change: https://android-review.googlesource.com/c/platform/build/+/2653760

Change-Id: If0343d21a7429bbffd385e49384505f00cbad5c6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-24 20:08:39 +00:00
Treehugger Robot
58ab571b38 Merge "Add fs_config support for vendor_boot" into main 2024-05-24 19:31:07 +00:00
Gaurav Sarode
c5d1727048 Merge "Fix Automotive GSI RRO configuration" into main am: bdb6b87837
Original change: https://android-review.googlesource.com/c/platform/build/+/3098638

Change-Id: I67bfd610666a2018b9017fc0963ef10a93c6c7cc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-24 19:16:57 +00:00
Treehugger Robot
38cd6585f6 Merge "Disable zucchini for all OTAs" into main am: 078c1c95c9
Original change: https://android-review.googlesource.com/c/platform/build/+/3101466

Change-Id: Idf9cd4afe688002111b90f00f92310d76fe40a6b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-24 19:16:28 +00:00
Treehugger Robot
699c8802f2 Merge "Update go.mod and go.work for go 1.22" into main am: 6d67f4b600
Original change: https://android-review.googlesource.com/c/platform/build/+/3101492

Change-Id: Idf5207b7b8e8723149dee82483114912b0c99eb2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-24 19:16:01 +00:00
Gaurav Sarode
bdb6b87837 Merge "Fix Automotive GSI RRO configuration" into main 2024-05-24 19:15:13 +00:00
Treehugger Robot
078c1c95c9 Merge "Disable zucchini for all OTAs" into main 2024-05-24 19:03:06 +00:00