Commit graph

7225 commits

Author SHA1 Message Date
Yu-Ting Tseng
7151b71b3c Add uprobestats to base_system.mk.
Ignore-AOSP-First: uprobestats currently only exists on the internal branch
Test: m && vendor/google/tools/flashall &&
  adb shell ls /system/bin/uprobestats
Bug: 296108553
Change-Id: I7c801e841e467a7653a076413e9d58b9bc16b1e4
2024-01-25 15:48:53 -08:00
Treehugger Robot
ee12a6552d Merge "Install libvintf_jni" into main am: b14bf5f6e9 am: 88c1294fb8
Original change: https://android-review.googlesource.com/c/platform/build/+/2891591

Change-Id: Ibbc1af4683aac3e62492a50ad6c2a7fe6831638c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-21 23:16:17 +00:00
Treehugger Robot
b14bf5f6e9 Merge "Install libvintf_jni" into main 2024-01-21 21:56:31 +00:00
Paul Lawrence
b1d853e013 Merge "Add DeviceDiagnostics.apk" into main 2024-01-19 17:54:12 +00:00
Roshan Pius
ba90236cc3 Merge "Copy com_android_nfc certs for sepolicy rule" into main 2024-01-19 14:44:24 +00:00
Paul Lawrence
3cff79686f Add DeviceDiagnostics.apk
Bug: 309886423
Test: DeviceDiagnostics.apk is on device, runs
Ignore-AOSP-First: DeviceDiagnostics.apk is internally developed, not in
AOSP

Change-Id: I7bb05f1ac5082b2ad8ee051ea1d5d782d8c55735
2024-01-18 09:11:39 -08:00
Roshan Pius
52dc338031 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)
Change-Id: Ia0c1c7228323dec4d283f469701ae3606e2fadca
2024-01-17 10:28:26 -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
b669528ef4 Merge "Remove RELEASE_EXPOSE_FLAGGED_API and PRODUCT_NEXT_RELEASE_HIDE_FLAGGED_API export" into main am: 0ac2d7fb7a am: 51aab38cd3
Original change: https://android-review.googlesource.com/c/platform/build/+/2912014

Change-Id: If521bf07e9f68fd0b0e0b1c8ede22e03af5eba06
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-17 01:42:48 +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
7d26fd45c3 build: Set soong variable for enabling NFC apex bootclasspath fragment
Bug: 303286040
Test: Compiles (with RELEASE_PACKAGE_NFC_STACK=NfcNci)
Test: Compiles (with RELEASE_PACKAGE_NFC_STACK=com.android.nfcservices)
Change-Id: Ibd1e28c7b6bcbff81c98e6be91d6a11b1e3ab1ae
2024-01-13 14:53:41 -08: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
Roshan Pius
a6d8073bcf 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
Change-Id: Ib2170146d07763ff6c852ce810497ebe1ac2eead
2024-01-12 18:15:34 -08:00
Almaz Mingaleev
e8397e56bb Merge "Use tzdata's flag in PRODUCT_PACKAGES." into main am: e882108ee5 am: c0ac71c469 am: 2b13850bf8
Original change: https://android-review.googlesource.com/c/platform/build/+/2901015

Change-Id: I41b0802e038daf2eba95a4aba176d83d4f1e9239
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-10 16:15:58 +00: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
Dennis Shen
ef99669c6f assign value to soong config variable
Ignore-AOSP-First: this is for internal build only

Change-Id: I7ebaaba4ff58949909f09375bbd37d9be280f3fb
2024-01-08 13:35:51 +00:00
Treehugger Robot
de10ae3494 Merge "New LLNDK libvendorsupport.so for vendor api level" into main am: 88b268f4b2 am: 8ea7577fc5 am: 4b0a927c2b
Original change: https://android-review.googlesource.com/c/platform/build/+/2897102

Change-Id: Ie1a97aea1866f208d75c5b12ecfaad7b8e9606c3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-08 04:14:38 +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
61466a0bd2 Merge "Update OWNERS files under build/make." into main am: c9104b3392 am: 0eb8899afd am: ffe3e64257
Original change: https://android-review.googlesource.com/c/platform/build/+/2893703

Change-Id: I18348dacbccc3eb0b08b02e397988f00f3423a4f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-03 18:28:52 +00:00
Anna Bauza
551acb1903 Adding avatar picker to install on all platform phones and tablets
Bug: b/306336441
Test: manual
Change-Id: Idb550019b13d47e7f0dc389030d508db7d1057f3
Ignore-AOSP-First: Avatar picker app is not yet to be visible in AOSP
2024-01-03 13:59:51 +00: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
Harry Cutts
0942f74134 Include evemu-record command in system image
This command is useful for collecting input events that can then be used
to reproduce bugs or evaluate the quality of input code, for example.

Bug: 302297266
Test: build a system image, check it includes /system/bin/evemu-record
Ignore-AOSP-First: evemu-record is not present in AOSP yet
Change-Id: I21eb7d5dc8cef9c1dd797ba1ab2ee830a8a5a42b
2023-12-13 19:01:17 +00:00
Hansen Kurli
c46e7ab092 Merge "Remove racoon, mtpd, pppd, ip-up-vpn" into main am: f388a25f97 am: 3bdc58adee am: 993989ef94
Original change: https://android-review.googlesource.com/c/platform/build/+/2864095

Change-Id: I5a2c2d192c6d455c661c7b452e1ac5531437cc86
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-08 10:26:03 +00: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
c5a6d4ca60 Merge "Revert "Revert "handheld_system: Use build flag for NFC stack in..."" into main am: d5074b3d7d am: ed97f85120 am: 567062eaa0
Original change: https://android-review.googlesource.com/c/platform/build/+/2858127

Change-Id: Ib7dd0132dd8cb0b4f515b4e98a8410c577f3fdb1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-05 17:20:35 +00: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
Liming Wu
291816f210 Merge "Revert "handheld_system: Use build flag for NFC stack inclusion"" into main 2023-12-04 23:49:57 +00:00
Liming Wu
bf8ff2944f Revert "handheld_system: Use build flag for NFC stack inclusion"
Revert submission 25531363-nfc_apex_reland_flags

Reason for revert: < Build Break: https://android-build.googleplex.com/builds/culprit-assistant/run/40f1ef34-1727-4106-abd0-f064d6d0f781>

Bug:  314799938

Reverted changes: /q/submissionid:25531363-nfc_apex_reland_flags

Change-Id: I4cbc4eb47837bbd3d52010c18479500def7da434
2023-12-04 23:16:08 +00:00
Treehugger Robot
33c9186a36 Merge "handheld_system: Use build flag for NFC stack inclusion" into main 2023-12-04 17:40:04 +00:00
Roshan Pius
dfdfb0bea7 handheld_system: Use build flag for NFC stack inclusion
Will be used to switch from the current NFC APK to new NFC mainline module.

Bug: 303286040
Test: Compiles
Change-Id: If2d6d0248faabe19e173074aacbe5f960f026fb5
2023-12-01 19:37:05 +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
Mark White
530142a35a framework-minus-apex build should include framework-res
If an eng modifies a Framework resource and builds 'framework-minus-apex' it should rebuild framework-res

Test: m framework-minus-apex
Bug: 311452668
Ignore-AOSP-First: merge conflicts, need to be merged in downstream first
Change-Id: Ia8a7df9ce7c74bd942686ea520361f55fe4a42eb
2023-12-01 16:13:50 +00:00
Treehugger Robot
8e2fec72ce Merge "Increase scudo MTE buffer for fullmte devices" into main am: 1a9dd1c7de am: 38bfccfdc9 am: 92c4d85ee3
Original change: https://android-review.googlesource.com/c/platform/build/+/2819967

Change-Id: Ibab1ced474f6b93711cdadb1ceab087da1b056e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-01 04:06:09 +00:00
Treehugger Robot
92c4d85ee3 Merge "Increase scudo MTE buffer for fullmte devices" into main am: 1a9dd1c7de am: 38bfccfdc9
Original change: https://android-review.googlesource.com/c/platform/build/+/2819967

Change-Id: I12bfe69bc530d58c448c6293d825b0a8dbbe8b46
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-01 03:34:46 +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
9c37651cdc Merge changes from topics "disable-art-service-dexopt", "remove-preopt-extracted-apk" into main am: 1f61e734d6 am: 9b03e697a0 am: 7a0c1d99cd
Original change: https://android-review.googlesource.com/c/platform/build/+/2847398

Change-Id: I8f27633297cfec61fc3c7f92d198782e36f9416e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-29 11:54:16 +00:00
Jiakai Zhang
7a0c1d99cd Merge changes from topics "disable-art-service-dexopt", "remove-preopt-extracted-apk" into main am: 1f61e734d6 am: 9b03e697a0
Original change: https://android-review.googlesource.com/c/platform/build/+/2847398

Change-Id: I26e69a20f89edae072e096e2d8933fec0c305532
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-29 11:23:26 +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
Jan Sebechlebsky
8deb7714a2 Move virtual camera service (build flag)
from base_system.mk to handheld_system.mk.
Virtual camera service doesn't make sense on devices
without camera server (which is defined in handheld_system.mk).

Bug: 301023410
Bug: 311679099
Test: build
Ignore-AOSP-First: Virtual Camera HAL target is not merged in AOSP.
Change-Id: I67c18cfa7a2717cce738b17a53199fa595254068
2023-11-22 18:32:56 +00:00
Pascal Muetschard
d3b47f410b Move counter producer off of vendor partition.
Although the binary looks for a vendor provided shared library,
it is an otherwise vendor agnostic tool. Moving it off the
vendor partition also has the added benefit of it not requiring
root to be run.

Bug: b/273907878
Test: manual
Ignore-AOSP-First: change in topic with internal-first project
Change-Id: Ib7d317fdba39bbe8a61ece1e3052ebc334b5a274
2023-11-21 16:02:29 +00:00
Treehugger Robot
6893cf828c Merge "Add HIDL support services to telephony_system_ext" into main am: 99ec4c5bff am: bc2fe4f526 am: 891a28ab5d
Original change: https://android-review.googlesource.com/c/platform/build/+/2838551

Change-Id: I3d3d0da759d9e56f6947c697c34754532b961ae1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-21 06:00:50 +00:00