2022-08-19 22:40:58 +02:00
|
|
|
//
|
2023-07-17 12:10:27 +02:00
|
|
|
// Copyright (C) 2022-2023 The LineageOS Project
|
2022-08-19 22:40:58 +02:00
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
//
|
|
|
|
|
2022-08-19 19:14:41 +02:00
|
|
|
cc_library_shared {
|
|
|
|
name: "android.frameworks.stats-V1-ndk_platform",
|
|
|
|
shared_libs: ["android.frameworks.stats-V1-ndk"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "android.hardware.common-V1-ndk_platform",
|
|
|
|
shared_libs: ["android.hardware.common-V1-ndk"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "android.hardware.common-V2-ndk_platform",
|
|
|
|
shared_libs: ["android.hardware.common-V2-ndk"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "android.hardware.common.fmq-V1-ndk_platform",
|
|
|
|
shared_libs: ["android.hardware.common.fmq-V1-ndk"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "android.hardware.graphics.common-V1-ndk_platform",
|
|
|
|
shared_libs: ["android.hardware.graphics.common-V1-ndk"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "android.hardware.graphics.common-V2-ndk_platform",
|
|
|
|
shared_libs: ["android.hardware.graphics.common-V2-ndk"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "android.hardware.authsecret-V1-ndk_platform",
|
|
|
|
shared_libs: ["android.hardware.authsecret-V1-ndk"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "android.hardware.automotive.occupant_awareness-V1-ndk_platform",
|
|
|
|
shared_libs: ["android.hardware.automotive.occupant_awareness-V1-ndk"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "android.hardware.gnss-V1-ndk_platform",
|
|
|
|
shared_libs: ["android.hardware.gnss-V1-ndk"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "android.hardware.health.storage-V1-ndk_platform",
|
|
|
|
shared_libs: ["android.hardware.health.storage-V1-ndk"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "android.hardware.identity-V2-ndk_platform",
|
|
|
|
shared_libs: ["android.hardware.identity-V2-ndk"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "android.hardware.identity-V3-ndk_platform",
|
|
|
|
shared_libs: ["android.hardware.identity-V3-ndk"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "android.hardware.keymaster-V2-ndk_platform",
|
|
|
|
shared_libs: ["android.hardware.keymaster-V2-ndk"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "android.hardware.keymaster-V3-ndk_platform",
|
|
|
|
shared_libs: ["android.hardware.keymaster-V3-ndk"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "android.hardware.light-V1-ndk_platform",
|
|
|
|
shared_libs: ["android.hardware.light-V1-ndk"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "android.hardware.memtrack-V1-ndk_platform",
|
|
|
|
shared_libs: ["android.hardware.memtrack-V1-ndk"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "android.hardware.oemlock-V1-ndk_platform",
|
|
|
|
shared_libs: ["android.hardware.oemlock-V1-ndk"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "android.hardware.power-V1-ndk_platform",
|
|
|
|
shared_libs: ["android.hardware.power-V1-ndk"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "android.hardware.power-V2-ndk_platform",
|
|
|
|
shared_libs: ["android.hardware.power-V2-ndk"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "android.hardware.power.stats-V1-ndk_platform",
|
|
|
|
shared_libs: ["android.hardware.power.stats-V1-ndk"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "android.hardware.rebootescrow-V1-ndk_platform",
|
|
|
|
shared_libs: ["android.hardware.rebootescrow-V1-ndk"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "android.hardware.security.keymint-V1-ndk_platform",
|
|
|
|
shared_libs: ["android.hardware.security.keymint-V1-ndk"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "android.hardware.security.secureclock-V1-ndk_platform",
|
|
|
|
shared_libs: ["android.hardware.security.secureclock-V1-ndk"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "android.hardware.security.sharedsecret-V1-ndk_platform",
|
|
|
|
shared_libs: ["android.hardware.security.sharedsecret-V1-ndk"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "android.hardware.vibrator-V1-ndk_platform",
|
|
|
|
shared_libs: ["android.hardware.vibrator-V1-ndk"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "android.hardware.vibrator-V2-ndk_platform",
|
|
|
|
shared_libs: ["android.hardware.vibrator-V2-ndk"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "android.hardware.weaver-V1-ndk_platform",
|
|
|
|
shared_libs: ["android.hardware.weaver-V1-ndk"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "android.system.keystore2-V1-ndk_platform",
|
|
|
|
shared_libs: ["android.system.keystore2-V1-ndk"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
2023-09-18 18:39:17 +02:00
|
|
|
cc_library_shared {
|
|
|
|
name: "android.hardware.gnss@1.0_types",
|
|
|
|
srcs: ["interfaces/gnss/1.0/types.cpp"],
|
|
|
|
shared_libs: ["android.hardware.gnss@1.0"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
2023-07-17 16:16:11 +02:00
|
|
|
cc_library_shared {
|
|
|
|
name: "android.hardware.graphics.common@1.0_types",
|
|
|
|
srcs: ["interfaces/graphics/common/1.0/types.cpp"],
|
|
|
|
shared_libs: ["android.hardware.graphics.common@1.0"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "android.hardware.radio@1.0_types",
|
|
|
|
srcs: ["interfaces/radio/1.0/types.cpp"],
|
|
|
|
shared_libs: ["android.hardware.radio@1.0"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
2021-02-21 16:46:06 +01:00
|
|
|
cc_library_shared {
|
|
|
|
name: "android.hidl.base@1.0",
|
|
|
|
shared_libs: ["libhidlbase"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "android.hidl.manager@1.0",
|
|
|
|
shared_libs: ["libhidlbase"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
2022-08-19 22:40:58 +02:00
|
|
|
cc_library_shared {
|
|
|
|
name: "libavservices_minijail_vendor",
|
|
|
|
shared_libs: ["libavservices_minijail"],
|
|
|
|
vendor: true,
|
|
|
|
}
|
2021-10-20 16:20:19 +02:00
|
|
|
|
|
|
|
cc_defaults {
|
|
|
|
name: "libgui_shim_defaults",
|
|
|
|
shared_libs: ["libutils"],
|
2022-11-01 19:45:23 +01:00
|
|
|
srcs: [
|
|
|
|
"libgui/GraphicBufferProducer.cpp",
|
|
|
|
"libgui/SurfaceComposerClient.cpp",
|
|
|
|
],
|
2021-10-20 16:20:19 +02:00
|
|
|
}
|
|
|
|
|
2019-10-20 08:53:57 +02:00
|
|
|
cc_library {
|
|
|
|
name: "libbase_shim",
|
|
|
|
shared_libs: ["libbase"],
|
2023-09-30 16:34:20 +02:00
|
|
|
srcs: [
|
|
|
|
"libbase/logging.cpp",
|
|
|
|
"libbase/strings.cpp",
|
|
|
|
],
|
2019-10-20 08:53:57 +02:00
|
|
|
vendor: true
|
|
|
|
}
|
|
|
|
|
2023-07-18 18:52:25 +02:00
|
|
|
cc_library {
|
|
|
|
name: "libbinder_shim",
|
|
|
|
shared_libs: ["libbinder", "libutils"],
|
|
|
|
srcs: [
|
|
|
|
"libbinder/IServiceManager.cpp",
|
|
|
|
"libbinder/PermissionCache.cpp",
|
|
|
|
],
|
|
|
|
vendor: true
|
|
|
|
}
|
|
|
|
|
2023-09-10 10:45:54 +02:00
|
|
|
cc_library {
|
|
|
|
name: "libc_mutexdestroy_shim",
|
|
|
|
shared_libs: ["libc"],
|
|
|
|
srcs: ["libc/pthread_mutex_destroy.cpp"],
|
|
|
|
sanitize: { never: true },
|
|
|
|
stl: "none",
|
|
|
|
vendor: true
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library {
|
|
|
|
name: "libc_pthreadts_shim",
|
|
|
|
shared_libs: ["libc"],
|
|
|
|
srcs: ["libc/pthread_cond_timedwait.cpp"],
|
|
|
|
vendor: true
|
|
|
|
}
|
|
|
|
|
2022-11-25 14:14:20 +01:00
|
|
|
cc_library {
|
|
|
|
name: "libcamera_metadata_shim",
|
|
|
|
shared_libs: ["libcamera_metadata"],
|
|
|
|
srcs: ["libcamera_metadata/camera_metadata.cpp"],
|
|
|
|
vendor: true
|
|
|
|
}
|
|
|
|
|
2020-09-13 10:15:39 +02:00
|
|
|
cc_library {
|
|
|
|
name: "libcutils_shim",
|
|
|
|
shared_libs: [
|
|
|
|
"libcutils",
|
|
|
|
],
|
|
|
|
srcs: [
|
2022-09-21 18:09:57 +02:00
|
|
|
"libcutils/strdup16to8.cpp",
|
|
|
|
"libcutils/strdup8to16.cpp",
|
2020-09-13 10:15:39 +02:00
|
|
|
],
|
2022-11-03 05:13:35 +01:00
|
|
|
vendor_available: true,
|
2020-09-13 10:15:39 +02:00
|
|
|
}
|
|
|
|
|
2021-10-20 16:20:19 +02:00
|
|
|
cc_library {
|
|
|
|
name: "libgui_shim",
|
|
|
|
defaults: ["libgui_shim_defaults"],
|
|
|
|
shared_libs: ["libgui"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library {
|
|
|
|
name: "libgui_shim_vendor",
|
|
|
|
defaults: ["libgui_shim_defaults"],
|
|
|
|
shared_libs: ["libgui_vendor"],
|
|
|
|
vendor: true,
|
|
|
|
}
|
2020-09-16 04:27:03 +02:00
|
|
|
|
2023-09-27 16:01:25 +02:00
|
|
|
cc_library {
|
|
|
|
name: "libhidlbase_shim",
|
|
|
|
srcs: ["libhidlbase/gBnsConstructorMap.cpp"],
|
|
|
|
shared_libs: ["libhidlbase"],
|
|
|
|
compile_multilib: "both",
|
|
|
|
vendor: true,
|
|
|
|
}
|
|
|
|
|
2020-09-16 04:27:03 +02:00
|
|
|
cc_library {
|
|
|
|
name: "libmemset_shim",
|
|
|
|
target: {
|
|
|
|
android_arm: {
|
|
|
|
srcs: ["libmemset/memset32.S"],
|
|
|
|
sanitize: {
|
|
|
|
misc_undefined: ["integer"],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
android_arm64: {
|
|
|
|
srcs: ["libmemset/android_memset.S"],
|
|
|
|
sanitize: {
|
|
|
|
misc_undefined: ["integer"],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
vendor: true,
|
|
|
|
}
|
2022-09-21 01:09:13 +02:00
|
|
|
|
2022-08-19 13:56:19 +02:00
|
|
|
cc_library_shared {
|
|
|
|
name: "libpiex_shim",
|
|
|
|
shared_libs: ["libpiex"],
|
|
|
|
srcs: ["libpiex/piex_shim.cpp"],
|
|
|
|
vendor: true,
|
|
|
|
}
|
|
|
|
|
2023-10-10 01:12:12 +02:00
|
|
|
cc_library_shared {
|
|
|
|
name: "libprotobuf-cpp-lite-3.9.1-vendorcompat",
|
|
|
|
stem: "libprotobuf-cpp-lite-3.9.1",
|
|
|
|
shared_libs: ["libprotobuf-cpp-full-3.9.1-vendorcompat"],
|
|
|
|
vendor: true,
|
|
|
|
}
|
|
|
|
|
2022-09-21 01:09:13 +02:00
|
|
|
cc_library_shared {
|
|
|
|
name: "libui_shim",
|
2023-07-17 12:10:27 +02:00
|
|
|
shared_libs: [
|
|
|
|
"libui",
|
|
|
|
"libutils",
|
|
|
|
],
|
2018-09-06 11:00:51 +02:00
|
|
|
srcs: [
|
|
|
|
"libui/Fence.cpp",
|
|
|
|
"libui/GraphicBuffer.cpp",
|
2023-07-17 12:22:12 +02:00
|
|
|
"libui/GraphicBufferMapper.cpp",
|
2018-09-06 11:00:51 +02:00
|
|
|
],
|
2023-07-19 21:35:18 +02:00
|
|
|
system_ext_specific: true,
|
2022-11-02 00:29:54 +01:00
|
|
|
vendor_available: true,
|
2022-09-21 01:09:13 +02:00
|
|
|
}
|
2022-11-10 21:17:42 +01:00
|
|
|
|
2023-07-19 21:18:44 +02:00
|
|
|
cc_library_shared {
|
|
|
|
name: "libutils_shim",
|
|
|
|
shared_libs: ["libutils"],
|
|
|
|
srcs: ["libutils/String16.cpp"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
|
|
|
|
2022-11-10 21:17:42 +01:00
|
|
|
cc_library {
|
|
|
|
name: "libip_checksum_shim",
|
|
|
|
whole_static_libs: [
|
|
|
|
"libip_checksum",
|
|
|
|
],
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
2023-07-18 11:37:28 +02:00
|
|
|
|
2023-07-18 12:05:39 +02:00
|
|
|
cc_library_shared {
|
|
|
|
name: "libsensor_vendor",
|
|
|
|
srcs: [
|
|
|
|
"libsensor/Sensor.cpp",
|
|
|
|
"libsensor/SensorEventQueue.cpp",
|
|
|
|
"libsensor/SensorManager.cpp",
|
|
|
|
],
|
|
|
|
shared_libs: [
|
|
|
|
"libsensorndkbridge",
|
|
|
|
"libutils",
|
|
|
|
],
|
|
|
|
vendor: true,
|
|
|
|
}
|
|
|
|
|
2023-07-18 11:37:28 +02:00
|
|
|
cc_library_shared {
|
|
|
|
name: "libtinyxml2_shim",
|
|
|
|
srcs: ["libtinyxml2/XMLDocument.cpp"],
|
|
|
|
shared_libs: ["libtinyxml2"],
|
|
|
|
system_ext_specific: true,
|
|
|
|
vendor_available: true,
|
|
|
|
}
|
2020-12-15 01:20:29 +01:00
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "libcomparetf2_shim",
|
|
|
|
srcs: ["libcomparetf2/comparetf2.c"],
|
|
|
|
compile_multilib: "64",
|
|
|
|
vendor: true,
|
|
|
|
}
|
2023-10-24 13:07:53 +02:00
|
|
|
|
|
|
|
cc_prebuilt_library_shared {
|
|
|
|
name: "libprotobuf-cpp-full-vendorcompat",
|
|
|
|
stem: "libprotobuf-cpp-full",
|
|
|
|
vendor: true,
|
|
|
|
strip: {
|
|
|
|
none: true,
|
|
|
|
},
|
|
|
|
target: {
|
|
|
|
android_arm: {
|
|
|
|
srcs: ["vndk/v29/arm/libprotobuf-cpp-full.so"],
|
|
|
|
},
|
|
|
|
android_arm64: {
|
|
|
|
srcs: ["vndk/v29/arm64/libprotobuf-cpp-full.so"],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
compile_multilib: "both",
|
|
|
|
check_elf_files: false,
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_prebuilt_library_shared {
|
|
|
|
name: "libprotobuf-cpp-lite-vendorcompat",
|
|
|
|
stem: "libprotobuf-cpp-lite",
|
|
|
|
vendor: true,
|
|
|
|
strip: {
|
|
|
|
none: true,
|
|
|
|
},
|
|
|
|
target: {
|
|
|
|
android_arm: {
|
|
|
|
srcs: ["vndk/v29/arm/libprotobuf-cpp-lite.so"],
|
|
|
|
},
|
|
|
|
android_arm64: {
|
|
|
|
srcs: ["vndk/v29/arm64/libprotobuf-cpp-lite.so"],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
compile_multilib: "both",
|
|
|
|
check_elf_files: false,
|
|
|
|
}
|