blob: 964745d807c9e45b1af6b397ae293d9f0c64abc8 [file] [log] [blame]
Vic Yangefd249e2018-11-12 20:19:56 -08001// Copyright 2019 Google Inc. All rights reserved.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package config
16
17// List of VNDK libraries that have different core variant and vendor variant.
18// For these libraries, the vendor variants must be installed even if the device
19// has VndkUseCoreVariant set.
Jeongik Chaf5c418c2021-01-22 16:54:03 +090020// TODO(b/150578172): clean up unstable and non-versioned aidl module
Vic Yangefd249e2018-11-12 20:19:56 -080021var VndkMustUseVendorVariantList = []string{
Jiyong Parkb58719c2021-07-22 03:06:58 +000022 "android.hardware.authsecret-V1-ndk",
Jeongik Chaf5c418c2021-01-22 16:54:03 +090023 "android.hardware.authsecret-V1-ndk_platform",
Jiyong Parkb58719c2021-07-22 03:06:58 +000024 "android.hardware.authsecret-ndk_platform",
25 "android.hardware.authsecret-unstable-ndk_platform",
26 "android.hardware.automotive.occupant_awareness-V1-ndk",
Jeongik Chaf5c418c2021-01-22 16:54:03 +090027 "android.hardware.automotive.occupant_awareness-V1-ndk_platform",
Jiyong Parkb58719c2021-07-22 03:06:58 +000028 "android.hardware.automotive.occupant_awareness-ndk_platform",
Edwin655bf072021-09-16 16:26:52 -070029 "android.hardware.drm-V1-ndk",
Jiyong Parkb58719c2021-07-22 03:06:58 +000030 "android.hardware.gnss-V1-ndk",
Jeongik Chaf5c418c2021-01-22 16:54:03 +090031 "android.hardware.gnss-V1-ndk_platform",
Jiyong Parkb58719c2021-07-22 03:06:58 +000032 "android.hardware.gnss-ndk_platform",
33 "android.hardware.gnss-unstable-ndk_platform",
Yifan Hong932920f2021-01-21 16:53:26 -080034 "android.hardware.health-V1-ndk",
35 "android.hardware.health-ndk",
Jiyong Parkb58719c2021-07-22 03:06:58 +000036 "android.hardware.health.storage-V1-ndk",
Jeongik Chaf5c418c2021-01-22 16:54:03 +090037 "android.hardware.health.storage-V1-ndk_platform",
Yifan Hongcaaef4d2021-01-13 16:06:11 -080038 "android.hardware.health.storage-ndk_platform",
39 "android.hardware.health.storage-unstable-ndk_platform",
Jeongik Chaf5c418c2021-01-22 16:54:03 +090040 "android.hardware.identity-V2-ndk_platform",
Jiyong Parkb58719c2021-07-22 03:06:58 +000041 "android.hardware.identity-V3-ndk",
Jiyong Parkc110a432021-05-24 23:00:41 +090042 "android.hardware.identity-V3-ndk_platform",
David Zeuthenb71fe842020-02-12 10:02:20 -050043 "android.hardware.identity-ndk_platform",
Jiyong Parkb58719c2021-07-22 03:06:58 +000044 "android.hardware.light-V1-ndk",
45 "android.hardware.light-V1-ndk_platform",
46 "android.hardware.light-ndk_platform",
47 "android.hardware.memtrack-V1-ndk",
Jeongik Chaf5c418c2021-01-22 16:54:03 +090048 "android.hardware.memtrack-V1-ndk_platform",
49 "android.hardware.memtrack-ndk_platform",
Kalesh Singh7b63b262020-12-09 19:15:20 -050050 "android.hardware.memtrack-unstable-ndk_platform",
Jiyong Parkb58719c2021-07-22 03:06:58 +000051 "android.hardware.nfc@1.2",
52 "android.hardware.oemlock-V1-ndk",
Jeongik Chaf5c418c2021-01-22 16:54:03 +090053 "android.hardware.oemlock-V1-ndk_platform",
54 "android.hardware.oemlock-ndk_platform",
ChengYou Ho142b28a2021-01-01 12:50:37 +080055 "android.hardware.oemlock-unstable-ndk_platform",
Jeongik Chaf5c418c2021-01-22 16:54:03 +090056 "android.hardware.power-V1-ndk_platform",
Jiyong Parkb58719c2021-07-22 03:06:58 +000057 "android.hardware.power-V2-ndk",
Jiyong Parkc110a432021-05-24 23:00:41 +090058 "android.hardware.power-V2-ndk_platform",
Wei Wang6c016182020-01-14 17:31:10 -080059 "android.hardware.power-ndk_platform",
Jiyong Parkb58719c2021-07-22 03:06:58 +000060 "android.hardware.power.stats-V1-ndk",
Jeongik Chaf5c418c2021-01-22 16:54:03 +090061 "android.hardware.power.stats-V1-ndk_platform",
Benjamin Schwartz399394b2020-10-06 08:36:33 -070062 "android.hardware.power.stats-ndk_platform",
63 "android.hardware.power.stats-unstable-ndk_platform",
Jiyong Parkb58719c2021-07-22 03:06:58 +000064 "android.hardware.rebootescrow-V1-ndk",
Jeongik Chaf5c418c2021-01-22 16:54:03 +090065 "android.hardware.rebootescrow-V1-ndk_platform",
Steven Morelandde0bac52020-01-06 13:22:03 -080066 "android.hardware.rebootescrow-ndk_platform",
Sarah Chinc10d5da2021-06-16 15:58:04 -070067 "android.hardware.radio-V1-ndk",
68 "android.hardware.radio-V1-ndk_platform",
Serik Beketayev48e0e332021-09-15 17:16:46 -070069 "android.hardware.radio.config-V1-ndk",
70 "android.hardware.radio.config-V1-ndk_platform",
Sarah Chin84fdadf2021-09-20 14:16:28 -070071 "android.hardware.radio.data-V1-ndk",
72 "android.hardware.radio.data-V1-ndk_platform",
73 "android.hardware.radio.messaging-V1-ndk",
74 "android.hardware.radio.messaging-V1-ndk_platform",
75 "android.hardware.radio.modem-V1-ndk",
76 "android.hardware.radio.modem-V1-ndk_platform",
77 "android.hardware.radio.network-V1-ndk",
78 "android.hardware.radio.network-V1-ndk_platform",
79 "android.hardware.radio.sim-V1-ndk",
80 "android.hardware.radio.sim-V1-ndk_platform",
81 "android.hardware.radio.voice-V1-ndk",
82 "android.hardware.radio.voice-V1-ndk_platform",
Jiyong Parkb58719c2021-07-22 03:06:58 +000083 "android.hardware.security.keymint-V1-ndk",
Jeongik Chaf5c418c2021-01-22 16:54:03 +090084 "android.hardware.security.keymint-V1-ndk_platform",
85 "android.hardware.security.keymint-ndk_platform",
Shawn Willden7831d3e2020-12-11 06:06:36 -070086 "android.hardware.security.keymint-unstable-ndk_platform",
Jiyong Parkb58719c2021-07-22 03:06:58 +000087 "android.hardware.security.secureclock-V1-ndk",
Jeongik Chaf5c418c2021-01-22 16:54:03 +090088 "android.hardware.security.secureclock-V1-ndk_platform",
Jeongik Chaf5c418c2021-01-22 16:54:03 +090089 "android.hardware.security.secureclock-ndk_platform",
Jiyong Parkb58719c2021-07-22 03:06:58 +000090 "android.hardware.security.secureclock-unstable-ndk_platform",
91 "android.hardware.security.sharedsecret-V1-ndk",
Jeongik Chaf5c418c2021-01-22 16:54:03 +090092 "android.hardware.security.sharedsecret-V1-ndk_platform",
Chirag Pathakcfa22052020-12-07 22:22:19 +000093 "android.hardware.security.sharedsecret-ndk_platform",
94 "android.hardware.security.sharedsecret-unstable-ndk_platform",
Jiyong Parkb58719c2021-07-22 03:06:58 +000095 "android.hardware.soundtrigger3-V1-ndk",
Ytai Ben-Tsvi10d7e362021-03-22 12:44:18 -070096 "android.hardware.soundtrigger3-V1-ndk_platform",
Roshan Pius64e8e772021-08-09 15:59:14 -070097 "android.hardware.uwb-V1-ndk",
98 "android.hardware.uwb-V1-ndk_platform",
Jeongik Chaf5c418c2021-01-22 16:54:03 +090099 "android.hardware.vibrator-V1-ndk_platform",
Jiyong Parkb58719c2021-07-22 03:06:58 +0000100 "android.hardware.vibrator-V2-ndk",
Jiyong Parkc110a432021-05-24 23:00:41 +0900101 "android.hardware.vibrator-V2-ndk_platform",
Steven Moreland8aca9022020-01-06 13:40:50 -0800102 "android.hardware.vibrator-ndk_platform",
Jiyong Parkb58719c2021-07-22 03:06:58 +0000103 "android.hardware.weaver-V1-ndk",
Jeongik Chaf5c418c2021-01-22 16:54:03 +0900104 "android.hardware.weaver-V1-ndk_platform",
105 "android.hardware.weaver-ndk_platform",
ChengYou Ho4b197e12021-01-20 01:57:20 +0800106 "android.hardware.weaver-unstable-ndk_platform",
Jiyong Parkb7e666f2021-07-26 11:43:46 +0900107 "android.system.suspend-V1-ndk",
Jiyong Parkb58719c2021-07-22 03:06:58 +0000108 "android.system.keystore2-V1-ndk",
Chris Ye50ef6e22021-07-16 10:40:46 -0700109 "android.hardware.wifi.hostapd-V1-ndk",
110 "android.hardware.wifi.hostapd-V1-ndk_platform",
Gabriel Birenf355d3c2021-10-15 22:29:33 +0000111 "android.hardware.wifi.supplicant-V1-ndk",
Jeongik Chaf5c418c2021-01-22 16:54:03 +0900112 "android.system.keystore2-V1-ndk_platform",
113 "android.system.keystore2-ndk_platform",
Janis Danisevskise8f655c2020-09-30 14:45:28 -0700114 "android.system.keystore2-unstable-ndk_platform",
Colin Crossdb4604c2021-07-23 16:26:45 -0700115 "android.system.suspend-V1-ndk",
Kalesh Singh32b0b9f2021-07-22 00:36:17 +0000116 "android.system.suspend-V1-ndk_platform",
Vic Yangefd249e2018-11-12 20:19:56 -0800117 "libbinder",
Vic Yangefd249e2018-11-12 20:19:56 -0800118 "libcrypto",
Vic Yangefd249e2018-11-12 20:19:56 -0800119 "libexpat",
Albal Tai7667b622020-02-19 06:17:51 +0000120 "libgatekeeper",
Vic Yangefd249e2018-11-12 20:19:56 -0800121 "libgui",
Albal Tai7667b622020-02-19 06:17:51 +0000122 "libhidlcache",
123 "libkeymaster_messages",
124 "libkeymaster_portable",
125 "libmedia_omx",
126 "libpuresoftkeymasterdevice",
Vic Yangefd249e2018-11-12 20:19:56 -0800127 "libselinux",
Albal Tai7667b622020-02-19 06:17:51 +0000128 "libsoftkeymasterdevice",
Vic Yangefd249e2018-11-12 20:19:56 -0800129 "libsqlite",
130 "libssl",
Albal Tai7667b622020-02-19 06:17:51 +0000131 "libstagefright_bufferpool@2.0",
Vic Yangefd249e2018-11-12 20:19:56 -0800132 "libstagefright_bufferqueue_helper",
Vic Yangefd249e2018-11-12 20:19:56 -0800133 "libstagefright_foundation",
134 "libstagefright_omx",
135 "libstagefright_omx_utils",
Vic Yangefd249e2018-11-12 20:19:56 -0800136 "libstagefright_xmlparser",
Vic Yangefd249e2018-11-12 20:19:56 -0800137 "libui",
Vic Yangefd249e2018-11-12 20:19:56 -0800138 "libxml2",
Vic Yangefd249e2018-11-12 20:19:56 -0800139}