Commit graph

9105 commits

Author SHA1 Message Date
Treehugger Robot
7665dbccdb Merge "Disable WITHOUT_CHECK_API for SDK products" into main 2024-03-15 20:28:51 +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
Lee Shombert
05b128bff7 Merge "Export the sqlite build flag to soong" into main 2024-03-10 16:20:29 +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
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
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
Alyssa Ketpreechasawat
74dabedcb3 Use build flag to control the apex boot jars to be excluded.
Different prebuilts might have different contents and thus, different
boot jars to be removed from the existing apex boot jar lists e.g. next
using U prebuilts would need to remove framework-pdf while ap31 with V
prebuilts must not remove such. The existing mechanism will always
remove framework-pdf whenever prebuilts are enabled regardless of
release config, which is not correct in context of multiple prebuilt
support.

Ignore-AOSP-First: for successful build, we need to submit this togther with ag/26332775. this cl will get cp'ed into aosp later on
Bug: 327022391
Test: build device in next and trunk
Merged-In: I9949fb7075ab6c207a292f13fd75e010a4958f87
Change-Id: I9949fb7075ab6c207a292f13fd75e010a4958f87
2024-02-29 02:26:44 +00:00
Dennis Shen
04cfe63844 Merge "aconfigd: add aconfigd to system partition" into main am: 40922cb75b
Original change: https://android-review.googlesource.com/c/platform/build/+/2974532

Change-Id: I341d383ba6c8cf548931542a2d709fa7bc5fe12f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-28 13:21:35 +00:00
Dennis Shen
40922cb75b Merge "aconfigd: add aconfigd to system partition" into main 2024-02-28 12:31:26 +00:00
Treehugger Robot
8b7801fda5 Merge changes from topics "product_runtime_apis", "product_var_hidden_api" into main am: 0a8fd1404e
Original change: https://android-review.googlesource.com/c/platform/build/+/2974393

Change-Id: I3dc9c70f0fe740e3cbefaf60b0a7e60e3b068168
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-23 02:36:48 +00:00
Dennis Shen
04aea83c2e aconfigd: add aconfigd to system partition
Bug: b/312444587
Test: m
Change-Id: Ib8195124cf9aea09c088f892fbe1b68b5d197704
2024-02-22 21:09:02 +00:00
Jihoon Kang
727dd6c4e5 Introduce the product sdk_with_runtime_apis
This product is an extension of the sdk product, and allows the
"runtime" api stub artifacts are exported to the dist directory and used
to generate the stubs.

Test: lunch sdk_with_runtime_apis-trunk_staging-eng && m sdk dist
Bug: 326312949
Change-Id: I96f6c1f5a5e7b40165d55ea4c0898a880ed62c96
2024-02-22 20:39:47 +00:00
Steven Moreland
8d8c62b9ad Merge "system += misctrl" into main am: e6045f8b74
Original change: https://android-review.googlesource.com/c/platform/build/+/2966072

Change-Id: I4726d9546531e4e3ebd84e4144f3df7c51dbd3c0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-22 19:16:46 +00:00
Steven Moreland
e6045f8b74 Merge "system += misctrl" into main 2024-02-22 18:57:01 +00:00
Nishant Panwar
04d3711835 Merge "Add SDK library framework-pdf-v in MediaProvider" into main am: 4070731507
Original change: https://android-review.googlesource.com/c/platform/build/+/2954779

Change-Id: I133868720f662e4d465bf02fa7381df144619ce6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-22 07:02:26 +00:00
Nishant Panwar
4070731507 Merge "Add SDK library framework-pdf-v in MediaProvider" into main 2024-02-22 06:32:14 +00:00
Ted Bauer
b174d70ad9 Merge "aconfig: introduce new aflags CLI" into main am: 30512e43be
Original change: https://android-review.googlesource.com/c/platform/build/+/2956393

Change-Id: I983eb31ada9a5f957f4c61c9e28d8ecfa7ed18d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-21 22:17:37 +00:00
Ted Bauer
4dbf58a187 aconfig: introduce new aflags CLI
Add a new CLI binary that we can use as the officially recommended CLI
for reading and writing flags. For now, the CLI invokes commands to
interact with DeviceConfig and aconfig protos, but we will switch it to
interact with the forthcoming mmap-file-based aconfig storage. In the
meantime, we can add improved formatting and error reporting in a
separate layer.

This CL starts with the list command, which outputs a table of the
flags when you type `adb shell aflags list`.

Bug: 324436145
Test: atest aflags.test
Change-Id: Idd8aa78ccaace22a7e490014d410ad741f8f6fc6
2024-02-21 13:23:49 -05:00
Hsin-Yi Chen
4acf2f7541 Merge "Define a make target for all LLNDK dumps" into main am: bc5a4271ee
Original change: https://android-review.googlesource.com/c/platform/build/+/2968542

Change-Id: I67bd741967cfab8d2114b81a7e7aa05a231c2015
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-21 08:31:05 +00:00
Hsin-Yi Chen
23d855680c Define a make target for all LLNDK dumps
- Define findlsdumps_LLNDK that vFRC process will build.
- Move LSDUMP_PATHS_FILE to target/product/gsi/Android.mk.
- Allow LLNDK dumps in prebuilts/abi-dumps/vndk.

Test: m findlsdumps_LLNDK check-vndk-list
Bug: 314010764
Change-Id: I6329cd4b1b919069291a13bd03720ceea46b95ff
2024-02-21 03:46:57 +00:00
Nishant Panwar
6d0576122a Add SDK library framework-pdf-v in MediaProvider
SDK library for pdf related bootclasspath classes that were part of the non-updatable API before V, and were moved to the module in V. Other pdf related bootclasspath classes in mediaprovider should go to framework-pdf.

Bug: b/324667310
Test: presubmit and m
Change-Id: I92aabf297508f2c885a721d11d40b5262b6847fe
2024-02-17 05:09:00 +00:00
Steven Moreland
7da596feca system += misctrl
Generic utility for managing the misc partition.

Bug: 317262681
Test: boot, check logs + bugreport
Change-Id: I249efeed4c8757ad0b849ecee0bfcab86d0cdcd6
2024-02-16 22:31:15 +00:00
Mitch Phillips
e93f531df9 Merge "Re-enable MTE stack on fullmte builds." into main am: 0b29218f80
Original change: https://android-review.googlesource.com/c/platform/build/+/2953627

Change-Id: I08a941842154d453016c69746e1011ef3befd074
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-16 09:44:24 +00:00
Mitch Phillips
0b29218f80 Merge "Re-enable MTE stack on fullmte builds." into main 2024-02-16 09:01:34 +00:00
Greg Kaiser
ebba62b32f Merge "Remove TARGET_VNDK_USE_CORE_VARIANT" into main am: e97c59a64f
Original change: https://android-review.googlesource.com/c/platform/build/+/2959233

Change-Id: I8e4e1aaf023871c32890bf7380d00d17c62346c7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-13 22:22:35 +00:00
Greg Kaiser
e97c59a64f Merge "Remove TARGET_VNDK_USE_CORE_VARIANT" into main 2024-02-13 21:50:19 +00:00
Greg Kaiser
c26ea1995a Remove TARGET_VNDK_USE_CORE_VARIANT
We introduced this in
https://android-review.googlesource.com/c/platform/build/+/1087517
but now with VNDK deprecated, this is no longer in use so we
remove it for clarity.

Bug: 319529309
Test:  TreeHugger skipped running mokey_go32 boot test because there were no changes in the artifacts.  Additionally, built a Go device, booted, and /linkerconfig/ld.config.txt is the same and things run as normal.
Change-Id: Ifba30d7cc30c641f265abe52ed2cf7c02660a5ec
2024-02-13 15:52:21 +00:00
Kiyoung Kim
f74c3b5fe8 Merge "Do not set BOARD_VNDK_VERSION and PLATFORM_VNDK_VERSION" into main am: 1d952f82a5
Original change: https://android-review.googlesource.com/c/platform/build/+/2949648

Change-Id: I3b47559ad8182f8c8c04e345c8ef18bcc90c459a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-13 01:24:47 +00:00
Kiyoung Kim
1d952f82a5 Merge "Do not set BOARD_VNDK_VERSION and PLATFORM_VNDK_VERSION" into main 2024-02-13 00:51:53 +00:00
Treehugger Robot
66a5221c65 Merge "Add the WebViewBootstrap module to the base system." into main am: 9689e9007d
Original change: https://android-review.googlesource.com/c/platform/build/+/2955127

Change-Id: Ib7b413d394423ace0824bf99cd892e78c69027a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-08 22:56:15 +00:00
Mitch Phillips
ce3cfdc17f Re-enable MTE stack on fullmte builds.
The new toolchain has been rolled, and so we can re-enable stack MTE
instrumentation.

Bug: 320448268
Bug: 292478827
Test: atest bionic-unit-tests bionic-unit-tests-static \
      CtsTaggingHostTestCases debuggerd_test CtsGwpAsanTestCases \
      gwp_asan_unittest CtsHostsideWebViewTests # on husky_fullmte
Change-Id: Ie238a015edba3c6ca2e1266cee9142b0d8927cc2
2024-02-08 14:56:19 +01:00
Kiyoung Kim
1e14cdfd56 Do not set BOARD_VNDK_VERSION and PLATFORM_VNDK_VERSION
Do not set BOARD_VNDK_VERSION and PLATFORM_VNDK_VERSION if VNDK is
deprecated. BOARD_VNDK_VERSION and PLATFORM_VNDK_VERSION should not be
used once VNDK is deprecated with KEEP_VNDK=false

Bug: 316829758
Test: AOSP CF build succeeded
Change-Id: Iead60663bed3653e63e7a444a873cfaea50780b0
2024-02-07 21:07:23 +09:00
Richard Coles
a468160ee0 Add the WebViewBootstrap module to the base system.
When the flag is enabled, add the module to the base system.

Bug: 318717084
Test: build with/without flag
Change-Id: Ifd8c7cc85c711786f491a76d452ad1cac18b655b
2024-02-07 06:27:27 -05:00
Alice Ryhl
10292e1338 Merge "Add kcmdlinectrl to base system" into main am: dc7efff9f6
Original change: https://android-review.googlesource.com/c/platform/build/+/2908358

Change-Id: I2453f9e1b43b3bf11391825b5095b4634c132a26
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-06 08:29:08 +00:00
Alice Ryhl
dc7efff9f6 Merge "Add kcmdlinectrl to base system" into main 2024-02-06 07:52:10 +00:00
Nikita Ioffe
40cb5a1d84 Merge "Add service-virtualization.jar to PRODUCT_APEX_SYSTEM_SERVER_JARS" into main am: 65146d24b0
Original change: https://android-review.googlesource.com/c/platform/build/+/2946229

Change-Id: Iacf5799a384d4f6bfeea68905d4416c2a6c789be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-05 23:10:45 +00:00
Nikita Ioffe
441d359c7b Add service-virtualization.jar to PRODUCT_APEX_SYSTEM_SERVER_JARS
This jar is part of the com.android.virt non-updatable APEX.

Bug: 323339759
Test: build
Test: boot device
Change-Id: I8090b8bf22d647d5f6c1dd1bf68a6e468b4ac694
2024-02-05 13:15:12 +00:00
Xin Li
e693b5037e Merge Android 24Q1 Release (ab/11220357)
Bug: 319669529
Merged-In: I21eb7d5dc8cef9c1dd797ba1ab2ee830a8a5a42b
Change-Id: I42210485ad8f07e19408bef0e5a2af23f6a0e596
2024-01-30 10:33:42 -08:00
Kangping Dong
e2799f42ef Merge "[Thread] add ot-ctl to userdebug for testing" into main 2024-01-30 07:50:48 +00:00
Daniel Zheng
6a34ceb68e Merge "Allow cow_version to be overwriteable" into main 2024-01-29 20:00:09 +00:00
Kangping Dong
503ed30891 [Thread] add ot-ctl to userdebug for testing
ot-ctl is a helper utility to control the ot-daemon system service for
development and testing.

This commit adds ot-ctl into /system/bin for userdebug images.

Bug: 322595971
Change-Id: Ic2440c4af14be303db637e9ab6b08785ef3b9f82
2024-01-29 02:20:35 +00:00
Sooraj Sasindran
9188610bf8 Add SatelliteClient to the product packages
Add SatelliteClient to the product packages

Bug: 321776764
Change-Id: I9b7ff79b1bfe234511548385dbc6318cfa35ed68
Test: make
2024-01-25 22:30:38 +00:00
Jiakai Zhang
94c6d7a401 Force PRODUCT_ENABLE_UFFD_GC to true on GSI.
If the kernel version isn't available to the build system and
PRODUCT_ENABLE_UFFD_GC isn't explicitly set, there will be a build
warning. To address the warning and make the behavior more explicit on
GSI builds, we need this change.

Bug: 321751629
Test: lunch aosp_x86_64-trunk_staging-userdebug && m dist
Change-Id: I5b73890235827929ea3bce5a07260d6c67a00a27
2024-01-25 14:37:30 +00:00
Hongguang Chen
e068028fe7 Disable Window Extensions on TV
Window Extensions is not supported on TV. Adding it to TV GSI causes
some CTS failure.

Bug: 321898211
Test: make TV GSI, check artifacts
Test: atest CtsWindowManagerJetpackTestCases on TV GSI
Change-Id: Ice6602c7b06c2e09e557423426abaa94da55c836
2024-01-24 23:25:46 +00:00
Daniel Zheng
44adde16b5 Allow cow_version to be overwriteable
Allow Cow version to be overwritten by device specific makefiles. This
change is needed so we can begin enableing virtual_ab_cow_version := 3
on cuttlefish

Test: m
Change-Id: Idd314dd24362a6e5d905db16ac260a24bbb7ae45
2024-01-23 13:37:46 -08:00