Commit graph

169 commits

Author SHA1 Message Date
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
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
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
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
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
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
Hsin-Yi Chen
63c28a8bd9 Merge "Add a module for VNDK library lists" 2020-02-20 02:09:44 +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
b21ca5795e Merge "Implement BOARD_VNDK_VERSION" 2020-02-13 11:01:10 +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
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
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
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
Treehugger Robot
d0511cfbbb Merge "Update VNDK library list for IDumpstateDevice 1.1." 2020-01-31 01:06:19 +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
Inseob Kim
f0cec69de9 Implement BOARD_VNDK_VERSION
This allows BOARD_VNDK_VERSION to be set to old versions. With VNDK
snapshot and vendor snapshot installed, newer system and older vendor
image can be built in the same time.

Bug: 65377115
Test: 1) VNDK_SNAPSHOT_BUILD_ARTIFACTS=true m dist vndk vendor-snapshot
Test: 2) install snapshot under source tree
Test: 3) set BOARD_VNDK_VERSION and boot cuttlefish
Change-Id: Ic5fefc8bcb866584b27f021a429cb6670a2e3048
2020-01-23 12:52:25 +00:00
Jiyong Park
d918cadcc0 libprotobuf-cpp-lite is removed from VNDK.
It is demoted to vendor_available library. Therefore it will be
installed to /vendor/lib[64] instead of /system/lib[64]/vndk.

Bug: 147780271
Test: m
Merged-In: I40a94a3ecf55592b8e2f83f43070fa958c532cef
Change-Id: I40a94a3ecf55592b8e2f83f43070fa958c532cef
(cherry picked from commit 87889b0d4d)
2020-01-23 13:11:09 +09:00
Treehugger Robot
4b26ce076a Merge "Add android.hardware.secure_element@1.2" 2020-01-23 02:00:02 +00:00
Hunter Knepshield
0096fece8b Update VNDK library list for IDumpstateDevice 1.1.
Bug: 143183758
Bug: 143184495
Test: make
Change-Id: I5a89afc0be91c1874ae38b6e00f8239c2cec71ab
Merged-In: I5a89afc0be91c1874ae38b6e00f8239c2cec71ab
(cherry picked from commit c6cd7f43d1)
2020-01-22 17:44:25 -08:00
Treehugger Robot
3cff56942a Merge "libprotobuf-cpp-full is removed from VNDK." 2020-01-20 07:32:36 +00:00
Hsin-Yi Chen
4367e6cc51 Merge "Compare existing ABI dump list with LSDUMP_PATHS" 2020-01-17 02:09:39 +00:00
Wei Wang
add214cdee Merge "Add stable aidl power HAL" 2020-01-16 22:35:42 +00:00
Jiyong Park
8da1b9add3 libprotobuf-cpp-full is removed from VNDK.
It is demoted to vendor_avaialble library. Therefore it will be
installed to /vendor/lib[64] instead of /system/lib[64]/vndk.

Bug: 147780271
Test: m
Change-Id: I9db6147d6e6005177660e56e3ee42475c103d198
2020-01-17 00:55:52 +09:00
Hsin-Yi Chen
62de555119 Compare existing ABI dump list with LSDUMP_PATHS
This commit fixes the check for redundant files in prebuilts/abi-dumps.
Some ABI dump file names are different from the module names. The list
of existing files should be compared with LSDUMP_PATHS which are the
files generated by soong.

This commit also adds the check for the files in
prebuilts/abi-dumps/platform.

Bug: 147409497
Test: make
Change-Id: If304afb116e9b5d3cb7ceaf74822d5a19ebe1a35
2020-01-16 10:46:30 +08:00
David Zeuthen
dcc85ca5dd Add Identity Credential 1.0
Bug: 111446262
Test: VtsHalIdentityCredentialTargetTest
Test: android.hardware.identity-support-lib-test
Test: CtsIdentityTestCases
Change-Id: I91bf3a0551c4c0358d5f0de066739dcc05de1642
2020-01-14 11:21:03 -05:00
Wei Wang
6231592500 Add stable aidl power HAL
Test: build
Change-Id: Ia3edaf6df52d2725cd6c2d34e5985b1dc16e8f3c
2020-01-10 14:18:23 -08:00
Steven Moreland
c8b0187c8b Merge "vibrator: use package as name" 2020-01-07 22:43:01 +00:00
Steven Moreland
7e2ec0e5af update-vndk-list.sh delinated with ticks in error
People have asked me on several occassions how to fix this error. It's
somewhat confusing since scripts aren't usually on a path. However, in
this case, the script is added to the path on host. Hopefully, using
tick marks here will make that more clear.

Bug: N/A
Test: N/A
Change-Id: I8601a5a9eb348b2e358875b45eae57ec910c9a06
2020-01-06 15:05:07 -08:00
Steven Moreland
af96f5ff4e vibrator: use package as name
In order to provide a more descriptive name, and to be consistent
with HIDL, the stable AIDL package names are switching from
vintf-vibrator format to the package format
(android.hardware.vibrator).

Bug: N/A
Test: all build time
Change-Id: I382074d66b06669876d8f9fa4fc95b8a9c4dbf2a
Merged-In: I382074d66b06669876d8f9fa4fc95b8a9c4dbf2a
2020-01-06 14:08:00 -08:00
Jack Yu
7f00905643 Add android.hardware.secure_element@1.2
Test: build pass
Bug: 142495673
Change-Id: I26e63a960afa721454aee9000d57655068b11a7f
2019-12-17 09:25:50 +00:00
Jooyung Han
79961687db Merge "Move extra VNDKs to /system_ext" 2019-12-05 08:55:31 +00:00
Jooyung Han
fe15dd1eb7 Move extra VNDKs to /system_ext
Extra VNDKs are now installed under /system_ext in APEX format with
a phony target "vndk_apex_snapshot_package".

There are still files remained in /system/etc(*.libraries.<VER>.txt)
which are installed with "vndk_snapshot_packages".

These files are already packaged into VNDK APEXes, but linkerconfig and
libnativeloader still use them from /system/etc.(b/145184886)

Bug: 137802149
Test: lunch aosp_arm64
  && flash system.img on Q device
  && boot

Change-Id: I94c340d6f1c1af6ab1ae93c22b0a98fd4c10262e
2019-11-27 22:16:16 +09:00
Sarah Chin
bdb8b6cf20 Merge "Set up IRadioConfig 1.3" 2019-11-26 18:52:26 +00:00
Sarah Chin
86167418b7 Set up IRadioConfig 1.3
Test: build
Bug: 144101226
Change-Id: Ia5ca23e07eda0d4db8a8c701181c073745abb094
Merged-In: Ia5ca23e07eda0d4db8a8c701181c073745abb094
2019-11-25 16:26:18 -08:00
Steven Moreland
fcd0862632 Merge "vintf vibrator vndk" 2019-11-25 17:31:26 +00:00
Shawn Willden
8e2b776def Add Keymaster 4.1
Bug: 140193672
Bug: 140192237
Bug: 140824829
Test: Will be in a future CL
Change-Id: I1dccdf1ba06dc834e31d20c782523c92666847be
2019-11-20 12:14:36 -07:00
Steven Moreland
86c9d855b3 vintf vibrator vndk
Bug: 141828236
Test: build
Change-Id: Ia1826058e67a3b817beeafc153dae54c1afa4423
2019-11-19 18:31:00 -08:00
Jakub Pawlowski
777d38b5a6 bluetooth: V1.1
Add ISO

Bug: 144413056
Change-Id: Ice792cf552b0c494499fb855eee711b518850918
2019-11-20 00:48:24 +01:00
Steven Moreland
ea5e5e5102 Remove vibrator@1.4 from VNDK
Since this HAL was converted to AIDL.

Bug: 141828236
Test: N/A
Change-Id: I77ce9b07084774295f64579200ee36f4c05c5a71
2019-11-11 02:32:45 +00:00
Mikhail Naganov
0ee9b3edc9 Introduce audio V6 HAL
Test: push V6 to device and check audio works fine
Bug: 134940862
Change-Id: I761d05708d99287b9fe255c55724f92c8a3388e7
Merged-In: I761d05708d99287b9fe255c55724f92c8a3388e7
Signed-off-by: Kevin Rocard <krocard@google.com>
2019-11-07 14:44:52 -08:00
Henry Fang
d0e1aa4a83 update build file to include cas@1.2
Test: Manual
bug: 141783130
Change-Id: I4692b21a15685cfa4377d3aa3219a4f424530506
Merged-In: I4692b21a15685cfa4377d3aa3219a4f424530506
2019-11-06 22:58:44 +00:00
Jooyung Han
037b3e081c Use MakeVar from soong instead of hardcoding
check-vndk-list target reads the vndk.libraries.txt file from
SOONG_VNDK_LIBRARIES_FILE makevar.

Bug: 142963962
Test: m check-vndk-list
Change-Id: I10f6ad80757ed267b66c9a709b75621e063f3744
2019-10-31 11:37:07 +09:00
Treehugger Robot
85808a8089 Merge "Revert "Revert "Revert "Revert "install VNDK APEX instead of VNDK libs""""" 2019-10-30 04:29:37 +00:00
Xiangyu/Malcolm Chen
c76498a53d Merge "Adding IRadio1.5 definition." 2019-10-29 22:22:38 +00:00
Jooyung Han
93bdc3e734 Revert "Revert "Revert "Revert "install VNDK APEX instead of VNDK libs""""
This reverts commit ec8769762f.

Reason for revert:  Fix b/143374795

Change-Id: I7a9a06cb01e3cac0d15b352da76b6b8e9b45eb63
2019-10-28 21:07:21 +00:00
Greg Kaiser
35815917ba Merge "Revert "Revert "Revert "install VNDK APEX instead of VNDK libs"""" 2019-10-28 17:12:33 +00:00