Commit Graph

9344 Commits

Author SHA1 Message Date
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
Alex Buynytskyy
c457942d23 Allowlist for platform signed package/sharedUid-s.
Fixes: 308573259
Test: atest android.content.pm.cts.PackageManagerTest
Ignore-AOSP-First: file is added in internal branch
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7f2661f46717bd6b3c8ed20168caf03d71bbabb0)
Merged-In: I02e87e92878770cf21fb5032efb75eb1b222c62f
Change-Id: I02e87e92878770cf21fb5032efb75eb1b222c62f
2024-03-25 18:40:27 +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
Miguel Aranda
f853c11bb3 Merge "Revert "Add window_extensions to all builds"" into main 2024-03-14 11:01:24 +00:00
Miguel Aranda
9b15a4d6e9 Revert "Add window_extensions to all builds"
Revert submission 25408015-wm_extensions_for_all

Reason for revert: b/329534949

Reverted changes: /q/submissionid:25408015-wm_extensions_for_all

Change-Id: Ie5fb0613d4cf0cb137e82b20d781787fd337db0c
2024-03-14 09:16:26 +00:00
Chris Li
3288bd8d16 Merge "Add window_extensions to all builds" into main 2024-03-14 01:25:14 +00:00
Treehugger Robot
9a2f306cf8 Merge "Put DeviceDiagnostics on phones and tablets only" into main 2024-03-13 19:29:27 +00:00
Paul Lawrence
cb96277416 Put DeviceDiagnostics on phones and tablets only
Bug: 321285898
Test: DeviceDiagnostics.apk is on Pixel 7a after build
Ignore-AOSP-First: DeviceDiagnostics.apk is internally developed, not in AOSP
Change-Id: I166de8a045d0e0a99c0922f3a7daddc1eec88754
2024-03-13 15:52:49 +00:00
Lee Shombert
5053a35d92 Merge "Export the sqlite build flag to soong" into main am: 05b128bff7 am: c07d4063f0
Original change: https://android-review.googlesource.com/c/platform/build/+/2994798

Change-Id: Iee970be249cf527bc46ed48c240bec50f3a28186
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-10 17:41:08 +00:00
Lee Shombert
05b128bff7 Merge "Export the sqlite build flag to soong" into main 2024-03-10 16:20:29 +00:00
Peiyong Lin
ee964d2353 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.

Ignore-AOSP-First: Submit in internal first to avoid build breakage.
Bug: b/293503000
Test: atest CtsAngleIntegrationHostTestCases
Change-Id: Ie8294b6494e2fad44ff102ecf0018916d61b082a
2024-03-08 23:00:12 +00:00
Lee Shombert
bb7b87eb93 Export the sqlite build flag to soong
The soong variable is release_package_libsqlite3.  The domain is
libsqlite3.

Bug: 323176655
Change-Id: I7d32a8f1b8d1a22ebce603c06aab602c67f96838
2024-03-07 12:11:43 -08:00
Daniel Zheng
a20557926b Merge "Turn on V3 cow" into main am: c09a15f81f am: 694d3438f9
Original change: https://android-review.googlesource.com/c/platform/build/+/2973761

Change-Id: I841a457ec679c9ebd6d2a53b97901ffe7f6c1a01
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-06 01:12:37 +00:00
Daniel Zheng
694d3438f9 Merge "Turn on V3 cow" into main am: c09a15f81f
Original change: https://android-review.googlesource.com/c/platform/build/+/2973761

Change-Id: I75c1d1ed70edcc249de967553de52522342b195a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-06 00:36:59 +00:00
Daniel Zheng
c09a15f81f Merge "Turn on V3 cow" into main 2024-03-05 23:04:46 +00:00
Daniel Zheng
7102baaf65 Turn on V3 cow
On all api levels shipping higher than 34 (pixel 8), we want to enable
v3 cow version of the cow format

We need to make this change in product_config.mk since PRODUCT variables
have special interactions with inherit-product. PRODUCT_SHIPPING_API_LEVEL
is defined in device.mk and is unavailable to the parent makefile
(PRODUCT vars are cleared at the beginning of makefiles?).
Having the fallback vabc_cow_version in this file allows us to avoid the
hack below (we would have to modify each device.mk to add a temporary variable)

alternate solution:

We have to create a new variable SHIPPING_API_LEVEL that is a duplicate
of PRODUCT_SHIPPING_API_LEVEL. This is a hack to workaround the
inheritance flow (since vabc_features.mk -> android_t_baseline.mk ->
device.mk).This hack allows this variable to be seen by the parent
.mk file

Bug: 313962438
Test: u->v upgrade path for pixel 8.  v->u dowgrade path for pixel 8
Change-Id: I6e1480e461c20a2fb07c5339828df0e6f6c0f9ec
2024-03-05 12:01:05 -08:00
Treehugger Robot
959010f8d6 Merge "Allowlist for platform signed package/sharedUid-s." into main 2024-03-05 02:52:26 +00:00
Chris Li
2f65ecf1af Add window_extensions to all builds
Activity Embedding module will be guarded by targetSDK to reduce
the app compat impact.

Bug: 306666082
Ignore-AOSP-First: need internal-first change to guard with flag
Test: m
Change-Id: I07e139d9ce60cb4f5e91d33d633cfe89563ba283
2024-03-04 14:19:41 +08:00
Alex Buynytskyy
7f2661f467 Allowlist for platform signed package/sharedUid-s.
Fixes: 308573259
Test: atest android.content.pm.cts.PackageManagerTest
Ignore-AOSP-First: file is added in internal branch
Change-Id: I02e87e92878770cf21fb5032efb75eb1b222c62f
2024-02-29 21:26:15 +00:00
Alyssa Ketpreechasawat
0f00fbd681 Merge "Use build flag to control the apex boot jars to be excluded." into main am: eb4f3ec4b8
Original change: https://android-review.googlesource.com/c/platform/build/+/2980732

Change-Id: I658366663def6257d11c0a730ec874a0860f6aad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-29 19:11:08 +00:00
Alyssa Ketpreechasawat
eb4f3ec4b8 Merge "Use build flag to control the apex boot jars to be excluded." into main 2024-02-29 18:17:09 +00:00