Commit graph

9171 commits

Author SHA1 Message Date
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
43b6834425 Merge "16k: Enable 16k ELF alignment on all mainline modules" into main 2024-05-07 21:17:27 +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
b9ffad8376 Merge "Enable perfetto persistent tracing" into main 2024-05-02 19:29:08 +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
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
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
Anna Bauza
65d5e13e11 Adding avatar picker to install on all platform phones and tablets
Bug: b/306336441
Test: manual
Merged-In: Idb550019b13d47e7f0dc389030d508db7d1057f3
Change-Id: Idb550019b13d47e7f0dc389030d508db7d1057f3
2024-04-22 13:20:09 +00:00
Treehugger Robot
f8e79f113b Merge "Remove android.hardware.wifi from generic_system.mk" into main 2024-04-19 06:40:57 +00:00
Jihoon Kang
9328219ae3 Merge "Remove non existent snapuserd.recovery package" into main 2024-04-19 06:33:36 +00:00
Jihoon Kang
93e9197a66 Merge "Remove WallpaperPicker from aosp_product.mk" into main 2024-04-19 05:15:45 +00:00
Inseob Kim
77d1b94b9f Merge "Build etc/hosts with Soong" into main 2024-04-19 01:29:38 +00:00
Daniel Zheng
b24b46d43f Merge "add build property for compression_factor" into main 2024-04-18 20:59:40 +00:00
Daniel Zheng
270130a025 add build property for compression_factor
Compression factor, as discussed, should be a configurable build
property. This flag here will control that. From initial analysis, it
looks like 64k is a good default. go/variable-block-vabc-perf

Bug: 313962438
Test: th
Change-Id: I2bddede22655e36446e734ac1917be560b1a3a1b
2024-04-18 11:22:26 -07:00
Daniel Zheng
78986f598f Merge "Revert^2 "Turn on V3 cow"" into main 2024-04-18 16:54:15 +00:00
Inseob Kim
112961652b Build etc/hosts with Soong
Bug: 335369205
Test: build
Change-Id: I4c56b343cd6624ba3d6bdfb5f70e9c9520dcfe2f
2024-04-18 10:45:23 +09:00
Inseob Kim
45c6fd0c17 Merge "Build dirty-image-objects in Soong" into main 2024-04-18 01:43:00 +00:00
Vilas Bhat
185a3fc892 Merge "16k: build: Enable TARGET_NO_BIONIC_PAGE_SIZE_MACRO by default on Android V targets" into main 2024-04-17 20:27:37 +00:00
Inseob Kim
c3531ebb4b Build dirty-image-objects in Soong
Also dirty-image-objects-phone is removed as it's really never been
used.

Bug: 335369205
Test: build
Change-Id: Ib3eab3dc4c30aaa99b90310903bcc8a86a0f3480
2024-04-17 16:26:04 +09:00
Hsin-Yi Chen
c851627d33 Fix check-abi-dump-list
- Fix the timestamp variable name.
- Convert the intermediate file name extensions to those in the
  prebuilt directory.
- Disable check-abi-dump-list for sanitizer and coverage builds.
- Add an exception for libRS, RISC-V.

Test: m check-abi-dump-list
Bug: 333532038
Change-Id: I35b644feed1bef1e6c74731e8f69074bdc5b0352
2024-04-17 13:05:02 +08:00
Hsin-Yi Chen
f46bc5add9 Define a make target for all APEX dumps
The SDK finalization process will create APEX ABI dumps from this
target.

Test: make findlsdumps_APEX
Bug: 333532038
Change-Id: Iaec03bd39923678141b12436e5a6b8576e63a999
2024-04-17 13:04:50 +08:00
Daniel Zheng
4023fdfc04 Revert^2 "Turn on V3 cow"
This reverts commit fa5bfb9d79.

Reason for revert: we were running into OTA failures b/333966507. The reason was that OTA compatibility tools on go/absign weren't updated with our v3 compatibility tools (which turns of v3 full OTA for devices launching prior to Android 15). Once we know that go/absign is updated, we can check in this change again

Change-Id: I789c24b57754d6ede794d7f9451ee0ca469c2fb4
2024-04-16 15:46:11 +00:00
Mina Granic
65e34c1138 Merge "Revert "Define a make target for all APEX dumps"" into main 2024-04-16 10:24:27 +00:00
Hsin-Yi Chen
1a9023376c Revert "Define a make target for all APEX dumps"
This reverts commit ea9f51d6f5.

Reason for revert: aosp_cf_arm64_only_phone_hwasan-trunk_staging-userdebug fails

Fixes: 335131824
Bug: 333532038
Change-Id: I4d4bd31ebd8af18bcc44eb9ee45c167cbde026b0
2024-04-16 10:23:18 +00:00
Hsin-Yi Chen
eb74e25ccb Merge "Define a make target for all APEX dumps" into main 2024-04-16 08:51:18 +00:00
Hsin-Yi Chen
ea9f51d6f5 Define a make target for all APEX dumps
The SDK finalization process will create APEX ABI dumps from this
target.

Test: make findlsdumps_APEX check-abi-dump-list
Bug: 333532038
Change-Id: I68d83616ef58aac2618e405a87b1909167b08d43
2024-04-16 15:23:40 +08:00
Inseob Kim
f2b6a44b06 Merge "Revert "Disable build-time debugfs restrictions on GSI builds"" into main 2024-04-16 03:53:37 +00:00
Vilas Bhat
f44951d3af 16k: build: Enable TARGET_NO_BIONIC_PAGE_SIZE_MACRO by default on Android V targets
This relands commit 35839ec1a3 and also
includes `PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO` override for several
targets. The latter is required in order to fix failing tests due to
mismatch in the `VSR_VENDOR_API_LEVEL` value between test and device
targets.

Bug: 333124272
Bug: 310232825
Change-Id: I12db4b78b02aa4a58c7355852dc2ff5ae395592c
2024-04-15 21:45:08 +00:00
Inseob Kim
7c30e914e0 Revert "Disable build-time debugfs restrictions on GSI builds"
This reverts commit 2a2a97afba.

Reason for revert: use compat cil instead

Bug: 330671086
Test: build
Change-Id: I3f34156e228a3a52d4e05882dbb3c62320bb61a6
2024-04-15 15:32:35 +09:00
Treehugger Robot
15783cdcff Merge "Revert "16k: Enable PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO on aosp_x86_64"" into main 2024-04-15 05:39:12 +00:00
Treehugger Robot
4f9f7219b7 Merge "Revert "16k: Enable PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO on aosp_arm64"" into main 2024-04-15 05:39:12 +00:00
Daniel Zheng
28ca2fc0a0 Merge "Revert "Turn on V3 cow"" into main 2024-04-13 06:50:00 +00:00
Daniel Zheng
fa5bfb9d79 Revert "Turn on V3 cow"
Revert submission 2973761-cow_v3_make

Reason for revert: b/333966507

Reverted changes: /q/submissionid:2973761-cow_v3_make

Change-Id: I4f8c19a1d78b9af882e7df51fb2fc0172c0282c3
2024-04-12 22:24:42 +00:00
Vilas Bhat
25aa14531f Revert "16k: Enable PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO on aosp_x86_64"
This reverts commit 1c4c94d784.

Reason for revert: CI breakages for 2 targets. Please refer to bug for more details

Bug: 334152807
Change-Id: I76853ccfd8a41f99670a7b7513f358f076f9b271
2024-04-12 22:15:59 +00:00
Vilas Bhat
e0d18ffe70 Revert "16k: Enable PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO on aosp_arm64"
This reverts commit 39dcf40403.

Reason for revert: CI breakages for 2 targets. Please refer to bug for more details

Bug: 334152807
Change-Id: Ic2fc942b1769aed03553fc305ac283666eb9e3f5
2024-04-12 22:14:42 +00:00
Vilas Bhat
39dcf40403 16k: Enable PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO on aosp_arm64
`PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO` overrides
`TARGET_NO_BIONIC_PAGE_SIZE_MACRO` value in the build system. Enabling
TARGET_NO_BIONIC_PAGE_SIZE_MACRO implies those targets no longer rely
on the `PAGE_SIZE` bionic macro. Page size would be queried at runtime
using getpagesize() / sysconf(_SC_PAGE_SIZE).

Bug: 310232825
Test: lunch <target> && get_build_var TARGET_NO_BIONIC_PAGE_SIZE_MACRO
Change-Id: I37133cb2419566e9616a2cde640372352178980f
2024-04-12 17:50:39 +00:00
Vilas Bhat
54b92dfe9d Merge "16k: Enable PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO on aosp_x86_64" into main 2024-04-12 17:16:35 +00:00
Vilas Bhat
1c4c94d784 16k: Enable PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO on aosp_x86_64
`PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO` overrides
`TARGET_NO_BIONIC_PAGE_SIZE_MACRO` value in the build system. Enabling
TARGET_NO_BIONIC_PAGE_SIZE_MACRO implies those targets no longer rely
on the `PAGE_SIZE` bionic macro. Page size would be queried at runtime
using getpagesize() / sysconf(_SC_PAGE_SIZE).

Bug: 310232825
Bug: 333124272
Test: lunch <target> && get_build_var TARGET_NO_BIONIC_PAGE_SIZE_MACRO
Change-Id: I1786c735eb2ba2ede70e1432f1854694c5831a01
2024-04-12 00:28:48 +00:00
Kiyoung Kim
665827ea7b Merge "Remove BOARD_VNDK_VERSION usage from Kati" into main 2024-04-09 07:31:00 +00:00
Kiyoung Kim
66481ae8e1 Remove BOARD_VNDK_VERSION usage from Kati
As of VNDK deprecation, BOARD_VNDK_VERSION should not be referenced
anymore. This change removes BOARD_VNDK_VERSION references and related
logics from Kati, so VNDK deprecation can be fully set without flag.

Bug: 330100430
Test: AOSP CF build succeeded
Change-Id: I9ea5f1236268b99eb731ebf48afd9e595d06ab1a
2024-04-09 14:47:29 +09:00
Daniel Zheng
5f4028b318 Merge "Revert^2 "Turn on V3 cow"" into main 2024-04-08 19:42:29 +00:00
Daniel Zheng
a69a26c5b3 Revert^2 "Turn on V3 cow"
e59e31cb9d

Change-Id: Ia31a34856c89348c5efb7f9ff5498e1b0ff45134
2024-04-08 17:39:50 +00:00
Amir Voskoboynik
0930977b55 Revert "libmdnssd is only used by adbd."
This reverts commit 1ecbeae2dd.

Reason for revert: Prime candidate as culprit for build breakage
build_id/11678886
 
Bug: 333111739

Change-Id: I24ee63b7cfe738e505e691b2d111c4a816513657
2024-04-08 05:19:04 +00:00