Commit graph

9140 commits

Author SHA1 Message Date
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
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
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
Elliott Hughes
1ecbeae2dd libmdnssd is only used by adbd.
Change-Id: I2deaecd02578cc17adf598d095b0e0d246c4d728
2024-04-05 16:32:25 +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
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
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
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
Lee Shombert
c3ce9e344c Merge "Export the sqlite build flag to more products" into main 2024-03-26 20:32:59 +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
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
784f2a899c Merge "Use soong modules for init.*.rc" into main 2024-03-18 01:25:16 +00:00
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