Commit graph

96734 commits

Author SHA1 Message Date
Stephen Ho
6cc2ee7a6d Merge "Revert "16k: core: Enable TARGET_NO_BIONIC_PAGE_SIZE_MACRO by default on Android V targets"" into main 2024-04-08 04:06:44 +00:00
Dennis Shen
58ada6f972 aconfig: add flag info read c api
Bug: b/321077378
Test: atest aconfig_storage_read_api.test.cpp
Change-Id: If6c258429b8d8ccc872cac9f72cb533cf454ecbd
2024-04-07 20:36:25 +00:00
Dennis Shen
2ac7a4c2bd aconfig: add flag info read rust api
Bug: b/321077378
Test: atest aconfig_storage_read_api.test; atest
aconfig_storage_read_api.test.rust

Change-Id: I382ac0145c5d91827952b3ddb01cabefd1539854
2024-04-07 20:34:28 +00:00
Kennet Belenky
31971fb99e Revert "16k: core: Enable TARGET_NO_BIONIC_PAGE_SIZE_MACRO by default on Android V targets"
This reverts commit 21a09420c7.

Reason for revert: Identified as a culprit in a test break. https://buganizer.corp.google.com/issues/333124272

Change-Id: Ia5f906077ce40a0dffe09619a89ab2e2fdeb7e69
2024-04-05 23:09:08 +00:00
Devin Moore
6c5aedfbef Define PRODUCT_HIDL_ENABLED
This is used to force HIDL to be enabled for device bring-up when
partners have converted all of their AOSP HAL implementations to AIDL,
but still have some partner-owned interfaces that they are working on
converting from HIDL TO AIDL.

Test: PRODUCT_HIDL_ENABLED = true && adb shell lshal
Test: PRODUCT_HIDL_ENABLED = false && adb shell lshal
Bug: 332548148

Change-Id: I6e6dc6c9e22d31c270e3c3520fc074bbeb349808
2024-04-05 23:06:37 +00:00
Vilas Bhat
44f8debe2a Merge "16k: core: Enable TARGET_NO_BIONIC_PAGE_SIZE_MACRO by default on Android V targets" into main am: 667f4ac528
Original change: https://android-review.googlesource.com/c/platform/build/+/3020147

Change-Id: I3e757bb7559b24a86a4d684872295594d4f63b61
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-05 20:23:49 +00:00
Vilas Bhat
667f4ac528 Merge "16k: core: Enable TARGET_NO_BIONIC_PAGE_SIZE_MACRO by default on Android V targets" into main 2024-04-05 20:07:45 +00:00
Treehugger Robot
f15dadb421 Merge "libmdnssd is only used by adbd." into main am: 52e47884f9
Original change: https://android-review.googlesource.com/c/platform/build/+/3028545

Change-Id: I4f65157d84277c717f76923aca6f0261d48c8dd4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-05 19:54:29 +00:00
Spandan Das
4b71e6d0fe Merge "Drop special-casing of tv in source/prebuilt selection" into main am: 06c6eb7919
Original change: https://android-review.googlesource.com/c/platform/build/+/3028706

Change-Id: I0aa84cdc2829f0f739cfccd7586da359e8d2c319
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-05 19:54:08 +00:00
Treehugger Robot
52e47884f9 Merge "libmdnssd is only used by adbd." into main 2024-04-05 19:41:34 +00:00
Spandan Das
06c6eb7919 Merge "Drop special-casing of tv in source/prebuilt selection" into main 2024-04-05 19:41:29 +00:00
Spandan Das
9448b6fb73 Drop special-casing of tv in source/prebuilt selection
Removal of this additional special-casing was missed in aosp/3028110

Test: presbumits
Test: used go/abtd to test a handful of targets in tv's release branch
Bug: 308188056
Change-Id: I6af3821f53e0ceeb0c48c921a0c851b9e6d2d5b6
2024-04-05 17:04:35 +00:00
Dennis Shen
eff5363e2d aconfig: add flag info field to proto
Bug: b/321077378
Test: m
Change-Id: I1b974f83ea49e8d4b19b3392cb7feab3d4b3fcdc
2024-04-05 16:40:43 +00:00
Elliott Hughes
1ecbeae2dd libmdnssd is only used by adbd.
Change-Id: I2deaecd02578cc17adf598d095b0e0d246c4d728
2024-04-05 16:32:25 +00:00
Dennis Shen
6b926c9365 Merge "aconfig: move create flag info file api to aconfig_storage_write_api" into main am: acfb82cf73
Original change: https://android-review.googlesource.com/c/platform/build/+/3028943

Change-Id: I8d3b6f758ec3740928fc379d781a4e721c85a72e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-05 14:19:53 +00:00
Dennis Shen
acfb82cf73 Merge "aconfig: move create flag info file api to aconfig_storage_write_api" into main 2024-04-05 13:59:45 +00:00
yike
9ec7a00364 Fix is_unit_test in module-info
`is_unit_test` is removed from module-info.json by mistake.

Bug: 309006256
Test: m out/target/product/vsoc_x86_64/module-info.json
Change-Id: I03ccc0efec83fbf5a0c6e548941bba6467ce8cd1
2024-04-05 04:40:57 +00:00
Treehugger Robot
564f2937ce Merge "Drop special-casing of atv in source/prebuilt selection" into main am: 542c741208
Original change: https://android-review.googlesource.com/c/platform/build/+/3028110

Change-Id: I8d0fa3bcd7a6de5485b21f80164910dc70bda9a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-05 04:26:26 +00:00
Treehugger Robot
542c741208 Merge "Drop special-casing of atv in source/prebuilt selection" into main 2024-04-05 04:08:14 +00:00
Zhi Dou
5edc609298 Merge "aconfig: remove @com.android.aconfig.annotations.AconfigFlagAccessor from the exported mode" into main am: e78d4ed255
Original change: https://android-review.googlesource.com/c/platform/build/+/3027526

Change-Id: I1176806808c6e11aae1c8432c97643b454433822
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-05 02:41:20 +00:00
Zhi Dou
e78d4ed255 Merge "aconfig: remove @com.android.aconfig.annotations.AconfigFlagAccessor from the exported mode" into main 2024-04-05 02:23:17 +00:00
Spandan Das
f01a7d82ee Drop special-casing of atv in source/prebuilt selection
All tv devices on internal CI branches currently build in trunk_staging
config. Since trunk_staging provides sources of mainline modules via
RELEASE_APEX_CONTRIBUTIONS_*, we do not need this special-casing
anymore.

(cs query
https://source.corp.google.com/search?q=ATV.*TARGET_RELEASE.*next%20f:%5C.gcl&sq=)

Test: presbumits
Test: used go/abtd to test a handful of targets in tv's release branch
Bug: 308188056
Change-Id: Iaadd5b9151c8cce3fe0a193f2e5c37d63e6095d4
2024-04-04 23:44:38 +00:00
Dennis Shen
455dc608f3 aconfig: move create flag info file api to aconfig_storage_write_api
rust_ffi_static right now will export excessive symbols, this lead to a
duplication of symbols when aconfig links against both
libaconfig_storage_file_cc and libaconfig_storage_read_api_cc. This is
because aconfig_storage_read_api crate depends on aconfig_storage_file
crate. To solve this problem, move create flag info file api to
aconfig_storage_write_api crate which is parallel to
aconfig_storage_read_api crate.

Bug: b/321077378
Test: atest aconfig_storage_file.test; atest
aconfig_storage_read_api.test; atest aconfig_storage_write_api.test

Change-Id: Ibbb50193a2da82d52ccbb4087c8e3fb9f320805f
2024-04-04 21:39:04 +00:00
Zhi Dou
bc71cd03b9 aconfig: remove @com.android.aconfig.annotations.AconfigFlagAccessor from the
exported mode

The exported mode library will be dropped into google3, and there isn't
the library for this annotation.

Test: atest aconfig.test
Bug: n/a
Change-Id: I318d1c0faf232b22f42587b8ea2f976173c8554a
2024-04-04 20:21:50 +00:00
Dennis Shen
87ce19046a Merge "aconfig: add create_flag_info cc api" into main am: 83066f6dc0
Original change: https://android-review.googlesource.com/c/platform/build/+/3024987

Change-Id: Ia1873f12ad44fdf3de8fa4f5366ceb54136ac86c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-04 18:55:48 +00:00
Dennis Shen
83066f6dc0 Merge "aconfig: add create_flag_info cc api" into main 2024-04-04 18:26:12 +00:00
Spandan Das
6229139427 [automerger skipped] Merge "Convert BuildIgnoreApexContritbutions variable to a boolean" into main am: 8d8f816a0f -s ours
am skip reason: Merged-In If899f6eaf5449c2aa789d0bd5b791a3db715c676 with SHA-1 b20d060c3c is already in history

Original change: https://android-review.googlesource.com/c/platform/build/+/3022614

Change-Id: I887c2254c57a8feed1ff631bc6c62ecba4fc426c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-04 18:07:48 +00:00
Spandan Das
1e6d3f2b49 [automerger skipped] Convert BuildIgnoreApexContritbutions variable to a boolean am: 7f52f2a804 -s ours
am skip reason: Merged-In If899f6eaf5449c2aa789d0bd5b791a3db715c676 with SHA-1 b20d060c3c is already in history

Original change: https://android-review.googlesource.com/c/platform/build/+/3022614

Change-Id: Iaf76e04bdd715ce4391d21b3a6e54359e30bfbc3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-04 18:07:44 +00:00
Spandan Das
8d8f816a0f Merge "Convert BuildIgnoreApexContritbutions variable to a boolean" into main 2024-04-04 17:50:48 +00:00
Devin Moore
54d50f30df Merge "Stop adding HIDL support services in handheld_system_ext.mk" into main am: f764c46fd8
Original change: https://android-review.googlesource.com/c/platform/build/+/3023304

Change-Id: I54af91679d8d4d482ad1e506cd71c0c004d1d052
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-04 17:30:37 +00:00
Devin Moore
f764c46fd8 Merge "Stop adding HIDL support services in handheld_system_ext.mk" into main 2024-04-04 16:40:41 +00:00
Daniel Zheng
849ac2da81 Merge "Revert "Turn on V3 cow"" into main am: b80e6a656e
Original change: https://android-review.googlesource.com/c/platform/build/+/3025086

Change-Id: I6246fe772e287d28bf0a3d50026de985025c78cc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 22:55:04 +00:00
Daniel Zheng
b80e6a656e Merge "Revert "Turn on V3 cow"" into main 2024-04-03 22:32:14 +00:00
Zhi Dou
068a299844 Merge "aconfig: prototype AconfigFlagAccessor" into main am: 93937ac342
Original change: https://android-review.googlesource.com/c/platform/build/+/3025063

Change-Id: I380ff734c216dfbf4b59380b71cdc5b9f92c8e99
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 19:37:33 +00:00
Zhi Dou
93937ac342 Merge "aconfig: prototype AconfigFlagAccessor" into main 2024-04-03 19:17:15 +00:00
Dennis Shen
43bdfb2656 Merge "aconfig: add api to create flag info file based on package map and flag map file" into main am: cf3042db77
Original change: https://android-review.googlesource.com/c/platform/build/+/3023823

Change-Id: Ia44177b81be4c5dd374757ed1494feda2e4f89d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 18:51:28 +00:00
Dennis Shen
cf3042db77 Merge "aconfig: add api to create flag info file based on package map and flag map file" into main 2024-04-03 18:31:08 +00:00
Vilas Bhat
21a09420c7 16k: core: Enable TARGET_NO_BIONIC_PAGE_SIZE_MACRO by default on Android V targets
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).

This re-applies commit 9014163717 and also
updates the VSR_VENDOR_API_LEVEL for which
TARGET_NO_BIONIC_PAGE_SIZE_MACRO is set to false from < 34 to < 35 (As
this needs to be enabled only for Android V targets).

Test: lunch <target> && get_build_var TARGET_NO_BIONIC_PAGE_SIZE_MACRO
Bug: 310232825
Change-Id: I4a79939b129dd7ae6a50e8aa4719a9d8413156fb
2024-04-03 18:12:40 +00:00
Dennis Shen
2922ca9019 aconfig: add create_flag_info cc api
Bug: b/321077378
Test: atest aconfig_storage_file.test
Change-Id: I1d48311cade178f0b047a5b4d4f81c6dac4362c8
2024-04-03 18:09:39 +00:00
Daniel Zheng
e59e31cb9d Revert "Turn on V3 cow"
Revert submission 2973761-cow_v3_make

Reason for revert: b/332640740

Reverted changes: /q/submissionid:2973761-cow_v3_make

Change-Id: I61720bcb7c8fd346184efde7027ad46a93698eaa
2024-04-03 17:55:13 +00:00
Treehugger Robot
2b029f096d Merge "aflags: add aflags.test to presubmit runs" into main am: 6b1292065f
Original change: https://android-review.googlesource.com/c/platform/build/+/3025123

Change-Id: I3a7d6db2693967036a5a25b1e10d85c95b8318e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 15:49:14 +00:00
Treehugger Robot
c97760dcad Merge "Finalization: update OWNERS" into main am: 18bd5afc16
Original change: https://android-review.googlesource.com/c/platform/build/+/3024905

Change-Id: Ib7e1be3bfcc1e552020ad64ad3fe545a12d5bff9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 15:48:25 +00:00
Treehugger Robot
6b1292065f Merge "aflags: add aflags.test to presubmit runs" into main 2024-04-03 15:45:35 +00:00
Treehugger Robot
18bd5afc16 Merge "Finalization: update OWNERS" into main 2024-04-03 15:26:14 +00:00
Mårten Kongstad
bf1b2ba6b2 Finalization: update OWNERS
Add new folks working on finalization, remove folks no longer working on
it.

Also, sort the entires alphabetically.

Bug: 323940469
Test: N/A
Change-Id: Ib8f6c3f485a06e3d1269e4142317174ae7ac276b
2024-04-03 17:20:42 +02:00
Ted Bauer
fb358d6a89 aflags: add aflags.test to presubmit runs
Bug: 326062088
Test: m # Also, confirm aflags.test runs in this CL
Change-Id: Ie7a1a7625163503e43d5b67d0e50554cd2a9e4cd
2024-04-03 14:02:51 +00:00
Zhi Dou
ddfd2f4889 aconfig: prototype AconfigFlagAccessor
Bug: n/a
Test: atest aconfig.test
Ignore-AOSP-First: need to submit with annotation change. will cherry pick to aosp.
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c65c7c7f577f4140ff5632ce87a26dc98a75b8dc)
Merged-In: I62ea458c05fb61973705346c4313535f9b2291be
Change-Id: I62ea458c05fb61973705346c4313535f9b2291be
2024-04-03 13:31:57 +00:00
Treehugger Robot
6c44d34dfb Merge "Move berberis tests to build/core/tasks" into main am: b4231b3705
Original change: https://android-review.googlesource.com/c/platform/build/+/3011136

Change-Id: Ia07d710d1ea7106f4a855f6fc9053ec30d3603fd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 01:39:59 +00:00
Treehugger Robot
b4231b3705 Merge "Move berberis tests to build/core/tasks" into main 2024-04-03 01:16:03 +00:00
Spandan Das
7f52f2a804 Convert BuildIgnoreApexContritbutions variable to a boolean
(This relands aosp/3007754 with additional handling for go apexes. The
additional handling was added in internal in ag/26705862, so we need to
add this to aosp as well)

The ignore list is burdensome to maintain once we start adding the
module sdk contents to apex_contributions. Convert the variable to a
boolean. When set to true, all contents in `apex_contributions` will be
ignored

Test: m nothing on aosp,google and google_fullmte devices
Ignore-AOSP-first: CL topic does a cleanup of an internal only denylist

Merged-In: If899f6eaf5449c2aa789d0bd5b791a3db715c676
Merged-In: I4532f3743eb3b7121e1f5e522097c1aba3d9a4fd
Change-Id: I18db6657b78b2741c7f9af9e9d0150f85edeeda7
2024-04-03 01:00:01 +00:00