Vic Yang | efd249e | 2018-11-12 20:19:56 -0800 | [diff] [blame] | 1 | // 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 | |
| 15 | package 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 Cha | f5c418c | 2021-01-22 16:54:03 +0900 | [diff] [blame] | 20 | // TODO(b/150578172): clean up unstable and non-versioned aidl module |
Vic Yang | efd249e | 2018-11-12 20:19:56 -0800 | [diff] [blame] | 21 | var VndkMustUseVendorVariantList = []string{ |
Jiyong Park | 5b48d9a | 2021-07-22 03:06:58 +0000 | [diff] [blame] | 22 | "android.hardware.authsecret-V1-ndk", |
Jeongik Cha | f5c418c | 2021-01-22 16:54:03 +0900 | [diff] [blame] | 23 | "android.hardware.authsecret-V1-ndk_platform", |
Jiyong Park | 5b48d9a | 2021-07-22 03:06:58 +0000 | [diff] [blame] | 24 | "android.hardware.authsecret-ndk_platform", |
| 25 | "android.hardware.authsecret-unstable-ndk_platform", |
| 26 | "android.hardware.automotive.occupant_awareness-V1-ndk", |
Jeongik Cha | f5c418c | 2021-01-22 16:54:03 +0900 | [diff] [blame] | 27 | "android.hardware.automotive.occupant_awareness-V1-ndk_platform", |
Jiyong Park | 5b48d9a | 2021-07-22 03:06:58 +0000 | [diff] [blame] | 28 | "android.hardware.automotive.occupant_awareness-ndk_platform", |
| 29 | "android.hardware.gnss-V1-ndk", |
Jeongik Cha | f5c418c | 2021-01-22 16:54:03 +0900 | [diff] [blame] | 30 | "android.hardware.gnss-V1-ndk_platform", |
Jiyong Park | 5b48d9a | 2021-07-22 03:06:58 +0000 | [diff] [blame] | 31 | "android.hardware.gnss-ndk_platform", |
| 32 | "android.hardware.gnss-unstable-ndk_platform", |
Yifan Hong | 932920f | 2021-01-21 16:53:26 -0800 | [diff] [blame^] | 33 | "android.hardware.health-V1-ndk", |
| 34 | "android.hardware.health-ndk", |
Jiyong Park | 5b48d9a | 2021-07-22 03:06:58 +0000 | [diff] [blame] | 35 | "android.hardware.health.storage-V1-ndk", |
Jeongik Cha | f5c418c | 2021-01-22 16:54:03 +0900 | [diff] [blame] | 36 | "android.hardware.health.storage-V1-ndk_platform", |
Yifan Hong | caaef4d | 2021-01-13 16:06:11 -0800 | [diff] [blame] | 37 | "android.hardware.health.storage-ndk_platform", |
| 38 | "android.hardware.health.storage-unstable-ndk_platform", |
Jeongik Cha | f5c418c | 2021-01-22 16:54:03 +0900 | [diff] [blame] | 39 | "android.hardware.identity-V2-ndk_platform", |
Jiyong Park | 5b48d9a | 2021-07-22 03:06:58 +0000 | [diff] [blame] | 40 | "android.hardware.identity-V3-ndk", |
Jiyong Park | c110a43 | 2021-05-24 23:00:41 +0900 | [diff] [blame] | 41 | "android.hardware.identity-V3-ndk_platform", |
David Zeuthen | b71fe84 | 2020-02-12 10:02:20 -0500 | [diff] [blame] | 42 | "android.hardware.identity-ndk_platform", |
Jiyong Park | 5b48d9a | 2021-07-22 03:06:58 +0000 | [diff] [blame] | 43 | "android.hardware.light-V1-ndk", |
| 44 | "android.hardware.light-V1-ndk_platform", |
| 45 | "android.hardware.light-ndk_platform", |
| 46 | "android.hardware.memtrack-V1-ndk", |
Jeongik Cha | f5c418c | 2021-01-22 16:54:03 +0900 | [diff] [blame] | 47 | "android.hardware.memtrack-V1-ndk_platform", |
| 48 | "android.hardware.memtrack-ndk_platform", |
Kalesh Singh | 7b63b26 | 2020-12-09 19:15:20 -0500 | [diff] [blame] | 49 | "android.hardware.memtrack-unstable-ndk_platform", |
Jiyong Park | 5b48d9a | 2021-07-22 03:06:58 +0000 | [diff] [blame] | 50 | "android.hardware.nfc@1.2", |
| 51 | "android.hardware.oemlock-V1-ndk", |
Jeongik Cha | f5c418c | 2021-01-22 16:54:03 +0900 | [diff] [blame] | 52 | "android.hardware.oemlock-V1-ndk_platform", |
| 53 | "android.hardware.oemlock-ndk_platform", |
ChengYou Ho | 142b28a | 2021-01-01 12:50:37 +0800 | [diff] [blame] | 54 | "android.hardware.oemlock-unstable-ndk_platform", |
Jeongik Cha | f5c418c | 2021-01-22 16:54:03 +0900 | [diff] [blame] | 55 | "android.hardware.power-V1-ndk_platform", |
Jiyong Park | 5b48d9a | 2021-07-22 03:06:58 +0000 | [diff] [blame] | 56 | "android.hardware.power-V2-ndk", |
Jiyong Park | c110a43 | 2021-05-24 23:00:41 +0900 | [diff] [blame] | 57 | "android.hardware.power-V2-ndk_platform", |
Wei Wang | 6c01618 | 2020-01-14 17:31:10 -0800 | [diff] [blame] | 58 | "android.hardware.power-ndk_platform", |
Jiyong Park | 5b48d9a | 2021-07-22 03:06:58 +0000 | [diff] [blame] | 59 | "android.hardware.power.stats-V1-ndk", |
Jeongik Cha | f5c418c | 2021-01-22 16:54:03 +0900 | [diff] [blame] | 60 | "android.hardware.power.stats-V1-ndk_platform", |
Benjamin Schwartz | 399394b | 2020-10-06 08:36:33 -0700 | [diff] [blame] | 61 | "android.hardware.power.stats-ndk_platform", |
| 62 | "android.hardware.power.stats-unstable-ndk_platform", |
Jiyong Park | 5b48d9a | 2021-07-22 03:06:58 +0000 | [diff] [blame] | 63 | "android.hardware.rebootescrow-V1-ndk", |
Jeongik Cha | f5c418c | 2021-01-22 16:54:03 +0900 | [diff] [blame] | 64 | "android.hardware.rebootescrow-V1-ndk_platform", |
Steven Moreland | de0bac5 | 2020-01-06 13:22:03 -0800 | [diff] [blame] | 65 | "android.hardware.rebootescrow-ndk_platform", |
Sarah Chin | 2b9ad1c | 2021-06-16 15:58:04 -0700 | [diff] [blame] | 66 | "android.hardware.radio-V1-ndk", |
| 67 | "android.hardware.radio-V1-ndk_platform", |
Serik Beketayev | af68148 | 2021-09-15 17:16:46 -0700 | [diff] [blame] | 68 | "android.hardware.radio.config-V1-ndk", |
| 69 | "android.hardware.radio.config-V1-ndk_platform", |
Sarah Chin | 84fdadf | 2021-09-20 14:16:28 -0700 | [diff] [blame] | 70 | "android.hardware.radio.data-V1-ndk", |
| 71 | "android.hardware.radio.data-V1-ndk_platform", |
| 72 | "android.hardware.radio.messaging-V1-ndk", |
| 73 | "android.hardware.radio.messaging-V1-ndk_platform", |
| 74 | "android.hardware.radio.modem-V1-ndk", |
| 75 | "android.hardware.radio.modem-V1-ndk_platform", |
| 76 | "android.hardware.radio.network-V1-ndk", |
| 77 | "android.hardware.radio.network-V1-ndk_platform", |
| 78 | "android.hardware.radio.sim-V1-ndk", |
| 79 | "android.hardware.radio.sim-V1-ndk_platform", |
| 80 | "android.hardware.radio.voice-V1-ndk", |
| 81 | "android.hardware.radio.voice-V1-ndk_platform", |
Jiyong Park | 5b48d9a | 2021-07-22 03:06:58 +0000 | [diff] [blame] | 82 | "android.hardware.security.keymint-V1-ndk", |
Jeongik Cha | f5c418c | 2021-01-22 16:54:03 +0900 | [diff] [blame] | 83 | "android.hardware.security.keymint-V1-ndk_platform", |
| 84 | "android.hardware.security.keymint-ndk_platform", |
Shawn Willden | 7831d3e | 2020-12-11 06:06:36 -0700 | [diff] [blame] | 85 | "android.hardware.security.keymint-unstable-ndk_platform", |
Jiyong Park | 5b48d9a | 2021-07-22 03:06:58 +0000 | [diff] [blame] | 86 | "android.hardware.security.secureclock-V1-ndk", |
Jeongik Cha | f5c418c | 2021-01-22 16:54:03 +0900 | [diff] [blame] | 87 | "android.hardware.security.secureclock-V1-ndk_platform", |
Jeongik Cha | f5c418c | 2021-01-22 16:54:03 +0900 | [diff] [blame] | 88 | "android.hardware.security.secureclock-ndk_platform", |
Jiyong Park | 5b48d9a | 2021-07-22 03:06:58 +0000 | [diff] [blame] | 89 | "android.hardware.security.secureclock-unstable-ndk_platform", |
| 90 | "android.hardware.security.sharedsecret-V1-ndk", |
Jeongik Cha | f5c418c | 2021-01-22 16:54:03 +0900 | [diff] [blame] | 91 | "android.hardware.security.sharedsecret-V1-ndk_platform", |
Chirag Pathak | cfa2205 | 2020-12-07 22:22:19 +0000 | [diff] [blame] | 92 | "android.hardware.security.sharedsecret-ndk_platform", |
| 93 | "android.hardware.security.sharedsecret-unstable-ndk_platform", |
Jeongik Cha | f5c418c | 2021-01-22 16:54:03 +0900 | [diff] [blame] | 94 | "android.hardware.vibrator-V1-ndk_platform", |
Jiyong Park | 5b48d9a | 2021-07-22 03:06:58 +0000 | [diff] [blame] | 95 | "android.hardware.vibrator-V2-ndk", |
Jiyong Park | c110a43 | 2021-05-24 23:00:41 +0900 | [diff] [blame] | 96 | "android.hardware.vibrator-V2-ndk_platform", |
Steven Moreland | 8aca902 | 2020-01-06 13:40:50 -0800 | [diff] [blame] | 97 | "android.hardware.vibrator-ndk_platform", |
Jiyong Park | 5b48d9a | 2021-07-22 03:06:58 +0000 | [diff] [blame] | 98 | "android.hardware.weaver-V1-ndk", |
Jeongik Cha | f5c418c | 2021-01-22 16:54:03 +0900 | [diff] [blame] | 99 | "android.hardware.weaver-V1-ndk_platform", |
| 100 | "android.hardware.weaver-ndk_platform", |
ChengYou Ho | 4b197e1 | 2021-01-20 01:57:20 +0800 | [diff] [blame] | 101 | "android.hardware.weaver-unstable-ndk_platform", |
Jiyong Park | b7e666f | 2021-07-26 11:43:46 +0900 | [diff] [blame] | 102 | "android.system.suspend-V1-ndk", |
Jiyong Park | 5b48d9a | 2021-07-22 03:06:58 +0000 | [diff] [blame] | 103 | "android.system.keystore2-V1-ndk", |
Chris Ye | 50ef6e2 | 2021-07-16 10:40:46 -0700 | [diff] [blame] | 104 | "android.hardware.wifi.hostapd-V1-ndk", |
| 105 | "android.hardware.wifi.hostapd-V1-ndk_platform", |
Jeongik Cha | f5c418c | 2021-01-22 16:54:03 +0900 | [diff] [blame] | 106 | "android.system.keystore2-V1-ndk_platform", |
| 107 | "android.system.keystore2-ndk_platform", |
Janis Danisevskis | e8f655c | 2020-09-30 14:45:28 -0700 | [diff] [blame] | 108 | "android.system.keystore2-unstable-ndk_platform", |
Kalesh Singh | ada357a | 2021-07-22 00:36:17 +0000 | [diff] [blame] | 109 | "android.system.suspend-V1-ndk_platform", |
Vic Yang | efd249e | 2018-11-12 20:19:56 -0800 | [diff] [blame] | 110 | "libbinder", |
Vic Yang | efd249e | 2018-11-12 20:19:56 -0800 | [diff] [blame] | 111 | "libcrypto", |
Vic Yang | efd249e | 2018-11-12 20:19:56 -0800 | [diff] [blame] | 112 | "libexpat", |
Albal Tai | 7667b62 | 2020-02-19 06:17:51 +0000 | [diff] [blame] | 113 | "libgatekeeper", |
Vic Yang | efd249e | 2018-11-12 20:19:56 -0800 | [diff] [blame] | 114 | "libgui", |
Albal Tai | 7667b62 | 2020-02-19 06:17:51 +0000 | [diff] [blame] | 115 | "libhidlcache", |
| 116 | "libkeymaster_messages", |
| 117 | "libkeymaster_portable", |
| 118 | "libmedia_omx", |
| 119 | "libpuresoftkeymasterdevice", |
Vic Yang | efd249e | 2018-11-12 20:19:56 -0800 | [diff] [blame] | 120 | "libselinux", |
Albal Tai | 7667b62 | 2020-02-19 06:17:51 +0000 | [diff] [blame] | 121 | "libsoftkeymasterdevice", |
Vic Yang | efd249e | 2018-11-12 20:19:56 -0800 | [diff] [blame] | 122 | "libsqlite", |
| 123 | "libssl", |
Albal Tai | 7667b62 | 2020-02-19 06:17:51 +0000 | [diff] [blame] | 124 | "libstagefright_bufferpool@2.0", |
Vic Yang | efd249e | 2018-11-12 20:19:56 -0800 | [diff] [blame] | 125 | "libstagefright_bufferqueue_helper", |
Vic Yang | efd249e | 2018-11-12 20:19:56 -0800 | [diff] [blame] | 126 | "libstagefright_foundation", |
| 127 | "libstagefright_omx", |
| 128 | "libstagefright_omx_utils", |
Vic Yang | efd249e | 2018-11-12 20:19:56 -0800 | [diff] [blame] | 129 | "libstagefright_xmlparser", |
Vic Yang | efd249e | 2018-11-12 20:19:56 -0800 | [diff] [blame] | 130 | "libui", |
Vic Yang | efd249e | 2018-11-12 20:19:56 -0800 | [diff] [blame] | 131 | "libxml2", |
Vic Yang | efd249e | 2018-11-12 20:19:56 -0800 | [diff] [blame] | 132 | } |