Commit graph

7095 commits

Author SHA1 Message Date
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
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
Roshan Pius
9454c64bca Merge "Copy com_android_nfc certs for sepolicy rule" into main 2024-01-22 22:45:49 +00:00
Devin Moore
df791fdad0 Merge "Add all of the packages used to support older/upgrading devices" into main 2024-01-22 20:56:46 +00:00
Treehugger Robot
b14bf5f6e9 Merge "Install libvintf_jni" into main 2024-01-21 21:56:31 +00:00
Roshan Pius
139c67be26 Copy com_android_nfc certs for sepolicy rule
Copied from:
  com_android_nfc.pk8 -> nfc.pk8
  com_android_nfc.x509.pem -> nfc.x509.pem

BUG: 320583956
Test: Bootup test with signed NFC APK (within NFC apex)
Merged-In: Ia0c1c7228323dec4d283f469701ae3606e2fadca

Change-Id: Ia0c1c7228323dec4d283f469701ae3606e2fadca
2024-01-19 10:23:14 -08:00
Harshit Mahajan
7b6a18c4bd Revert^2 "[CrashRecovery] Add module to BCP and SSCP"
1b22a8e7dd

Bug: b/289203818
Test: m
Change-Id: I4837ef66e14b06ce62be30e04eb988ebab9c2c6c
2024-01-17 15:01:24 +00:00
Treehugger Robot
0ac2d7fb7a Merge "Remove RELEASE_EXPOSE_FLAGGED_API and PRODUCT_NEXT_RELEASE_HIDE_FLAGGED_API export" into main 2024-01-17 00:20:54 +00:00
Jihoon Kang
5a438e61ba Remove RELEASE_EXPOSE_FLAGGED_API and PRODUCT_NEXT_RELEASE_HIDE_FLAGGED_API export
As seen in the CLs in the same topic, these two variables are no longer
in used and do not need to be exported to Soong.

Test: m nothing --no-skip-soong-tests
Bug: 320515715
Change-Id: I268dc3f051d3ff15d95515755dd0c9f9c15dfc82
2024-01-16 20:09:50 +00:00
Roshan Pius
dbaddabffb build: Allow NFC stack to be delivered as a mainline module or APK
These changes are necessary to allow NFC stack delivery to be properly
trunk stable flagged:
1. Delivered as NfcNci.apk and framework-nfc.jar for Android
U based builds (existing).
2. Delivered as com.android.nfcservices.apex which embeds NfcNci.apk &
framework-nfc.jar for Android V based builds (new).

Bug: 303286040
Test: Device boots up after flashing
Test: atest CtsNfcTestCases
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:046c1816091f9150c91953b8571dc946b0a59f86)
Merged-In: Ib2170146d07763ff6c852ce810497ebe1ac2eead

Change-Id: Ib2170146d07763ff6c852ce810497ebe1ac2eead
2024-01-12 18:17:26 -08:00
Almaz Mingaleev
4e3ae61b0c Use tzdata's flag in PRODUCT_PACKAGES.
Bug: 319103072

Test: m
Test: ls -l /apex/com.android.tzdata
Change-Id: I2499473e9bf324eb2950b774862c46a2b0a5fcf7
2024-01-09 11:01:37 +00:00
Justin Yun
95d89d961d New LLNDK libvendorsupport.so for vendor api level
To handle the vendor API level, provide a new LLNDK library.

Bug: 315056516
Test: atest libvendorsupport-tests
Change-Id: Ide8a88aa22e7722b82faf3a71b62c3cf90fe05bd
2024-01-04 18:39:49 +09:00
Roland Levillain
3a442cc088 Update OWNERS files under build/make.
Test: n/a
Change-Id: I91e6eb90c2709e64a27f069f522a11374b99c91e
2024-01-02 18:40:38 +00:00
Jooyung Han
b2ea62d07c Install libvintf_jni
libvintf_jni is for android.os.{VintfObject, VintfRuntimeInfo} classes
and wraps the libvintf queries.

It's extracted from libandroid_runtime to avoid loading libvintf in
zygote processes.

Bug: 270169217
Test: atest VintfObjectTest
Change-Id: I653e4eb15bae91822d62e05224e743c17b00114c
2023-12-26 17:22:09 +09:00
Hansen Kurli
3bdc58adee Merge "Remove racoon, mtpd, pppd, ip-up-vpn" into main am: f388a25f97
Original change: https://android-review.googlesource.com/c/platform/build/+/2864095

Change-Id: I9fa434f2b12917677ad298cf4fce071efdb436a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-08 09:21:57 +00:00
Hansen Kurli
f388a25f97 Merge "Remove racoon, mtpd, pppd, ip-up-vpn" into main 2023-12-08 08:52:16 +00:00
Hansen Kurli
fa92526d35 Remove racoon, mtpd, pppd, ip-up-vpn
Legacy VPN types are removed. These are now unused.

Bug: 161776767
Test: m
Change-Id: I2ccc10d9c8680a6de9160e07e726312bc7b1fdc9
2023-12-07 19:20:14 +08:00
Roshan Pius
ed97f85120 Merge "Revert "Revert "handheld_system: Use build flag for NFC stack in..."" into main am: d5074b3d7d
Original change: https://android-review.googlesource.com/c/platform/build/+/2858127

Change-Id: Ia5e6cf96003cc6929a6e54f8b9265efbdd90cc4e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-05 16:07:00 +00:00
Roshan Pius
57c1fa5d11 Revert "Revert "handheld_system: Use build flag for NFC stack in..."
Revert submission 25548952-revert-25531363-nfc_apex_reland_flags-TJRICWNQNN

Reason for revert: Reland with build failure fix.

Reverted changes: /q/submissionid:25548952-revert-25531363-nfc_apex_reland_flags-TJRICWNQNN

Bug: 303286040
Test: Compiles
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:76cf501a8ae2965d61937c2a8aab99698cb41c20)
Merged-In: Ic8fdadeaf49eafb2119a94e6dd61b808c60fad96
Change-Id: Ic8fdadeaf49eafb2119a94e6dd61b808c60fad96
2023-12-05 05:42:12 +00:00
Roshan Pius
d2f4f984cf Merge "build(nfc): Create framework-nfc sdk library" into main am: 999d9a1924
Original change: https://android-review.googlesource.com/c/platform/build/+/2828697

Change-Id: Ie716fe1916adb2dc42045eeef84b8cc16d2aac20
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-01 18:20:31 +00:00
Roshan Pius
999d9a1924 Merge "build(nfc): Create framework-nfc sdk library" into main 2023-12-01 17:12:39 +00:00
Treehugger Robot
8e0c07166d Merge "Increase scudo MTE buffer for fullmte devices" into main am: 1a9dd1c7de
Original change: https://android-review.googlesource.com/c/platform/build/+/2819967

Change-Id: Idec248d0fb251cf6aca35ba6a5af1f6eeb8ef9d1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-01 03:25:27 +00:00
Treehugger Robot
1a9dd1c7de Merge "Increase scudo MTE buffer for fullmte devices" into main 2023-12-01 02:52:38 +00:00
Jiakai Zhang
e1dd0563b3 Merge changes from topics "disable-art-service-dexopt", "remove-preopt-extracted-apk" into main am: 1f61e734d6
Original change: https://android-review.googlesource.com/c/platform/build/+/2847398

Change-Id: Ib519b83b3700a4014d5b5d9d868dc73c9cb5219c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-29 10:50:42 +00:00
Jiakai Zhang
364e9c39de Remove PRODUCT_ALWAYS_PREOPT_EXTRACTED_APK.
This was added by r.android.com/513843 to force dexpreopt some GMS core
modules even if dexpreopt is disabled, to avoid some memory usage
regression. We no longer need it because dexpreopt is never disabled on
production builds.

Bug: 313505540
Test: m
Change-Id: Iff7f1d340a3ecd64cdc3d2f83f9c37c109a81fda
2023-11-28 13:46:13 +00:00
Jiakai Zhang
8737d4baf5 Set dalvik.vm.disable-art-service-dexopt=true on eng build.
We can't set all the `pm.dexopt.*` properties to `skip` because there
are product configs that have set those properties and therefore
conflict with our settings.

Bug: 313505540
Test: (on internal main) -
  1. `lunch` an eng build of an internal Go device.
  2. m
Change-Id: Ia3306d0c5d721e84b5cd5ab019302bb644f6de72
2023-11-28 13:43:52 +00:00
Treehugger Robot
bc2fe4f526 Merge "Add HIDL support services to telephony_system_ext" into main am: 99ec4c5bff
Original change: https://android-review.googlesource.com/c/platform/build/+/2838551

Change-Id: I28bab7429533874f22f2130982c568e0aab39500
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-21 04:56:31 +00:00
Treehugger Robot
99ec4c5bff Merge "Add HIDL support services to telephony_system_ext" into main 2023-11-21 04:15:59 +00:00
Treehugger Robot
f7f3b97748 Merge "Add HIDL support services to handheld system_ext" into main am: 9955a2ca6c
Original change: https://android-review.googlesource.com/c/platform/build/+/2838469

Change-Id: I87701abca5d9f2b1b8646de5b94ad76552b8dc77
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-21 03:32:58 +00:00
Devin Moore
e80691f1c7 Add HIDL support services to telephony_system_ext
Some devices don't use base_system_ext.mk and instead use
telephony_system_ext.mk.
These also need the HIDL support services for devices launched before V.

Test: m
Bug: 305873288
Change-Id: I9a92c274291f547f607556eacf9f3d641350aa87
2023-11-21 02:58:57 +00:00
Treehugger Robot
9955a2ca6c Merge "Add HIDL support services to handheld system_ext" into main 2023-11-21 02:54:37 +00:00
Devin Moore
97cb15a1f5 Add HIDL support services to handheld system_ext
Some devices don't use base_system_ext.mk and instead use
handheld_system_ext.mk.
These also need the HIDL support services for devices launched before V.

Test: m
Bug: 305873288
Change-Id: Ic482216fa49c12f52668a499dedaa1ed19c0c4a7
2023-11-21 02:03:59 +00:00
Devin Moore
5a2b449c31 Merge "Respect PRODUCT_PACKAGES_SHIPPING_API_LEVEL in artifact path checker" into main am: ca2c656091
Original change: https://android-review.googlesource.com/c/platform/build/+/2838539

Change-Id: I5314dea9486a040f24882de5048b4b7e675c1701
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-20 22:34:36 +00:00
Devin Moore
ca2c656091 Merge "Respect PRODUCT_PACKAGES_SHIPPING_API_LEVEL in artifact path checker" into main 2023-11-20 21:49:35 +00:00
Devin Moore
d47e194115 Respect PRODUCT_PACKAGES_SHIPPING_API_LEVEL in artifact path checker
Test: lunch gsi_tv_arm-userdebug  && m
Bug: 299166571
Change-Id: Ic2ceab29967ef5343dc924c52e0928ada06671f8
2023-11-20 20:45:58 +00:00
Devin Moore
61fc96366b Merge changes from topic "reland_hidl_mapper_removal" into main am: 8faa4a5880
Original change: https://android-review.googlesource.com/c/platform/build/+/2828695

Change-Id: I6009b4b6a6f90cd392b5aea970f686f39780bea4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-18 00:11:51 +00:00
Devin Moore
8faa4a5880 Merge changes from topic "reland_hidl_mapper_removal" into main
* changes:
  Reapply "Stop including android.hidl.memory ashmem impl on V+ devices"
  Reapply "Remove android.hidl.memory library from the VNDK"
2023-11-18 00:01:21 +00:00
Roshan Pius
58f0337f22 build(nfc): Create framework-nfc sdk library
Splits out the NFC API classes that are going to be part of NFC mainline
module. Uses `framework-location` as reference.

Bug: 303286040
Test: Device boots up after flashing
Test: atest CtsNfcTestCases
Merged-In: I4b9901d2b3924157caebad0d083c4beacbad9749
Change-Id: I4b9901d2b3924157caebad0d083c4beacbad9749
2023-11-17 22:37:47 +00:00
Alyssa Ketpreechasawat
d87eef3862 Merge "Revert "Revert "Added new framework-pdf jar inside MediaProvider..."" into main am: 35fd025c5c
Original change: https://android-review.googlesource.com/c/platform/build/+/2822536

Change-Id: I5dcccfe5d7bb5efb16d08b229cde76ca67811bb5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-17 11:09:40 +00:00
Alyssa Ketpreechasawat
35fd025c5c Merge "Revert "Revert "Added new framework-pdf jar inside MediaProvider..."" into main 2023-11-17 10:30:17 +00:00
Jihoon Kang
1644e0c15e Merge "Revert^2 "Disable from-text stub build for sdk products"" into main am: 03aa6e725e
Original change: https://android-review.googlesource.com/c/platform/build/+/2836090

Change-Id: Id32152443558e7b6c18d8d6d38a424603068bf59
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-17 10:16:57 +00:00
Jihoon Kang
9e0998b777 Revert^2 "Disable from-text stub build for sdk products"
This change introduces `PRODUCT_BUILD_FROM_SOURCE_STUB` product
variable, which is set to true for sdk targets.

This change resubmits https://r.android.com/2834692.

Test: m TARGET_PRODUCT=sdk TARGET_RELEASE=trunk_staging sdk and inspect ninja query to verify that stubs are built from source
Bug: 311203379
Change-Id: I7d9f833ae76ceabbf2ce4df0141688e24ea164c8
2023-11-17 01:52:12 +00:00
Jihoon Kang
b0146455c7 Merge "Revert "Disable from-text stub build for sdk products"" into main am: 3666e601ec
Original change: https://android-review.googlesource.com/c/platform/build/+/2835872

Change-Id: Ifda62b2e985c5e47b7a1f40351b5fb063b51a42c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-17 01:20:06 +00:00
Treehugger Robot
5d763858eb Merge "Disable from-text stub build for sdk products" into main am: b0d8fafba8
Original change: https://android-review.googlesource.com/c/platform/build/+/2834692

Change-Id: I9cf9c532ae3eb1b94bead4400b0aef1172d818eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-17 01:04:08 +00:00
Jihoon Kang
608493e0ff Revert "Disable from-text stub build for sdk products"
Revert submission 2832580-sdk-from-source-stub

Reason for revert: Breaking sdk builds
Reverted changes: /q/submissionid:2832580-sdk-from-source-stub

Change-Id: Id2e1bf4b5d513d12bb794405a74dfdbed870c4e1
2023-11-17 00:58:42 +00:00
Jihoon Kang
3621c914a6 Disable from-text stub build for sdk products
This change introduces `PRODUCT_BUILD_FROM_SOURCE_STUB` product
variable, which is set to true for sdk targets.

Test: m TARGET_PRODUCT=sdk TARGET_RELEASE=trunk_staging sdk and inspect ninja query to verify that stubs are built from source
Bug: 311203379
Change-Id: I99ad04fb6b61eebfeee68f23f8865ab55d69cdbd
2023-11-16 23:09:29 +00:00
Treehugger Robot
6ea8770753 Merge "Revert "[CrashRecovery] Add module to BCP and SSCP"" into main am: a463723f16
Original change: https://android-review.googlesource.com/c/platform/build/+/2829637

Change-Id: If726500da1b4e6235a0dc54bc10d3d8d41ee70bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-15 12:10:42 +00:00
Treehugger Robot
a463723f16 Merge "Revert "[CrashRecovery] Add module to BCP and SSCP"" into main 2023-11-15 11:43:29 +00:00
Harshit Mahajan
1b22a8e7dd Revert "[CrashRecovery] Add module to BCP and SSCP"
Revert submission 2789412-cherrypicker-L65800000963076834:N61100001405784943

Reason for revert: Leading to merge conflict
Bug: b/311082270

Reverted changes: /q/submissionid:2789412-cherrypicker-L65800000963076834:N61100001405784943

Change-Id: I2cbe26499ad5ce938db7cdd3ebaf9c2e48982de9
Merged-In: I39dfab62897d907023720b594d6929397403d314
2023-11-15 08:26:47 +00:00
Alyssa Ketpreechasawat
566f69178c Merge "Remove jars in PRODUCT_APEX_BOOT_JARS_FOR_SOURCE_BUILD_ONLY (e.g. framework-pdf in MP) from ApexBootJars when prebuilt is enabled." into main am: c7bc53999d
Original change: https://android-review.googlesource.com/c/platform/build/+/2822531

Change-Id: I28dde980714a4eb4571f605c6e217f5750e8f6bd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-14 19:44:58 +00:00