Commit graph

9325 commits

Author SHA1 Message Date
Steven Moreland
343a1c90ea Merge "Android builds default to 64-bit." into main am: 48c53d600e am: 066ad556ab
Original change: https://android-review.googlesource.com/c/platform/build/+/3109067

Change-Id: I3357273d9954511175bcd5ae5bfd9257230934b5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-03 18:43:58 +00:00
Steven Moreland
066ad556ab Merge "Android builds default to 64-bit." into main am: 48c53d600e
Original change: https://android-review.googlesource.com/c/platform/build/+/3109067

Change-Id: I69fb3c0342d84e5eac60e03ddce22ab350f23f81
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-03 18:37:07 +00:00
Steven Moreland
48c53d600e Merge "Android builds default to 64-bit." into main 2024-06-03 18:32:26 +00:00
Treehugger Robot
df8589e6b6 Merge "Override map for enabling mainline module prebuilts" into main am: 08445aada2 am: c284f8c8d2
Original change: https://android-review.googlesource.com/c/platform/build/+/3109349

Change-Id: Ie740a8039108aa04051af68188bf323e2ef9a851
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-01 02:33:14 +00:00
Treehugger Robot
c284f8c8d2 Merge "Override map for enabling mainline module prebuilts" into main am: 08445aada2
Original change: https://android-review.googlesource.com/c/platform/build/+/3109349

Change-Id: I738f2e2367db36b4b1cef35dca8aa734288ca3ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-01 02:25:17 +00:00
Spandan Das
c3ff9f4beb Override map for enabling mainline module prebuilts
The release config maps in `v/g_sh/b/r/gms_mainline/required`
to enable mainline prebuilts of mandatory modules by
both internal google products and partner OEMs.

Addition of `v/g_sh/b/r/gms_mainline/optional` is product dependent, and
will have to be added separately

Bug: 342265627
Test: lunch cf_x86_64_phone-ap3a-userdebug
Test: verified that the following vars are same before and after change
Test: get_build_var RELEASE_APEX_CONTRIBUTIONS_ADBD # prebuilt
Test: get_build_var RELEASE_APEX_CONTRIBUTIONS_REMOTEKEYPROVISIONING #
prebuilt
Test: get_build_var RELEASE_APEX_CONTRIBUTIONS_UWB # prebuilt

Test: lunch cf_x86_64_wear-ap3a-userdebug && get_build_var
RELEASE_APEX_CONTRIBUTION_ADBD # empty string

Change-Id: Id7f0f97aa3ea11d4ab5b818349cb7905e3e79b29
2024-06-01 00:05:22 +00:00
Steven Moreland
c89cf9628b Android builds default to 64-bit.
Some people don't specify what they build. This came up on
some host tools target, and there were some interactions.
Anyway, 64-bit is in, 32-bit is out. Cheers.

Bug: N/A
Test: N/A
Change-Id: I69ab62d88011df90874e4ba05ee34b61805911e0
2024-05-31 20:23:16 +00:00
Treehugger Robot
350375ef02 Merge "Add a release config map override for go devices" into main am: 8a402d7e30 am: 59761b9ce6
Original change: https://android-review.googlesource.com/c/platform/build/+/3107061

Change-Id: Ic4c65c60a83d8ade18d9352a0d1d3d83539151ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 22:37:36 +00:00
Cole Faust
e34e931599 Merge "Add instructions to generate java keystore" into main am: 31e9d3d1b2 am: 19dae885ab
Original change: https://android-review.googlesource.com/c/platform/build/+/3104279

Change-Id: I3c6a4a36fa8b0d32ba0b6df8299517c6ecc3029e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 22:15:55 +00: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
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
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
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
Gaurav Sarode
c20424ed15 Merge "Fix Automotive GSI RRO configuration" into main am: bdb6b87837 am: c5d1727048
Original change: https://android-review.googlesource.com/c/platform/build/+/3098638

Change-Id: I952e1761c897f00e1bf380f449917a9a33ff7132
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-24 19:46:31 +00:00
Gaurav Sarode
bdb6b87837 Merge "Fix Automotive GSI RRO configuration" into main 2024-05-24 19:15:13 +00:00
Xin Li
b04e9cc36f Merge Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550
Merged-In: I713a528d437e3446d32461add648e3b52b036d7a
Change-Id: I7fdd415a218d1425f7fc37095d02c674ddfae6eb
2024-05-24 08:30:06 -07:00
Gaurav Sarode
b25c2dfc61 Fix Automotive GSI RRO configuration
Skipping config based RRO for automotive GSI builds

bug: 323238313
Test: local build
Change-Id: Ie2b6c5e10633cbd2c60b98738ee0676a49a7d21e
2024-05-23 22:49:49 +00:00
Vilas Bhat
6fb4c8f827 Merge "ndk: Remove MALLOC_LOW_MEMORY config for the ndk" into main am: 995902c2e5 am: 3fc7f82463
Original change: https://android-review.googlesource.com/c/platform/build/+/3097566

Change-Id: Id1e687fc2d971b839d51061cc5f4f287504129b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-23 19:10:47 +00:00
Vilas Bhat
d98e1a86f3 ndk: Remove MALLOC_LOW_MEMORY config for the ndk
This switches the ndk to using scudo instead of jemalloc.

Bug: 337242400
Test:
Built NDK and tested lldb-server on both 4k and 16k devices
```
$ cd aosp && mkdir ndk_prebuilts
$ export OUT_DIR=ndk_prebuilts
$ ./build/soong/scripts/build-ndk-prebuilts.sh
$ cp -r ~/aosp/ndk_prebuilts/soong/ndk/sysroot/*
~/llvm-project/toolchain/prebuilts/ndk/releases/r27/toolchains/llvm/prebuilt/linux-x86_64/sysroot/
$ cd ../llvm-project
$ python3 toolchain/llvm_android/build.py
$ adb push out/stage2-install/runtimes_ndk_cxx/aarch64/lldb-server /data/local/tmp/
$ adb shell "getconf PAGE_SIZE"
16384
$ adb shell "strace /data/local/tmp/lldb-server"
<output trimmed>
mprotect(<address redacted>, 16384, PROT_READ) = 0
exit_group(0)                           = ?
+++ exited with 0 +++
```
Change-Id: I982595278d70cb39b9f6c7c8e9b95f12723fc5bf
2024-05-23 18:43:57 +00:00
Treehugger Robot
d049f5bb7d Merge "Remove no-op config." into main am: cfceeceb3a am: d589c0bd29
Original change: https://android-review.googlesource.com/c/platform/build/+/3097721

Change-Id: Id8b7f0734f2067133250688095f09383e3557f67
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-22 22:32:29 +00:00
Dan Albert
e35bb7c9b3 Remove no-op config.
This was copied over from when Soong required us to define it in the
properties file, but this is the default and we also don't care.

Bug: None
Test: None
Change-Id: I35311093c83fddcb7c413535fbb50a126b615036
2024-05-22 20:49:53 +00:00
Treehugger Robot
87bcb41080 Merge "16k: build: Enable PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO on the ndk target" into main am: 5b0dfe41b8 am: 4fddfbc8d8
Original change: https://android-review.googlesource.com/c/platform/build/+/3092184

Change-Id: I1f20f6fcc174461048dd06ff0e3ad071f66b21e0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-21 19:30:08 +00:00
Treehugger Robot
5b0dfe41b8 Merge "16k: build: Enable PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO on the ndk target" into main 2024-05-21 18:26:27 +00:00
Vilas Bhat
2c51ebf669 16k: build: Enable PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO on the ndk target
Test: Presubmit and manual testing
Bug: 337242400
Change-Id: I89f91566ebe7dcaf8056859549d5769d2f5e936e
2024-05-21 16:33:04 +00:00
Jiyong Park
1453f149bf Merge "Revert^2 "Remove libmdnssd"" into main am: a65a617855 am: dc8309d8fd
Original change: https://android-review.googlesource.com/c/platform/build/+/3093319

Change-Id: Ifeda98e38ea1aa05f14fc0377d0a5158c1c9cef6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-17 12:41:42 +00:00
Jiyong Park
a65a617855 Merge "Revert^2 "Remove libmdnssd"" into main 2024-05-17 12:11:25 +00:00
Jiyong Park
502ba31ea2 Revert^2 "Remove libmdnssd"
This reverts commit 7a31b44227.

Reason for revert: relanding

Change-Id: I3a5758c83ce979f591042488f58fb2bacdf9aa23
2024-05-16 22:38:56 +00:00
Treehugger Robot
d8083a44f2 Merge "Revert "Move all GKI targets away from non-AB"" into main am: d3d7e46a98 am: 130d2b2ea6
Original change: https://android-review.googlesource.com/c/platform/build/+/3092804

Change-Id: I3bc7e07a6765ebc663ba2b5e644f8cc4cf702ecd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-16 22:22:18 +00:00
Treehugger Robot
d3d7e46a98 Merge "Revert "Move all GKI targets away from non-AB"" into main 2024-05-16 21:47:55 +00:00
Kelvin Zhang
2a3faafdbf Revert "Move all GKI targets away from non-AB"
This reverts commit d17ef4a30b.

Reason for revert: build breakage on sdk_goog3_x86_64-trunk_staging-userdebug

Change-Id: I884df8b07afbbcdc1e07930163108f0baa503014
2024-05-16 20:45:39 +00:00
Liana Kazanova
fabdfbda80 Merge "Revert "Remove libmdnssd"" into main am: bc78428d42 am: 44a6bba3ae
Original change: https://android-review.googlesource.com/c/platform/build/+/3092801

Change-Id: I8e7c9e696d74cc62dac6ea832b14e2d783c2de22
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-16 20:24:20 +00:00
Treehugger Robot
d53ecb98f9 Merge "Move all GKI targets away from non-AB" into main am: e2c0992ad2 am: 5afbb874ae
Original change: https://android-review.googlesource.com/c/platform/build/+/3092539

Change-Id: I477585e25446e682076837280f23726909101c16
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-16 20:24:03 +00:00
Daniel Zheng
99c5a182c0 Merge changes Ibbed6cf9,I31b36b42 into main am: 7a61f499be am: 8e97607666
Original change: https://android-review.googlesource.com/c/platform/build/+/3089653

Change-Id: Ic9762bce7446383dfacd3fc3ba4a6e60f6adfa11
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-16 20:23:48 +00:00
Liana Kazanova
bc78428d42 Merge "Revert "Remove libmdnssd"" into main 2024-05-16 19:57:25 +00:00
Priyanka Advani
7a31b44227 Revert "Remove libmdnssd"
This reverts commit 1cbd8211e7.

Reason for revert: Droidmonitor triggered revert due to breakage in b/341118115

Change-Id: I0fed4225bd1d4d8888334fdc2a9fac353b748edd
2024-05-16 19:55:11 +00:00
Treehugger Robot
e2c0992ad2 Merge "Move all GKI targets away from non-AB" into main 2024-05-16 19:53:15 +00:00
Daniel Zheng
7a61f499be Merge changes Ibbed6cf9,I31b36b42 into main
* changes:
  ota_from_target_files: allow cow version override
  Add build configs for wearable tunables
2024-05-16 19:34:11 +00:00
Treehugger Robot
740206c003 Merge "Remove libmdnssd" into main am: 66236c471c am: d9cd64714a
Original change: https://android-review.googlesource.com/c/platform/build/+/3079300

Change-Id: I4df798fb9f2e3d8605ba69afdc0a59e9fdc656de
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-16 19:04:36 +00:00
Treehugger Robot
66236c471c Merge "Remove libmdnssd" into main 2024-05-16 18:19:54 +00:00
Kelvin Zhang
d17ef4a30b Move all GKI targets away from non-AB
Test: th
Bug: 324360816
Change-Id: Iea1808548dbee972b5b1c3e252e4b7e2e47db54c
2024-05-16 10:11:59 -07:00
Treehugger Robot
b4fc9c6a52 Merge "Add vintf for EDI collectors" into main am: 538f6044af am: caedc4c797
Original change: https://android-review.googlesource.com/c/platform/build/+/3081051

Change-Id: I9ad723fbc6c03fc158b2500319932c8319ad758a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-16 03:15:22 +00:00
Daniel Zheng
427fea8b49 Add build configs for wearable tunables
Low memory devices place special emphasis on memory constraints and cpu
utilization. We want to expose a set of build configurations that allow
these devices to fine tune resource usage during OTA installation.

Our strategy will be the following.
1. For any tunable needed in first stage init, read the .ro prop during
   ota installation, propogate the configuration to SnapshotUpdateStatus
   proto, then read the property from /metadata upon first reboot (since
   .ro properties are not available here)
   2. For tunables which aren't needed until second stage init, read the
   .ro prop directly.

This first CL will just add the build configurations to the build
system. Subsequent CL's will forward the configs to protobufs and
snapuserd daemon

Bug: 332255580
Test: th
Change-Id: I31b36b42f8fba997c772fe1a4ba99b17128b3eca
2024-05-15 16:00:15 -07:00
Jiyong Park
1cbd8211e7 Remove libmdnssd
The lib is a part of the adbd apex and isn't used from outside of the
apex. Remove the lib from /system/lib[64].

Bug: N/A
Test: watch TH
Change-Id: I2c95fa72befa5a660a4f97d9f26459066b40c1e2
2024-05-13 18:24:29 +09:00
Jooyung Han
925f41a9f3 Add vintf for EDI collectors
EDI collectors like VintfDeviceInfo and VendorApexDeviceInfo need to
access to VINTF information. Instead of directly accessing related
files, we expose processed VINTF via /system/bin/vintf.

Bug: 336577802
Test: /system/bin/vintf
Change-Id: Id2b2e9b905bcb168638c60c2dc92ca550ed1558f
2024-05-10 16:07:43 +09:00
Treehugger Robot
452f614749 Merge "Update BRANCH_DEFAULT_MODULE_BUILD_FROM_SOURCE documentation" into main am: 5b99bc00a0 am: e0b7bb7ebb
Original change: https://android-review.googlesource.com/c/platform/build/+/3077369

Change-Id: I536799206b4c97c6676da450bec5ad8513629013
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-08 00:36:47 +00:00
Spandan Das
e4a3e9ee5a Update BRANCH_DEFAULT_MODULE_BUILD_FROM_SOURCE documentation
With trunk stable, we no longer have multiple development branches, and
this flag is no longer in use.

Test: N/A (documentation change)
Bug: 308188056
Change-Id: Icdaddde9d107de9a453106cae35645b7e6cc21e9
2024-05-07 22:56:45 +00:00
Steven Moreland
9fa12133ea Merge "16k: Enable 16k ELF alignment on all mainline modules" into main am: 43b6834425 am: b3e3c3d26c
Original change: https://android-review.googlesource.com/c/platform/build/+/3075963

Change-Id: I80cfe17e956212ddc32de318e39a632cba91b1a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-07 21:53:32 +00:00
Steven Moreland
43b6834425 Merge "16k: Enable 16k ELF alignment on all mainline modules" into main 2024-05-07 21:17:27 +00:00