blob: 683c24cf19e00c65fa49876c24e87fc39af66300 [file] [log] [blame]
Justin Yundb3ca182019-01-18 14:55:09 +09001// THIS FILE IS AUTOGENERATED BY development/vndk/snapshot/gen_buildfiles.py
2// DO NOT EDIT
3
Bob Badourcd19db42021-02-26 02:30:46 -08004package {
5 default_applicable_licenses: ["prebuilts_vndk_v28_license"],
6}
7
8// Added automatically by a large-scale-change that took the approach of
9// 'apply every license found to every target'. While this makes sure we respect
10// every license restriction, it may not be entirely correct.
11//
12// e.g. GPL in an MIT project might only apply to the contrib/ directory.
13//
14// Please consider splitting the single license below into multiple licenses,
15// taking care not to lose any license_kind information, and overriding the
16// default license using the 'licenses: [...]' property on targets as needed.
17//
18// For unused files, consider creating a 'fileGroup' with "//visibility:private"
19// to attach the license to, and including a comment whether the files may be
20// used in the current project.
21// See: http://go/android-license-faq
22license {
23 name: "prebuilts_vndk_v28_license",
24 visibility: [":__subpackages__"],
25 license_kinds: [
26 "SPDX-license-identifier-Apache-2.0",
27 "SPDX-license-identifier-BSD",
28 "SPDX-license-identifier-GPL",
29 "SPDX-license-identifier-GPL-2.0",
30 "SPDX-license-identifier-LGPL",
31 "SPDX-license-identifier-LGPL-2.1",
32 "SPDX-license-identifier-LGPL-3.0",
33 "SPDX-license-identifier-MIT",
34 "SPDX-license-identifier-NCSA",
35 "SPDX-license-identifier-OpenSSL",
36 "SPDX-license-identifier-Zlib",
37 "legacy_permissive",
38 ],
39 // large-scale-change unable to identify any license_text files
40}
41
Justin Yundb3ca182019-01-18 14:55:09 +090042prebuilt_etc {
43 name: "llndk.libraries.28.txt",
44 target: {
Justin Yun4232fc62019-12-19 09:33:11 +090045 android_arm: {
46 src: "arm/configs/llndk.libraries.28.txt",
Justin Yundb3ca182019-01-18 14:55:09 +090047 },
Justin Yun09a3c8d2020-12-01 12:00:29 +090048 android_arm64: {
49 src: "arm64/configs/llndk.libraries.28.txt",
Kiyoung Kim3fd502b2019-10-07 13:43:27 +090050 },
Justin Yun4232fc62019-12-19 09:33:11 +090051 android_x86: {
52 src: "x86/configs/llndk.libraries.28.txt",
53 },
Justin Yun09a3c8d2020-12-01 12:00:29 +090054 android_x86_64: {
55 src: "x86_64/configs/llndk.libraries.28.txt",
56 },
Justin Yundb3ca182019-01-18 14:55:09 +090057 },
58}
59
60prebuilt_etc {
61 name: "vndksp.libraries.28.txt",
62 target: {
Justin Yun4232fc62019-12-19 09:33:11 +090063 android_arm: {
64 src: "arm/configs/vndksp.libraries.28.txt",
Justin Yundb3ca182019-01-18 14:55:09 +090065 },
Justin Yun09a3c8d2020-12-01 12:00:29 +090066 android_arm64: {
67 src: "arm64/configs/vndksp.libraries.28.txt",
Justin Yundb3ca182019-01-18 14:55:09 +090068 },
Justin Yun4232fc62019-12-19 09:33:11 +090069 android_x86: {
70 src: "x86/configs/vndksp.libraries.28.txt",
71 },
Justin Yun09a3c8d2020-12-01 12:00:29 +090072 android_x86_64: {
73 src: "x86_64/configs/vndksp.libraries.28.txt",
74 },
Kiyoung Kim3fd502b2019-10-07 13:43:27 +090075 },
76}
77
78prebuilt_etc {
79 name: "vndkcore.libraries.28.txt",
80 target: {
Justin Yun4232fc62019-12-19 09:33:11 +090081 android_arm: {
82 src: "arm/configs/vndkcore.libraries.28.txt",
Kiyoung Kim3fd502b2019-10-07 13:43:27 +090083 },
Justin Yun09a3c8d2020-12-01 12:00:29 +090084 android_arm64: {
85 src: "arm64/configs/vndkcore.libraries.28.txt",
Kiyoung Kim3fd502b2019-10-07 13:43:27 +090086 },
Justin Yun4232fc62019-12-19 09:33:11 +090087 android_x86: {
88 src: "x86/configs/vndkcore.libraries.28.txt",
89 },
Justin Yun09a3c8d2020-12-01 12:00:29 +090090 android_x86_64: {
91 src: "x86_64/configs/vndkcore.libraries.28.txt",
92 },
Kiyoung Kim3fd502b2019-10-07 13:43:27 +090093 },
94}
95
96prebuilt_etc {
97 name: "vndkprivate.libraries.28.txt",
98 target: {
Justin Yun4232fc62019-12-19 09:33:11 +090099 android_arm: {
100 src: "arm/configs/vndkprivate.libraries.28.txt",
Kiyoung Kim3fd502b2019-10-07 13:43:27 +0900101 },
Justin Yun09a3c8d2020-12-01 12:00:29 +0900102 android_arm64: {
103 src: "arm64/configs/vndkprivate.libraries.28.txt",
Justin Yundb3ca182019-01-18 14:55:09 +0900104 },
Justin Yun4232fc62019-12-19 09:33:11 +0900105 android_x86: {
106 src: "x86/configs/vndkprivate.libraries.28.txt",
107 },
Justin Yun09a3c8d2020-12-01 12:00:29 +0900108 android_x86_64: {
109 src: "x86_64/configs/vndkprivate.libraries.28.txt",
110 },
Justin Yundb3ca182019-01-18 14:55:09 +0900111 },
112}
113
Justin Yun09a3c8d2020-12-01 12:00:29 +0900114prebuilt_etc {
115 name: "vndkproduct.libraries.28.txt",
116 target: {
117 android_arm: {
118 src: "arm/configs/vndkproduct.libraries.txt",
119 },
120 android_arm64: {
121 src: "arm64/configs/vndkproduct.libraries.txt",
122 },
123 android_x86: {
124 src: "x86/configs/vndkproduct.libraries.txt",
125 },
126 android_x86_64: {
127 src: "x86_64/configs/vndkproduct.libraries.txt",
128 },
129 },
130}
Colin Crossf76de752019-08-23 14:43:08 -0700131
Justin Yun09a3c8d2020-12-01 12:00:29 +0900132// Defining prebuilt libraries for the compatibility of old vendor modules
Colin Crossf76de752019-08-23 14:43:08 -0700133cc_prebuilt_library_shared {
134 name: "libprotobuf-cpp-lite-vendorcompat",
135 stem: "libprotobuf-cpp-lite",
136 vendor: true,
Luca Stefani56a82c82019-09-17 21:19:18 +0200137 // These are already stripped, and restripping them just issues diagnostics.
138 strip: {
139 none: true,
140 },
Justin Yun09a3c8d2020-12-01 12:00:29 +0900141 shared_libs: [
142 "libc++",
143 "libc",
144 "libdl",
145 "liblog",
146 "libm",
147 "libz",
148 ],
Colin Crossf76de752019-08-23 14:43:08 -0700149 target: {
150 android_arm64: {
151 srcs: ["arm64/arch-arm64-armv8-a/shared/vndk-core/libprotobuf-cpp-lite.so"],
152 },
153 android_arm: {
154 srcs: ["arm/arch-arm-armv7-a-neon/shared/vndk-core/libprotobuf-cpp-lite.so"],
155 },
156 android_x86_64: {
157 srcs: ["x86_64/arch-x86_64-x86_64/shared/vndk-core/libprotobuf-cpp-lite.so"],
158 },
159 android_x86: {
160 srcs: ["x86/arch-x86-x86/shared/vndk-core/libprotobuf-cpp-lite.so"],
161 },
162 },
Colin Crossf76de752019-08-23 14:43:08 -0700163}
164
165cc_prebuilt_library_shared {
166 name: "libprotobuf-cpp-full-vendorcompat",
167 stem: "libprotobuf-cpp-full",
168 vendor: true,
Luca Stefani56a82c82019-09-17 21:19:18 +0200169 // These are already stripped, and restripping them just issues diagnostics.
170 strip: {
171 none: true,
172 },
Justin Yun09a3c8d2020-12-01 12:00:29 +0900173 shared_libs: [
174 "libc++",
175 "libc",
176 "libdl",
177 "liblog",
178 "libm",
179 "libz",
180 ],
Colin Crossf76de752019-08-23 14:43:08 -0700181 target: {
182 android_arm64: {
183 srcs: ["arm64/arch-arm64-armv8-a/shared/vndk-core/libprotobuf-cpp-full.so"],
184 },
185 android_arm: {
186 srcs: ["arm/arch-arm-armv7-a-neon/shared/vndk-core/libprotobuf-cpp-full.so"],
187 },
188 android_x86_64: {
189 srcs: ["x86_64/arch-x86_64-x86_64/shared/vndk-core/libprotobuf-cpp-full.so"],
190 },
191 android_x86: {
192 srcs: ["x86/arch-x86-x86/shared/vndk-core/libprotobuf-cpp-full.so"],
193 },
194 },
Colin Crossf76de752019-08-23 14:43:08 -0700195}