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
Justin Yun
0949453dd2
Build build_flags.json in soong
...
Move the make build rule for build_flags.json to soong.
Bug: 324996303
Test: m --no-skip-soong-tests
Change-Id: I958d5bb78db1d63b6145ac6a498490faa2fea315
2024-05-23 15:08:51 +09: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
Christopher Ferris
6f43cb09c9
Merge "Add MALLOC_LOW_MEMORY as synonym for MALLOC_SVELTE." into main am: 8e46fa38f1
am: c0a91f8053
...
Original change: https://android-review.googlesource.com/c/platform/build/+/3064404
Change-Id: I5d18de5a81027bd07735465e4d9c84689cc82028
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-05-06 20:15:42 +00:00
Christopher Ferris
8e46fa38f1
Merge "Add MALLOC_LOW_MEMORY as synonym for MALLOC_SVELTE." into main
2024-05-06 19:45:06 +00:00
Vilas Bhat
02f0984a65
16k: Enable 16k ELF alignment on all mainline modules
...
Test: banchan <target>
get_build_var TARGET_MAX_PAGE_SIZE_SUPPORTED
Bug: 321754477
Change-Id: Ia356d6edbf2f451b17f1780d11607ceb9a4adff4
2024-05-06 17:34:53 +00:00
Treehugger Robot
e803ed9470
Merge "Enable perfetto persistent tracing" into main am: b9ffad8376
am: 13d7e5ffae
...
Original change: https://android-review.googlesource.com/c/platform/build/+/3067084
Change-Id: I05049f666ce7779b9c712c9d56a41343209bf7f1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-05-02 20:16:10 +00:00
Treehugger Robot
b9ffad8376
Merge "Enable perfetto persistent tracing" into main
2024-05-02 19:29:08 +00:00
Treehugger Robot
82981c1791
Merge "Add a release config map override for go devices" into main am: e78ad285cb
am: 9b261d0362
...
Original change: https://android-review.googlesource.com/c/platform/build/+/3069967
Change-Id: I90d19cb89617a9c4c1ac3cdd16bd9f0737b8bc02
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-05-01 23:44:09 +00:00
Spandan Das
68dce16b3f
Add a release config map override for go devices
...
One use case for this is to select go prebuilt apexes when building go
devices.
Bug: 338002385
Test: presubmits
Test: verified that this map shows up in `get_build_var
PRODUCT_RELEASE_CONFIG_MAPS` of a go device
Change-Id: I5505c581597bbd5a4e5f8fc6cd69987f67f0adb6
2024-05-01 22:04:36 +00:00
Treehugger Robot
77e796a1fc
Merge "Move aosp_x86_64 away from non-AB" into main am: 13f8f70758
am: c252a67443
...
Original change: https://android-review.googlesource.com/c/platform/build/+/3065894
Change-Id: If30250ea57688182d11f9c6e1d812c8e4e22beef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-30 19:15:24 +00:00
Kelvin Zhang
892b51ab7d
Move aosp_x86_64 away from non-AB
...
non-AB is deprecated, move GSI targets to AB updates
Test: th
Bug: 334489639
Change-Id: I96e398c43f594cdc4ac6e20cf9444cb67a80eee3
2024-04-30 09:34:58 -07:00
Kean Mariotti
ee081de947
Enable perfetto persistent tracing
...
Enable go/perfetto-persistent-tracing for eng builds.
Bug: 325622427
Test: adb shell perfetto --query \
and check the tracing session 'sysui_persistent' started
Change-Id: Ic655eea67c96faf4fbc67bb1da3c359d50a73ccc
2024-04-30 14:05:04 +00:00
Inseob Kim
ad77da348c
Merge "Build audio_effects.xml with Soong" into main
2024-04-26 01:08:25 +00:00
Christopher Ferris
9ff5fbb023
Add MALLOC_LOW_MEMORY as synonym for MALLOC_SVELTE.
...
The MALLOC_SVELTE variable name is confusing, so add a new variable
name called MALLOC_LOW_MEMORY. Still support MALLOC_SVELTE.
Also, support the change of Malloc_not_svelte to Malloc_low_memory.
Test: Verified scudo config is used by default.
Test: Verfified Android GO config uses the jemalloc low memory config.
Change-Id: I2606205da746d8ab20e29884c7dcb5a77add51e4
2024-04-25 16:46:35 -07:00
Anna Bauza
27abc3abc3
Merge "Adding avatar picker to install on all platform phones and tablets" into main
2024-04-24 08:03:32 +00:00
Spandan Das
bab66909a7
Merge "Remove conditional for artifact list" into main am: e10c4f22b4
am: dc07d86ba4
...
Original change: https://android-review.googlesource.com/c/platform/build/+/3056482
Change-Id: I81c2f224e5dd16bfacde3051cb4c53b3f04bbf7f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-23 21:36:20 +00:00
Spandan Das
dc07d86ba4
Merge "Remove conditional for artifact list" into main am: e10c4f22b4
...
Original change: https://android-review.googlesource.com/c/platform/build/+/3056482
Change-Id: I6096c1452fe6e32b58b29ab1e6efe97cfb23812b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-23 21:21:45 +00:00
Spandan Das
e10c4f22b4
Merge "Remove conditional for artifact list" into main
2024-04-23 21:05:20 +00:00
Spandan Das
b1654b9b56
Remove conditional for artifact list
...
The expanded list seems to be no longer required when using prebuilts.
Test: downloaded this CL in v-aml-prebuilt-dev
Test: lunch gsi_partner_arm-ap31-userdebug && m # no ninja analysis
error
Change-Id: I818191f36449032aee98879506c1e564fd0bc1b1
2024-04-23 19:56:54 +00:00
Inseob Kim
f6ad0ce1c5
Build audio_effects.xml with Soong
...
Ignore-AOSP-First: need to submit along with internal projects
Bug: 335369205
Test: build
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:284a84b355a49098401b5c97fc233966720c0996 )
Merged-In: Ia87b8dbc610a2c662523923a6a3570fa181204c6
Change-Id: Ia87b8dbc610a2c662523923a6a3570fa181204c6
2024-04-23 02:14:00 +00:00
Inseob Kim
0860136f27
Merge "Build audio_effects.xml with Soong" into aosp-main-future am: d57ac2314c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/27047015
Change-Id: Ifdae9f80c72ee85e06863f3a6f0f7af58bff0abb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-23 01:43:53 +00:00