Commit graph

9212 commits

Author SHA1 Message Date
Daniel Zheng
83eec49c67 Merge "Revert "Turn on V3 cow"" into main am: 28ca2fc0a0 am: 0addd71144
Original change: https://android-review.googlesource.com/c/platform/build/+/3040935

Change-Id: I36be728b9a31b1ff0bd36c80dc53fa777a88b3e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-13 07:33:11 +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
Treehugger Robot
1fd9a8fac7 Merge "16k: Enable PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO on aosp_arm64" into main am: 112a57658b am: f1bf436fd8
Original change: https://android-review.googlesource.com/c/platform/build/+/3038458

Change-Id: I58e80ed172f7d1845126a592efd314220cae3997
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-12 20:01:16 +00:00
Vilas Bhat
00951d15fb Merge "16k: Enable PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO on aosp_x86_64" into main am: 54b92dfe9d am: eb94b078ad
Original change: https://android-review.googlesource.com/c/platform/build/+/3037194

Change-Id: I2c82fe6f7efbe96be2815a5142d0a1a7294d4f8a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-12 17:56:13 +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
53d1d830fb Merge "Remove BOARD_VNDK_VERSION usage from Kati" into main am: 665827ea7b am: e67573e5e8
Original change: https://android-review.googlesource.com/c/platform/build/+/3025286

Change-Id: I863586efae902fc834697b6734e67797b3c5f924
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-09 08:23:32 +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
fd88ba83d0 Merge "Revert^2 "Turn on V3 cow"" into main am: 5f4028b318 am: 94287c6afc
Original change: https://android-review.googlesource.com/c/platform/build/+/3031006

Change-Id: Ie9475911a1af2672316b0f48c1dd9aee9612c7da
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-08 20:09:15 +00: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
Cliff Wang
c0306cfc31 Merge "" into main am: 3feb0dc532 am: a77e098967
Original change: https://android-review.googlesource.com/c/platform/build/+/3030083

Change-Id: I74448be8adf46ad74d4f641d0d741a347f61b4b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-08 05:58:52 +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
Treehugger Robot
0b8003424a Merge "libmdnssd is only used by adbd." into main am: 52e47884f9 am: f15dadb421
Original change: https://android-review.googlesource.com/c/platform/build/+/3028545

Change-Id: I27db2146e550a28ed53bc2e3d3549fe3a346aa13
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-05 20:12:19 +00:00
Elliott Hughes
1ecbeae2dd libmdnssd is only used by adbd.
Change-Id: I2deaecd02578cc17adf598d095b0e0d246c4d728
2024-04-05 16:32:25 +00:00
Devin Moore
c5be010769 Merge "Stop adding HIDL support services in handheld_system_ext.mk" into main am: f764c46fd8 am: 54d50f30df
Original change: https://android-review.googlesource.com/c/platform/build/+/3023304

Change-Id: I0d6675ed4f2d325e0b77bf1d76bf39a3fb9411d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-04 17:55:13 +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
f8fe85a71d Merge "Revert "Turn on V3 cow"" into main am: b80e6a656e am: 849ac2da81
Original change: https://android-review.googlesource.com/c/platform/build/+/3025086

Change-Id: If7102f60709a23c926aea695d56e48b6c1ee25cb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 23:32:12 +00:00
Daniel Zheng
b80e6a656e Merge "Revert "Turn on V3 cow"" into main 2024-04-03 22:32:14 +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
Devin Moore
d756813799 Stop adding HIDL support services in handheld_system_ext.mk
This is already added in product/media_system_ext.mk so it doesn't need
to be added again.

Test: m
Bug: 332548148
Change-Id: I11be0c8f2fb788df19df7e531ed3d8e3b1381d0f
2024-04-02 22:56:55 +00:00
Treehugger Robot
a904eb2396 Merge "Add PRODUCT_MODULE_BUILD_FROM_SOURCE to sdk's product config" into main am: 261857faac am: fa66004a35
Original change: https://android-review.googlesource.com/c/platform/build/+/3022704

Change-Id: I86a0108ec9c592daed607f5c7b6141e81b6b8db2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-02 20:40:07 +00:00
Spandan Das
e66f98fe7d Add PRODUCT_MODULE_BUILD_FROM_SOURCE to sdk's product config
`sdk` builds require sources of mainline modules. explicitly set this
value to prevent reaching an incompatible state across release build
flags and soong config namespaces prebuilt vs source selection
mechanism.

Test: will use go/abtd to run the failing target in b/332322437
https://android-build.corp.google.com/builds/abtd/run/L54400030002940286 
Bug: 332322437
Change-Id: If65fb3706910ac5142d6ad9dc416190fa1c9ee89
2024-04-02 19:02:11 +00:00
Treehugger Robot
de3f4759d3 Merge "Add trace redactor to system" into main 2024-04-01 15:55:08 +00:00
Chris Li
6fc1aea77e Merge "Remove WM Extensions from wearable" into main 2024-04-01 08:28:19 +00:00
Anna Bauza
7847bfcba9 Refactor SettingsLib to remove redundant resources conditionally
Bug: 320878675
Test: manual
Change-Id: Ic5862c45dcb3383a736b43fcf98ab58f05149ec7
Ignore-AOSP-First: Feature not yet exposed to AOSP
2024-03-29 09:26:00 +00:00
Kiyoung Kim
5e781f324e Merge "Remove PLATFORM_VNDK_VERSION related code" into main am: d3df8b5b06 am: 83b851c938
Original change: https://android-review.googlesource.com/c/platform/build/+/3018445

Change-Id: I0189cdcab500eb9bb12ff8aedb6f3ca2ae3c9865
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-29 03:32:41 +00:00
Steven Terrell
9d92aacbda Add trace redactor to system
This change adds the trace_redactor binary to system so that it can be
called from the Profiling module.

Bug: 327423523
Test: build and flash phone, verify binary is avalable at /system/bin.
Ignore-AOSP-First: Profiling changes are not in AOSP yet, will merge at
later date.

Change-Id: I661fca73c02e2904b988b4bddce62f09c7e3a5d7
2024-03-28 21:01:47 +00:00
Kiyoung Kim
fdeacfd30a Remove PLATFORM_VNDK_VERSION related code
As of VNDK deprecation, PLATFORM_VNDK_VERSION should no longer be used.
This change removes most of references for PLATFORM_VNDK_VERSION
variable.

Bug: 330100430
Test: AOSP CF build succeeded
Change-Id: I9293deffc01d2431740c43ecae23719a9171f344
2024-03-28 13:05:05 +09:00
Chris Li
4b88326361 Remove WM Extensions from wearable
Wearable doesn't need WM Extensions.

Bug: 306666082
Ignore-AOSP-First: need internal-first change to guard with flag
Test: atest CtsWindowManagerJetpackTestCases:SdkAvailabilityTest
Change-Id: Idd0f7269ccfacbc2e3030f35a5fd2ebf965b8db2
2024-03-27 07:16:53 +00:00
Lee Shombert
ee6874c5bb Merge "Export the sqlite build flag to more products" into main am: c3ce9e344c am: 379e720699
Original change: https://android-review.googlesource.com/c/platform/build/+/3001435

Change-Id: I4d8891114dbc64c776cf57d22b331f50dae74e0c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-26 21:01:31 +00:00
Lee Shombert
c3ce9e344c Merge "Export the sqlite build flag to more products" into main 2024-03-26 20:32:59 +00:00
Treehugger Robot
5724a79e99 Merge "Explicitly install optional components of perfetto" into main am: 9339d8d98f am: e473456528
Original change: https://android-review.googlesource.com/c/platform/build/+/3002565

Change-Id: I87b4d6fef39a44e5addb3eb01f1d3995208512e6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-22 17:43:52 +00:00
Jiyong Park
b915495a9f Explicitly install optional components of perfetto
perfetto-extras is a phony module that abstracts optional components for
perfetto. Previously, the dependencies were installed by directly
required from traced_probes.

But that is expected to interfere with an upcoming change in Soong where
`required` dependencies are installed by Soong. Specifically, it will
increase the size of the `microdroid` module by 2-3MB because the
dependencies - which are unnecessary in Microdroid - will be installed
there due to the `required` being effective in Soong.

This change fixes that regression by making the dependencies to be only
for Android.

Bug: 321626681
Test: check the dependencies are found in Android
Test: check the dependencies are absent in Microdroid
Change-Id: I5871113e0fa6c6a9745e1c5d2e9d5c2f2dbd9764
2024-03-22 22:22:51 +09:00
Lee Shombert
a64ebbdad3 Export the sqlite build flag to more products
sqlite is used in many products, including the Android system,
mainline modules, and sdks.  The trunk-stable build flag must be
exported to all of these targets.

Bug: 323176655

Change-Id: I23480610b710c0ec3e49c364c179ea76297fb494
2024-03-21 16:08:50 -07:00
Kiyoung Kim
3c18722b14 Merge "Remove reference to VNDK current APEX" into main am: d826a2355d am: e10f302fde
Original change: https://android-review.googlesource.com/c/platform/build/+/3003160

Change-Id: I7c12805a1bdf2b34946baf3379be69067861b589
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-18 12:16:15 +00:00
Kiyoung Kim
fec5986a8c Remove reference to VNDK current APEX
VNDK Current APEX is being removed because VNDK is deprecated with
202404 and VNDK current APEX is no more available. This change removes a
reference to the VNDK current APEX so it won't look for removed module.

Bug: 328994089
Test: AOSP CF build succeeded
Change-Id: Id3c65b1e9a403847f43d2fa344c832ae43c2051d
2024-03-18 15:36:10 +09:00
Jeongik Cha
45cf38be7b Merge "Use soong modules for init.*.rc" into main am: 784f2a899c am: 2e976ef3ea
Original change: https://android-review.googlesource.com/c/platform/build/+/2926410

Change-Id: I1ba526f8a5fccfaa29667d9dda19d3d93dd9c810
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-18 02:10:19 +00:00
Jeongik Cha
784f2a899c Merge "Use soong modules for init.*.rc" into main 2024-03-18 01:25:16 +00:00
Chris Li
d638f6b42e Merge "Reland WM Extensions for all devices" into main 2024-03-16 07:59:03 +00:00
Treehugger Robot
c35da593cb Merge "Disable WITHOUT_CHECK_API for SDK products" into main am: 7665dbccdb am: bf23bc1ee8
Original change: https://android-review.googlesource.com/c/platform/build/+/3003853

Change-Id: I9177c5f6e1d45b7b8cb6826ae9f13f89e5de4a43
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-15 21:00:44 +00:00
Treehugger Robot
7665dbccdb Merge "Disable WITHOUT_CHECK_API for SDK products" into main 2024-03-15 20:28:51 +00:00
Chris Li
786527c489 Reland WM Extensions for all devices
The revert is because there is a prebuilt app using an outdated
unreleased sidecar API (from 2022).

Bug: 306666082
Test: pass the failure test
Change-Id: I74f5f6cff84d7f26466ccdea8bcc982bc363a5d3
2024-03-15 01:50:03 +00:00
Jihoon Kang
c4dc1f69c5 Disable WITHOUT_CHECK_API for SDK products
SDK products, which are required to build the SDK, require checkapi
to run in order to generate the exportable artifacts, which are copied
to the dist directory. Thus, this change adds a conditional to emit an
error when WITHOUT_CHECK_API environment variable is set when the target
product is a SDK variant.

Test: lunch sdk-trunk_staging-eng && m WITHOUT_CHECK_API=true and observe the expected error being emitted
Bug: 329374072
Change-Id: I0dc628742c49845792b03f9af1ea60cd9eb4b8c3
2024-03-14 20:43:37 +00:00
Peiyong Lin
7bbfeb147e Merge "Clean up ANGLE on system build configuration." into main 2024-03-14 20:43:18 +00:00
Peiyong Lin
cc63340cd1 Clean up ANGLE on system build configuration.
Now that ANGLE on system is in fully released, clean up the build file
configuration and remove the flags.

Bug: b/293503000
Test: atest CtsAngleIntegrationHostTestCases
Change-Id: Ie8294b6494e2fad44ff102ecf0018916d61b082a
Merged-In: Ie8294b6494e2fad44ff102ecf0018916d61b082a
2024-03-14 19:26:24 +00:00
Peiyong Lin
c6c8dcfe5e Merge "Clean up ANGLE on system build configuration." into main 2024-03-14 19:24:48 +00:00