Commit graph

316 commits

Author SHA1 Message Date
Steven Moreland
be4cdda31b Update VNDK version for common graphics HALs.
We are adding things to them, and in order for core libraries like libui
to use them, the newer versions need to be in the VNDK.

Exempt-From-Owner-Approval: cherry-pick
Bug: 170435409
Test: build
Change-Id: I18495d303ae8bd68f35631b2be2dc9dcf915e991
Merged-In: I18495d303ae8bd68f35631b2be2dc9dcf915e991
2020-10-20 00:23:17 +00:00
Devin Moore
68a3cef45e Update vndk list for android.hardware.common.fmq
Change created with update-vndk-list.sh for the new package.

Test: m
Bug: 142326204
Change-Id: Iecd2ad2fc2f00c0214dc3ad4bf60661b492c5e4f
2020-10-09 13:48:01 -07:00
Janis Danisevskis
3cc7647af1 Add android.system.keystore2-V1-ndk_platform.so to gsi/current.txt
Change-Id: Icd9644e468a29d5ca47291faaaa9f5ca3fc4902c
2020-09-29 07:09:45 -07:00
Xin Li
c2fd58fe67 Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)
Bug: 166295507
Merged-In: Ie00dbea32e074838466eeed00f316250c2b4f3c2
Change-Id: I9ee3441fd4d063b9dd489cb1b01d3dbc11332457
2020-08-29 01:19:44 -07:00
Dan Willemsen
a3f6632de9 Remove obsolete PDK build functionality
This hasn't worked for a couple years, and continues to bitrot. Just
remove it.

Test: treehugger
Change-Id: Iea6caf3c08252a560155e095135c5ddaad712991
Merged-In: Iea6caf3c08252a560155e095135c5ddaad712991
2020-08-11 01:12:01 +00:00
SzuWei Lin
a42efe57a3 Deprecate VNDK-lite support from Legacy GSI
The VNDK-lite is deprecated from S. Which is used to support the
devices without enabling VNDK.

The patch removes VNDK-lite from Legacy GSI. Also, reboot the
device without enabling VNDK in both non-Legacy and Legacy GSI.

Bug: 158719241
Test: boot aosp_arm64-userdebug on a Pixel 3 device
Test: boot aosp_arm64_ab-userdebug on a Pixel 2 device
Change-Id: I70a944bb5a2a0347ab753d29eca3d1bfcae54526
2020-08-06 14:04:06 +08:00
Devin Moore
e46fd2d83d Add android.hardware.common and android.hardware.graphics.common
Added by calling update-vndk-list.sh

Test: Builds
Change-Id: I04f4ac48e9383faebed89a673dd4856d07dd5256
2020-07-15 15:46:17 -07:00
Jooyung Han
861f077f09 Remove hidl VNDK libs
hidl libs are removed from VNDK unless used by other VNDK libs.

Bug: 143933769
Test: update-makefiles.sh && m com.android.vndk.current
Merged-In: I25a787defb1755107c0538eabd21a0bfcf8374b1
Change-Id: I25a787defb1755107c0538eabd21a0bfcf8374b1
(cherry picked from commit 9438fb2c15)
2020-07-07 16:20:41 +09:00
Jooyung Han
37aeef03d4 Remove hidl VNDK libs
hidl libs are removed from VNDK unless used by other VNDK libs.

Bug: 143933769
Test: update-makefiles.sh && m com.android.vndk.current
Merged-In: I25a787defb1755107c0538eabd21a0bfcf8374b1
Change-Id: I25a787defb1755107c0538eabd21a0bfcf8374b1
(cherry picked from commit 9438fb2c15)
2020-07-02 12:48:14 +09:00
Treehugger Robot
7e0ddb1e59 Merge "Skip mount /oem on GSI" am: 03db4fbbb7 am: f775227f30
Original change: https://android-review.googlesource.com/c/platform/build/+/1331103

Change-Id: Id7dcfff53ea7635ffc142b37fe25dfdc408c82c1
2020-06-17 08:55:48 +00:00
SzuWei Lin
f8475cc49f Skip mount /oem on GSI
GSI self contains the full Android system part. Skip mounting
the oem partition on GSI, which is a part of system.

Bug: 158433698
Test: build aosp_arm64-userdebug.
Test: Check the file /system/system_ext/etc/init/config/skip_mount.cfg
Change-Id: I689e1cc8a68b980d68b1d6ef1d715203db078dc2
2020-06-12 16:25:44 +08:00
David Zeuthen
a911c7ced7 Update Identity Credential AIDL and Keymaster AIDL to V2 in VNDK list
Bug: 156076333
Bug: 154631410
Test: atest VtsHalIdentityTargetTest
Test: atest android.security.identity.cts
Change-Id: Iac45277dd49b43b92da91139de056d44ff1e041f
2020-05-18 16:55:50 -04:00
David Zeuthen
d5505f2c74 Update Keymaster AIDL to V2 in VNDK list
Bug: 156076333
Test: atest VtsHalIdentityTargetTest
Test: atest android.security.identity.cts
Change-Id: I293f4cca815b62bbbaf6334b36a83c669694fd12
2020-05-08 12:50:44 -04:00
Svet Ganov
c3b0b52e58 Updating platform SDK version for R
* Update SDK level and make REL
  * Update GSI lib list

Test: build + boot

bug:150281259

Change-Id: Ib286bb7499e4857842633003b8ef98b8d0fb3e77
Merged-In: Ib286bb7499e4857842633003b8ef98b8d0fb3e77
2020-05-03 09:40:27 -07:00
David Zeuthen
236601f86d Update Identity Credential to V2 in VNDK list
Bug: 154631410
Test: atest VtsHalIdentityTargetTest
Test: atest android.security.identity.cts
Change-Id: I7d08d0aec7bab1f456237e46a2c3ae74b02020f9
2020-04-28 19:37:09 -04:00
Jiyong Park
086c5238ad libselinux is LLNDK, not VNDK-core
libselinux has stable C APIs and therefore provides a stub library for
Mainline clients. It is not copied into any Mainline modules and the
only instance of the lib in /system/lib serves all of them.

However for vendors, we still had another copy of libselinux in VNDK
(e.g. in the VNDK APEX that is served via the path /system/lib/vndk).
Since the library is guaranteed to have stable C APIs, there is no
reason to keep the vendor variant of the library in VNDK. Keeping it in
VNDK would be just a waste of storage space.

This change removes libselinux from VNDK and marks it as LLNDK. The
single instance of if in /system/lib serves vendor processes as well as
Mainline modules.

Exempt-From-Owner-Approval: cherry-pick from AOSP

Bug: 151303316
Test: m
Merged-In: I7106ac236770b55b147c8a7f524bc2eddbddedb1
(cherry picked from commit 0b7b97bfc3)
Change-Id: I7106ac236770b55b147c8a7f524bc2eddbddedb1
2020-04-13 13:08:31 +09:00
Jiyong Park
0b7b97bfc3 libselinux is LLNDK, not VNDK-core
libselinux has stable C APIs and therefore provides a stub library for
Mainline clients. It is not copied into any Mainline modules and the
only instance of the lib in /system/lib serves all of them.

However for vendors, we still had another copy of libselinux in VNDK
(e.g. in the VNDK APEX that is served via the path /system/lib/vndk).
Since the library is guaranteed to have stable C APIs, there is no
reason to keep the vendor variant of the library in VNDK. Keeping it in
VNDK would be just a waste of storage space.

This change removes libselinux from VNDK and marks it as LLNDK. The
single instance of if in /system/lib serves vendor processes as well as
Mainline modules.

Bug: 151303316
Test: m
Change-Id: I7106ac236770b55b147c8a7f524bc2eddbddedb1
2020-03-31 17:04:54 +09:00
Ilya Matyukhin
de2cd1f08c Revert "Add biometrics.face@1.1 to gsi"
This reverts commit 1677505a8f.

Reason for revert: this interface is untested in R.

Bug: 151331855
Change-Id: I77c12a26132dbf310f95b2824070b00ffc7d9f9f
2020-03-24 02:39:46 -07:00
Jooyung Han
f5e53004cd Remove vnd*.libraries.txt from /system/etc
These files are moved to VNDK APEX.

Bug: 145184886
Test: bulid && boot
Merged-In: I85ab025e1ad490ee7704e4219c5ee611c83ca429
Change-Id: I85ab025e1ad490ee7704e4219c5ee611c83ca429
(cherry picked from commit 93cb9b5b31)
2020-03-08 13:11:24 +09:00
Jooyung Han
93cb9b5b31 Remove vnd*.libraries.txt from /system/etc
These files are moved to VNDK APEX.

Bug: 145184886
Test: bulid && boot
Change-Id: I85ab025e1ad490ee7704e4219c5ee611c83ca429
2020-03-07 04:54:23 +09:00
Sarah Chin
817e013a00 Merge "Revert "Set up IRadioConfig 1.3"" 2020-02-27 05:46:08 +00:00
Sarah Chin
bd1fd8eb32 Revert "Set up IRadioConfig 1.3"
This reverts commit 86167418b7.

Reason for revert: Change will not be supported by vendor, so HAL for RadioConfig is no longer necessary.

Change-Id: Iea50dcf86076a72b16276496410e8a658e9a7ce5
Merged-In: Ifc3323584a01a8636d4cf30da37d29b297252d26
2020-02-25 00:52:44 +00:00
Haoxiang Li
0ea8dc1cb4 [SV HIDL] Update VNDK library list
Bug: 148618804

Test: Build passed.

Change-Id: Iff0738ffc4827a9713f3a82da05eb8adf47f87fe
2020-02-21 06:28:40 +00:00
Automerger Merge Worker
a86e4852e1 Merge "Add a module for VNDK library lists" am: 63c28a8bd9 am: 7785e7a030 am: f89db1e188
Change-Id: Iceb13ec74613b60075e23d5bbf1f77e6557ef5b7
2020-02-20 02:50:16 +00:00
Hsin-Yi Chen
63c28a8bd9 Merge "Add a module for VNDK library lists" 2020-02-20 02:09:44 +00:00
Sarah Chin
67285aac05 Merge "Revert "Set up IRadioConfig 1.3"" 2020-02-20 00:06:15 +00:00
Automerger Merge Worker
4a297d9eec Merge "Port IdentityCredential HAL to AIDL." am: 0bb795c9d7 am: ba58fe13b6 am: f1b639172e
Change-Id: I05cd3a781d6ac4a1401619fbbcad095c24a06c8f
2020-02-19 23:18:16 +00:00
David Zeuthen
0bb795c9d7 Merge "Port IdentityCredential HAL to AIDL." 2020-02-19 21:14:40 +00:00
Hsin-Yi Chen
0aed272b24 Add a module for VNDK library lists
This commit adds a file group which consists of all VNDK library lists.
VTS depends on the file group.

Bug: 147454897
Test: make vts_vndk_dependency_test
Change-Id: Id9e98e070879cd9126f2bfb940b6b0c0f5fb97ba
2020-02-19 16:59:21 +08:00
TreeHugger Robot
3cd8629e7e Merge "Add newly created Sensors HAL 2.1 to VNDK list" 2020-02-19 04:13:50 +00:00
TreeHugger Robot
7c0b79847b Merge "Add newly created Contexthub HAL 1.1 to VNDK list" 2020-02-19 02:39:52 +00:00
Sarah Chin
796fbcbefa Revert "Set up IRadioConfig 1.3"
This reverts commit 97dc04f02a.

Reason for revert: Change will not be supported by modem, so HAL for RadioConfig is no longer necessary.

Change-Id: Ifc3323584a01a8636d4cf30da37d29b297252d26
2020-02-18 23:16:10 +00:00
Automerger Merge Worker
94990a3860 Merge "Implement BOARD_VNDK_VERSION" am: b21ca5795e am: d3a28a3676 am: 32773f7e24
Change-Id: I1ce92958abc9711f2919a546cd91330edda212b4
2020-02-13 11:51:51 +00:00
Treehugger Robot
b21ca5795e Merge "Implement BOARD_VNDK_VERSION" 2020-02-13 11:01:10 +00:00
Automerger Merge Worker
8b50f17e22 Merge "rm libbinderthreadstate" am: 6bf4a7d0be am: a026dfb5dc am: 7a81802e2a
Change-Id: I9bc6b19c7c506158f19049c73cdf34a8a804f6ee
2020-02-12 21:34:24 +00:00
Steven Moreland
6bf4a7d0be Merge "rm libbinderthreadstate" 2020-02-12 21:10:48 +00:00
David Zeuthen
361ca8fd81 Port IdentityCredential HAL to AIDL.
Bug: 111446262
Test: atest android.security.identity.cts
Test: VtsHalIdentityTargetTest
Test: android.hardware.identity-support-lib-test
Change-Id: I471569a6db9311171faf7520697cd7f67f80078c
2020-02-12 09:57:41 -05:00
TreeHugger Robot
dc7d4881a0 Merge "Add version 2.1 of camera server interface" 2020-02-08 00:32:40 +00:00
Ivailo Karamanolev
d8ffc1d61a Update VNDK library list adding Lights AIDL HAL
Test: manual; build succeeds after adding new HAL
Bug: 142230898
Change-Id: I6f8a90eb93c3b342849992e25dbb14a2a5f9d8e1
Merged-In: Ie1c9d9b4285dfeb1aefd33c51e85a74ee02744d8
2020-02-07 01:49:18 +01:00
Anthony Stange
cc2ff6f732 Add newly created Sensors HAL 2.1 to VNDK list
Bug: 144139857
Test: compile
Change-Id: Id62b4903d8f4ac8f0ac78c0210a3c6122b78c84a
2020-02-06 19:43:37 -05:00
Steven Moreland
8a73c7ff6f rm libbinderthreadstate
Empty, since the functionality was moved to libbinder/libhwbinder to
remove extra lib dependency.

Bug: 148692216
Test: N/A
Change-Id: I9b2dbd50caff1bb6526834f1438c1fcf90432986
2020-02-06 13:11:34 -08:00
Automerger Merge Worker
f6b0fe52e2 Merge "Install VNDK_USING_CORE_VARIANT_LIBRARIES" am: 1d5f5d9be6 am: 3324364f3e am: ae1abcd2b3
Change-Id: I4c8ea3070b7219810aa3872ccff1c48994d874e0
2020-02-05 15:22:55 +00:00
Jooyung Han
ce01a3b014 Install VNDK_USING_CORE_VARIANT_LIBRARIES
With TARGET_VNDK_USE_CORE_VARIANT := true, some VNDK libraries are not
installed and instead system variants are used at runtime.

When building system only, VNDK_USING_CORE_VARIANT_LIBRARIES are not
installed under /system because there is no dependency to trigger
installing. (By definition, /vendor modules depends on vndk libs)

Bug: 148803529
Test: lunch aosp_cf_x86_go_phone-userdebug
      m systemimage # should install vndk libraries of core variant

Change-Id: Ied4347969955491b13dc674f2e8453d76592d1d7
2020-02-05 16:18:09 +09:00
Anthony Stange
da6948f25f Add newly created Contexthub HAL 1.1 to VNDK list
Bug: 135951924
Test: compile
Change-Id: Ic0e14bc86ac55c0f7f2405bbfbc03e62aecd8396
2020-02-04 20:51:49 -05:00
Changyeon Jo
c2286015af Add libbufferqueueconverter to VNDK
Bug: 147010694
Test: m -j
Change-Id: Iea9bf17b8a0e45743f36c5ca85df7fe96a14d79c
Signed-off-by: Changyeon Jo <changyeon@google.com>
2020-02-03 18:57:11 -08:00
Treehugger Robot
d0511cfbbb Merge "Update VNDK library list for IDumpstateDevice 1.1." 2020-01-31 01:06:19 +00:00
Shuzhen Wang
ace89548f7 Add version 2.1 of camera server interface
Test: Build
Bug: 148181647
Change-Id: Ib65feae55e9bd651c8b3ba1e9ead4a44dd27b9fd
2020-01-26 16:20:41 -08:00
Sasha Kuznetsov
e6e1483802 Merge "Update current.txt with measurement_corrections 1.1" 2020-01-25 23:31:41 +00:00
Janis Danisevskis
e8484f2160 Remove keymaster libraries from VNDK
These keymaster libraries constitute a service to vendors
who want/need to implement a keymaster trusted app, or want
to wrap an older keymaster HAL when updating an older device
to a newer Android version. It is not necessary to implement
or link against these libraries to be Android or Treble
compliant. Many vendors have completely independent
implementations of keymaster. Vendors should be able to
provide there own versions of these libraries or ship without
them entirely. /system does not depend on /vendor to have
a compatible version of these libraries.

Test: N/A
Bug: 139955894
Merged-In: I9286b36d26f09e26763df17758f9bec9e2b60ec8
Change-Id: I9286b36d26f09e26763df17758f9bec9e2b60ec8
2020-01-24 14:44:36 -08:00
TreeHugger Robot
0cedb30a05 Merge "Remove keymaster libraries from VNDK" 2020-01-24 21:04:39 +00:00