mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "Remove ndk_platform backend. Use the ndk backend."
This commit is contained in:
@@ -34,7 +34,7 @@ cc_binary {
|
|||||||
"AuthSecret.cpp",
|
"AuthSecret.cpp",
|
||||||
],
|
],
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"android.hardware.authsecret-V1-ndk_platform",
|
"android.hardware.authsecret-V1-ndk",
|
||||||
"libbase",
|
"libbase",
|
||||||
"libbinder_ndk",
|
"libbinder_ndk",
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ cc_test {
|
|||||||
"use_libaidlvintf_gtest_helper_static",
|
"use_libaidlvintf_gtest_helper_static",
|
||||||
],
|
],
|
||||||
srcs: ["VtsHalAuthSecretTargetTest.cpp"],
|
srcs: ["VtsHalAuthSecretTargetTest.cpp"],
|
||||||
static_libs: ["android.hardware.authsecret-V1-ndk_platform"],
|
static_libs: ["android.hardware.authsecret-V1-ndk"],
|
||||||
shared_libs: ["libbinder_ndk"],
|
shared_libs: ["libbinder_ndk"],
|
||||||
test_suites: [
|
test_suites: [
|
||||||
"general-tests",
|
"general-tests",
|
||||||
|
|||||||
@@ -36,6 +36,6 @@ cc_binary {
|
|||||||
"libbase",
|
"libbase",
|
||||||
"libbinder_ndk",
|
"libbinder_ndk",
|
||||||
"libutils",
|
"libutils",
|
||||||
"android.hardware.automotive.occupant_awareness-V1-ndk_platform",
|
"android.hardware.automotive.occupant_awareness-V1-ndk",
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,6 +36,6 @@ cc_binary {
|
|||||||
"libbase",
|
"libbase",
|
||||||
"libbinder_ndk",
|
"libbinder_ndk",
|
||||||
"libutils",
|
"libutils",
|
||||||
"android.hardware.automotive.occupant_awareness-V1-ndk_platform",
|
"android.hardware.automotive.occupant_awareness-V1-ndk",
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ cc_library_static {
|
|||||||
srcs: ["NativeHandle.cpp"],
|
srcs: ["NativeHandle.cpp"],
|
||||||
export_include_dirs: ["include"],
|
export_include_dirs: ["include"],
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"android.hardware.common-V2-ndk_platform",
|
"android.hardware.common-V2-ndk",
|
||||||
"libcutils",
|
"libcutils",
|
||||||
],
|
],
|
||||||
apex_available: [
|
apex_available: [
|
||||||
@@ -31,7 +31,7 @@ cc_test {
|
|||||||
defaults: ["libbinder_ndk_host_user"],
|
defaults: ["libbinder_ndk_host_user"],
|
||||||
srcs: ["test.cpp"],
|
srcs: ["test.cpp"],
|
||||||
static_libs: [
|
static_libs: [
|
||||||
"android.hardware.common-V2-ndk_platform",
|
"android.hardware.common-V2-ndk",
|
||||||
"libaidlcommonsupport",
|
"libaidlcommonsupport",
|
||||||
],
|
],
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ cc_test {
|
|||||||
defaults: ["VtsHalTargetTestDefaults"],
|
defaults: ["VtsHalTargetTestDefaults"],
|
||||||
srcs: ["VtsHalGraphicsMapperV4_0TargetTest.cpp"],
|
srcs: ["VtsHalGraphicsMapperV4_0TargetTest.cpp"],
|
||||||
static_libs: [
|
static_libs: [
|
||||||
"android.hardware.graphics.common-V2-ndk_platform",
|
"android.hardware.graphics.common-V2-ndk",
|
||||||
"android.hardware.graphics.mapper@4.0-vts",
|
"android.hardware.graphics.mapper@4.0-vts",
|
||||||
"libgralloctypes",
|
"libgralloctypes",
|
||||||
"libsync",
|
"libsync",
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ cc_defaults {
|
|||||||
shared_libs: [
|
shared_libs: [
|
||||||
"libbase",
|
"libbase",
|
||||||
"libbinder_ndk",
|
"libbinder_ndk",
|
||||||
"android.hardware.health.storage-V1-ndk_platform",
|
"android.hardware.health.storage-V1-ndk",
|
||||||
],
|
],
|
||||||
static_libs: [
|
static_libs: [
|
||||||
"libfstab",
|
"libfstab",
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ cc_test {
|
|||||||
"libbinder_ndk",
|
"libbinder_ndk",
|
||||||
],
|
],
|
||||||
static_libs: [
|
static_libs: [
|
||||||
"android.hardware.health.storage-V1-ndk_platform",
|
"android.hardware.health.storage-V1-ndk",
|
||||||
],
|
],
|
||||||
header_libs: [
|
header_libs: [
|
||||||
"libhealth_storage_test_common_headers",
|
"libhealth_storage_test_common_headers",
|
||||||
|
|||||||
@@ -39,8 +39,8 @@ cc_library_static {
|
|||||||
"libsoft_attestation_cert",
|
"libsoft_attestation_cert",
|
||||||
"libpuresoftkeymasterdevice",
|
"libpuresoftkeymasterdevice",
|
||||||
"android.hardware.identity-support-lib",
|
"android.hardware.identity-support-lib",
|
||||||
"android.hardware.identity-V3-ndk_platform",
|
"android.hardware.identity-V3-ndk",
|
||||||
"android.hardware.keymaster-V3-ndk_platform",
|
"android.hardware.keymaster-V3-ndk",
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -100,8 +100,8 @@ cc_binary {
|
|||||||
"libsoft_attestation_cert",
|
"libsoft_attestation_cert",
|
||||||
"libpuresoftkeymasterdevice",
|
"libpuresoftkeymasterdevice",
|
||||||
"android.hardware.identity-support-lib",
|
"android.hardware.identity-support-lib",
|
||||||
"android.hardware.identity-V3-ndk_platform",
|
"android.hardware.identity-V3-ndk",
|
||||||
"android.hardware.keymaster-V3-ndk_platform",
|
"android.hardware.keymaster-V3-ndk",
|
||||||
"android.hardware.identity-libeic-hal-common",
|
"android.hardware.identity-libeic-hal-common",
|
||||||
"android.hardware.identity-libeic-library",
|
"android.hardware.identity-libeic-library",
|
||||||
],
|
],
|
||||||
@@ -127,7 +127,7 @@ cc_test {
|
|||||||
"-DEIC_DEBUG",
|
"-DEIC_DEBUG",
|
||||||
],
|
],
|
||||||
local_include_dirs: [
|
local_include_dirs: [
|
||||||
"common",
|
"common",
|
||||||
],
|
],
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"liblog",
|
"liblog",
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ cc_test {
|
|||||||
"android.hardware.identity-support-lib",
|
"android.hardware.identity-support-lib",
|
||||||
"android.hardware.identity-V3-cpp",
|
"android.hardware.identity-V3-cpp",
|
||||||
"android.hardware.keymaster-V3-cpp",
|
"android.hardware.keymaster-V3-cpp",
|
||||||
"android.hardware.keymaster-V3-ndk_platform",
|
"android.hardware.keymaster-V3-ndk",
|
||||||
"libkeymaster4support",
|
"libkeymaster4support",
|
||||||
"libkeymaster4_1support",
|
"libkeymaster4_1support",
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ cc_binary {
|
|||||||
shared_libs: [
|
shared_libs: [
|
||||||
"libbase",
|
"libbase",
|
||||||
"libbinder_ndk",
|
"libbinder_ndk",
|
||||||
"android.hardware.light-V1-ndk_platform",
|
"android.hardware.light-V1-ndk",
|
||||||
],
|
],
|
||||||
srcs: [
|
srcs: [
|
||||||
"Lights.cpp",
|
"Lights.cpp",
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ cc_binary {
|
|||||||
shared_libs: [
|
shared_libs: [
|
||||||
"libbase",
|
"libbase",
|
||||||
"libbinder_ndk",
|
"libbinder_ndk",
|
||||||
"android.hardware.memtrack-V1-ndk_platform",
|
"android.hardware.memtrack-V1-ndk",
|
||||||
],
|
],
|
||||||
srcs: [
|
srcs: [
|
||||||
"main.cpp",
|
"main.cpp",
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ cc_test {
|
|||||||
"libvintf",
|
"libvintf",
|
||||||
],
|
],
|
||||||
static_libs: [
|
static_libs: [
|
||||||
"android.hardware.memtrack-V1-ndk_platform",
|
"android.hardware.memtrack-V1-ndk",
|
||||||
],
|
],
|
||||||
test_suites: [
|
test_suites: [
|
||||||
"vts",
|
"vts",
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ cc_test {
|
|||||||
"VtsHalNeuralNetworksV1_0_utils",
|
"VtsHalNeuralNetworksV1_0_utils",
|
||||||
"VtsHalNeuralNetworksV1_2_utils",
|
"VtsHalNeuralNetworksV1_2_utils",
|
||||||
"VtsHalNeuralNetworksV1_3_utils",
|
"VtsHalNeuralNetworksV1_3_utils",
|
||||||
"android.hardware.neuralnetworks-V1-ndk_platform",
|
"android.hardware.neuralnetworks-V1-ndk",
|
||||||
"android.hardware.neuralnetworks@1.0",
|
"android.hardware.neuralnetworks@1.0",
|
||||||
"android.hardware.neuralnetworks@1.1",
|
"android.hardware.neuralnetworks@1.1",
|
||||||
"android.hardware.neuralnetworks@1.2",
|
"android.hardware.neuralnetworks@1.2",
|
||||||
|
|||||||
@@ -31,14 +31,14 @@ cc_library_static {
|
|||||||
export_include_dirs: ["include"],
|
export_include_dirs: ["include"],
|
||||||
cflags: ["-Wthread-safety"],
|
cflags: ["-Wthread-safety"],
|
||||||
static_libs: [
|
static_libs: [
|
||||||
"android.hardware.graphics.common-V2-ndk_platform",
|
"android.hardware.graphics.common-V2-ndk",
|
||||||
"libaidlcommonsupport",
|
"libaidlcommonsupport",
|
||||||
"libarect",
|
"libarect",
|
||||||
"neuralnetworks_types",
|
"neuralnetworks_types",
|
||||||
"neuralnetworks_utils_hal_common",
|
"neuralnetworks_utils_hal_common",
|
||||||
],
|
],
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"android.hardware.neuralnetworks-V1-ndk_platform",
|
"android.hardware.neuralnetworks-V1-ndk",
|
||||||
"libbinder_ndk",
|
"libbinder_ndk",
|
||||||
"libhidlbase",
|
"libhidlbase",
|
||||||
"libnativewindow",
|
"libnativewindow",
|
||||||
@@ -52,9 +52,9 @@ cc_test {
|
|||||||
"test/*.cpp",
|
"test/*.cpp",
|
||||||
],
|
],
|
||||||
static_libs: [
|
static_libs: [
|
||||||
"android.hardware.common-V2-ndk_platform",
|
"android.hardware.common-V2-ndk",
|
||||||
"android.hardware.graphics.common-V2-ndk_platform",
|
"android.hardware.graphics.common-V2-ndk",
|
||||||
"android.hardware.neuralnetworks-V1-ndk_platform",
|
"android.hardware.neuralnetworks-V1-ndk",
|
||||||
"libaidlcommonsupport",
|
"libaidlcommonsupport",
|
||||||
"libgmock",
|
"libgmock",
|
||||||
"libneuralnetworks_common",
|
"libneuralnetworks_common",
|
||||||
|
|||||||
@@ -49,9 +49,9 @@ cc_test {
|
|||||||
"libvndksupport",
|
"libvndksupport",
|
||||||
],
|
],
|
||||||
static_libs: [
|
static_libs: [
|
||||||
"android.hardware.common-V2-ndk_platform",
|
"android.hardware.common-V2-ndk",
|
||||||
"android.hardware.graphics.common-V2-ndk_platform",
|
"android.hardware.graphics.common-V2-ndk",
|
||||||
"android.hardware.neuralnetworks-V1-ndk_platform",
|
"android.hardware.neuralnetworks-V1-ndk",
|
||||||
"android.hidl.allocator@1.0",
|
"android.hidl.allocator@1.0",
|
||||||
"android.hidl.memory@1.0",
|
"android.hidl.memory@1.0",
|
||||||
"libaidlcommonsupport",
|
"libaidlcommonsupport",
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ cc_library_static {
|
|||||||
"neuralnetworks_types",
|
"neuralnetworks_types",
|
||||||
],
|
],
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"android.hardware.neuralnetworks-V1-ndk_platform",
|
"android.hardware.neuralnetworks-V1-ndk",
|
||||||
"libhidlbase",
|
"libhidlbase",
|
||||||
"libnativewindow",
|
"libnativewindow",
|
||||||
"libbinder_ndk",
|
"libbinder_ndk",
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ cc_library_static {
|
|||||||
"neuralnetworks_utils_hal_common",
|
"neuralnetworks_utils_hal_common",
|
||||||
],
|
],
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"android.hardware.neuralnetworks-V1-ndk_platform",
|
"android.hardware.neuralnetworks-V1-ndk",
|
||||||
"android.hardware.neuralnetworks@1.0",
|
"android.hardware.neuralnetworks@1.0",
|
||||||
"android.hardware.neuralnetworks@1.1",
|
"android.hardware.neuralnetworks@1.1",
|
||||||
"android.hardware.neuralnetworks@1.2",
|
"android.hardware.neuralnetworks@1.2",
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ cc_binary {
|
|||||||
"OemLock.cpp",
|
"OemLock.cpp",
|
||||||
],
|
],
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"android.hardware.oemlock-V1-ndk_platform",
|
"android.hardware.oemlock-V1-ndk",
|
||||||
"libbase",
|
"libbase",
|
||||||
"libbinder_ndk",
|
"libbinder_ndk",
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ cc_test {
|
|||||||
"libbinder_ndk",
|
"libbinder_ndk",
|
||||||
"libbase",
|
"libbase",
|
||||||
],
|
],
|
||||||
static_libs: ["android.hardware.oemlock-V1-ndk_platform"],
|
static_libs: ["android.hardware.oemlock-V1-ndk"],
|
||||||
test_suites: [
|
test_suites: [
|
||||||
"general-tests",
|
"general-tests",
|
||||||
"vts",
|
"vts",
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ cc_binary {
|
|||||||
shared_libs: [
|
shared_libs: [
|
||||||
"libbase",
|
"libbase",
|
||||||
"libbinder_ndk",
|
"libbinder_ndk",
|
||||||
"android.hardware.power.stats-V1-ndk_platform",
|
"android.hardware.power.stats-V1-ndk",
|
||||||
],
|
],
|
||||||
srcs: [
|
srcs: [
|
||||||
"main.cpp",
|
"main.cpp",
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ cc_test {
|
|||||||
"libbinder_ndk",
|
"libbinder_ndk",
|
||||||
],
|
],
|
||||||
static_libs: [
|
static_libs: [
|
||||||
"android.hardware.power.stats-V1-ndk_platform",
|
"android.hardware.power.stats-V1-ndk",
|
||||||
],
|
],
|
||||||
test_suites: [
|
test_suites: [
|
||||||
"general-tests",
|
"general-tests",
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ cc_library_static {
|
|||||||
shared_libs: [
|
shared_libs: [
|
||||||
"libbase",
|
"libbase",
|
||||||
"libbinder_ndk",
|
"libbinder_ndk",
|
||||||
"android.hardware.rebootescrow-V1-ndk_platform",
|
"android.hardware.rebootescrow-V1-ndk",
|
||||||
],
|
],
|
||||||
export_include_dirs: ["include"],
|
export_include_dirs: ["include"],
|
||||||
srcs: [
|
srcs: [
|
||||||
@@ -56,7 +56,7 @@ cc_binary {
|
|||||||
shared_libs: [
|
shared_libs: [
|
||||||
"libbase",
|
"libbase",
|
||||||
"libbinder_ndk",
|
"libbinder_ndk",
|
||||||
"android.hardware.rebootescrow-V1-ndk_platform",
|
"android.hardware.rebootescrow-V1-ndk",
|
||||||
],
|
],
|
||||||
static_libs: [
|
static_libs: [
|
||||||
"libhadamardutils",
|
"libhadamardutils",
|
||||||
|
|||||||
@@ -22,9 +22,9 @@ cc_binary {
|
|||||||
"-Wextra",
|
"-Wextra",
|
||||||
],
|
],
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"android.hardware.security.keymint-V1-ndk_platform",
|
"android.hardware.security.keymint-V1-ndk",
|
||||||
"android.hardware.security.sharedsecret-V1-ndk_platform",
|
"android.hardware.security.sharedsecret-V1-ndk",
|
||||||
"android.hardware.security.secureclock-V1-ndk_platform",
|
"android.hardware.security.secureclock-V1-ndk",
|
||||||
"libbase",
|
"libbase",
|
||||||
"libbinder_ndk",
|
"libbinder_ndk",
|
||||||
"libcppbor_external",
|
"libcppbor_external",
|
||||||
|
|||||||
@@ -34,8 +34,8 @@ cc_defaults {
|
|||||||
"libcrypto",
|
"libcrypto",
|
||||||
],
|
],
|
||||||
static_libs: [
|
static_libs: [
|
||||||
"android.hardware.security.keymint-V1-ndk_platform",
|
"android.hardware.security.keymint-V1-ndk",
|
||||||
"android.hardware.security.secureclock-V1-ndk_platform",
|
"android.hardware.security.secureclock-V1-ndk",
|
||||||
"libcppbor_external",
|
"libcppbor_external",
|
||||||
"libcppcose_rkp",
|
"libcppcose_rkp",
|
||||||
"libjsoncpp",
|
"libjsoncpp",
|
||||||
|
|||||||
@@ -39,8 +39,8 @@ cc_benchmark {
|
|||||||
"libkeymint_support",
|
"libkeymint_support",
|
||||||
],
|
],
|
||||||
static_libs: [
|
static_libs: [
|
||||||
"android.hardware.security.keymint-V1-ndk_platform",
|
"android.hardware.security.keymint-V1-ndk",
|
||||||
"android.hardware.security.secureclock-V1-ndk_platform",
|
"android.hardware.security.secureclock-V1-ndk",
|
||||||
"libcppbor_external",
|
"libcppbor_external",
|
||||||
"libchrome",
|
"libchrome",
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ cc_library {
|
|||||||
"include",
|
"include",
|
||||||
],
|
],
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"android.hardware.security.keymint-V1-ndk_platform",
|
"android.hardware.security.keymint-V1-ndk",
|
||||||
"libbase",
|
"libbase",
|
||||||
"libcrypto",
|
"libcrypto",
|
||||||
"libutils",
|
"libutils",
|
||||||
|
|||||||
@@ -41,8 +41,8 @@ cc_test {
|
|||||||
"libcrypto",
|
"libcrypto",
|
||||||
],
|
],
|
||||||
static_libs: [
|
static_libs: [
|
||||||
"android.hardware.security.keymint-V1-ndk_platform",
|
"android.hardware.security.keymint-V1-ndk",
|
||||||
"android.hardware.security.secureclock-V1-ndk_platform",
|
"android.hardware.security.secureclock-V1-ndk",
|
||||||
"libkeymint",
|
"libkeymint",
|
||||||
],
|
],
|
||||||
test_suites: [
|
test_suites: [
|
||||||
|
|||||||
@@ -41,8 +41,8 @@ cc_test {
|
|||||||
"libcrypto",
|
"libcrypto",
|
||||||
],
|
],
|
||||||
static_libs: [
|
static_libs: [
|
||||||
"android.hardware.security.keymint-V1-ndk_platform",
|
"android.hardware.security.keymint-V1-ndk",
|
||||||
"android.hardware.security.sharedsecret-V1-ndk_platform",
|
"android.hardware.security.sharedsecret-V1-ndk",
|
||||||
"libkeymint",
|
"libkeymint",
|
||||||
],
|
],
|
||||||
test_suites: [
|
test_suites: [
|
||||||
|
|||||||
@@ -100,10 +100,10 @@ cc_test {
|
|||||||
// These are static libs only for testing purposes and portability. Shared
|
// These are static libs only for testing purposes and portability. Shared
|
||||||
// libs should be used on device.
|
// libs should be used on device.
|
||||||
static_libs: [
|
static_libs: [
|
||||||
"android.hardware.common-V2-ndk_platform",
|
"android.hardware.common-V2-ndk",
|
||||||
"android.hardware.common.fmq-V1-ndk_platform",
|
"android.hardware.common.fmq-V1-ndk",
|
||||||
"android.hardware.tests.msgq@1.0",
|
"android.hardware.tests.msgq@1.0",
|
||||||
"android.fmq.test-ndk_platform",
|
"android.fmq.test-ndk",
|
||||||
],
|
],
|
||||||
whole_static_libs: [
|
whole_static_libs: [
|
||||||
"android.hardware.tests.msgq@1.0-impl",
|
"android.hardware.tests.msgq@1.0-impl",
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ cc_binary {
|
|||||||
"Weaver.cpp",
|
"Weaver.cpp",
|
||||||
],
|
],
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"android.hardware.weaver-V1-ndk_platform",
|
"android.hardware.weaver-V1-ndk",
|
||||||
"libbase",
|
"libbase",
|
||||||
"libbinder_ndk",
|
"libbinder_ndk",
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ cc_test {
|
|||||||
"libbinder_ndk",
|
"libbinder_ndk",
|
||||||
"libbase",
|
"libbase",
|
||||||
],
|
],
|
||||||
static_libs: ["android.hardware.weaver-V1-ndk_platform"],
|
static_libs: ["android.hardware.weaver-V1-ndk"],
|
||||||
test_suites: [
|
test_suites: [
|
||||||
"general-tests",
|
"general-tests",
|
||||||
"vts",
|
"vts",
|
||||||
|
|||||||
Reference in New Issue
Block a user