Remove ndk_platform backend. Use the ndk backend.

The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same 'ndk' backend.

Bug: 161456198
Test: m
Change-Id: Ibe8beeaf0d1b33968fb782f1f70c17ae9e9bf871
This commit is contained in:
Jiyong Park
2021-07-27 12:16:52 +09:00
parent 738dd1a9e3
commit 27f77fefd7
32 changed files with 52 additions and 52 deletions

View File

@@ -34,7 +34,7 @@ cc_binary {
"AuthSecret.cpp",
],
shared_libs: [
"android.hardware.authsecret-V1-ndk_platform",
"android.hardware.authsecret-V1-ndk",
"libbase",
"libbinder_ndk",
],

View File

@@ -30,7 +30,7 @@ cc_test {
"use_libaidlvintf_gtest_helper_static",
],
srcs: ["VtsHalAuthSecretTargetTest.cpp"],
static_libs: ["android.hardware.authsecret-V1-ndk_platform"],
static_libs: ["android.hardware.authsecret-V1-ndk"],
shared_libs: ["libbinder_ndk"],
test_suites: [
"general-tests",

View File

@@ -36,6 +36,6 @@ cc_binary {
"libbase",
"libbinder_ndk",
"libutils",
"android.hardware.automotive.occupant_awareness-V1-ndk_platform",
"android.hardware.automotive.occupant_awareness-V1-ndk",
],
}

View File

@@ -36,6 +36,6 @@ cc_binary {
"libbase",
"libbinder_ndk",
"libutils",
"android.hardware.automotive.occupant_awareness-V1-ndk_platform",
"android.hardware.automotive.occupant_awareness-V1-ndk",
],
}

View File

@@ -15,7 +15,7 @@ cc_library_static {
srcs: ["NativeHandle.cpp"],
export_include_dirs: ["include"],
shared_libs: [
"android.hardware.common-V2-ndk_platform",
"android.hardware.common-V2-ndk",
"libcutils",
],
apex_available: [
@@ -31,7 +31,7 @@ cc_test {
defaults: ["libbinder_ndk_host_user"],
srcs: ["test.cpp"],
static_libs: [
"android.hardware.common-V2-ndk_platform",
"android.hardware.common-V2-ndk",
"libaidlcommonsupport",
],
shared_libs: [

View File

@@ -28,7 +28,7 @@ cc_test {
defaults: ["VtsHalTargetTestDefaults"],
srcs: ["VtsHalGraphicsMapperV4_0TargetTest.cpp"],
static_libs: [
"android.hardware.graphics.common-V2-ndk_platform",
"android.hardware.graphics.common-V2-ndk",
"android.hardware.graphics.mapper@4.0-vts",
"libgralloctypes",
"libsync",

View File

@@ -29,7 +29,7 @@ cc_defaults {
shared_libs: [
"libbase",
"libbinder_ndk",
"android.hardware.health.storage-V1-ndk_platform",
"android.hardware.health.storage-V1-ndk",
],
static_libs: [
"libfstab",

View File

@@ -34,7 +34,7 @@ cc_test {
"libbinder_ndk",
],
static_libs: [
"android.hardware.health.storage-V1-ndk_platform",
"android.hardware.health.storage-V1-ndk",
],
header_libs: [
"libhealth_storage_test_common_headers",

View File

@@ -39,8 +39,8 @@ cc_library_static {
"libsoft_attestation_cert",
"libpuresoftkeymasterdevice",
"android.hardware.identity-support-lib",
"android.hardware.identity-V3-ndk_platform",
"android.hardware.keymaster-V3-ndk_platform",
"android.hardware.identity-V3-ndk",
"android.hardware.keymaster-V3-ndk",
],
}
@@ -100,8 +100,8 @@ cc_binary {
"libsoft_attestation_cert",
"libpuresoftkeymasterdevice",
"android.hardware.identity-support-lib",
"android.hardware.identity-V3-ndk_platform",
"android.hardware.keymaster-V3-ndk_platform",
"android.hardware.identity-V3-ndk",
"android.hardware.keymaster-V3-ndk",
"android.hardware.identity-libeic-hal-common",
"android.hardware.identity-libeic-library",
],
@@ -127,7 +127,7 @@ cc_test {
"-DEIC_DEBUG",
],
local_include_dirs: [
"common",
"common",
],
shared_libs: [
"liblog",

View File

@@ -42,7 +42,7 @@ cc_test {
"android.hardware.identity-support-lib",
"android.hardware.identity-V3-cpp",
"android.hardware.keymaster-V3-cpp",
"android.hardware.keymaster-V3-ndk_platform",
"android.hardware.keymaster-V3-ndk",
"libkeymaster4support",
"libkeymaster4_1support",
],

View File

@@ -16,7 +16,7 @@ cc_binary {
shared_libs: [
"libbase",
"libbinder_ndk",
"android.hardware.light-V1-ndk_platform",
"android.hardware.light-V1-ndk",
],
srcs: [
"Lights.cpp",

View File

@@ -30,7 +30,7 @@ cc_binary {
shared_libs: [
"libbase",
"libbinder_ndk",
"android.hardware.memtrack-V1-ndk_platform",
"android.hardware.memtrack-V1-ndk",
],
srcs: [
"main.cpp",

View File

@@ -19,7 +19,7 @@ cc_test {
"libvintf",
],
static_libs: [
"android.hardware.memtrack-V1-ndk_platform",
"android.hardware.memtrack-V1-ndk",
],
test_suites: [
"vts",

View File

@@ -66,7 +66,7 @@ cc_test {
"VtsHalNeuralNetworksV1_0_utils",
"VtsHalNeuralNetworksV1_2_utils",
"VtsHalNeuralNetworksV1_3_utils",
"android.hardware.neuralnetworks-V1-ndk_platform",
"android.hardware.neuralnetworks-V1-ndk",
"android.hardware.neuralnetworks@1.0",
"android.hardware.neuralnetworks@1.1",
"android.hardware.neuralnetworks@1.2",

View File

@@ -31,14 +31,14 @@ cc_library_static {
export_include_dirs: ["include"],
cflags: ["-Wthread-safety"],
static_libs: [
"android.hardware.graphics.common-V2-ndk_platform",
"android.hardware.graphics.common-V2-ndk",
"libaidlcommonsupport",
"libarect",
"neuralnetworks_types",
"neuralnetworks_utils_hal_common",
],
shared_libs: [
"android.hardware.neuralnetworks-V1-ndk_platform",
"android.hardware.neuralnetworks-V1-ndk",
"libbinder_ndk",
"libhidlbase",
"libnativewindow",
@@ -52,9 +52,9 @@ cc_test {
"test/*.cpp",
],
static_libs: [
"android.hardware.common-V2-ndk_platform",
"android.hardware.graphics.common-V2-ndk_platform",
"android.hardware.neuralnetworks-V1-ndk_platform",
"android.hardware.common-V2-ndk",
"android.hardware.graphics.common-V2-ndk",
"android.hardware.neuralnetworks-V1-ndk",
"libaidlcommonsupport",
"libgmock",
"libneuralnetworks_common",

View File

@@ -49,9 +49,9 @@ cc_test {
"libvndksupport",
],
static_libs: [
"android.hardware.common-V2-ndk_platform",
"android.hardware.graphics.common-V2-ndk_platform",
"android.hardware.neuralnetworks-V1-ndk_platform",
"android.hardware.common-V2-ndk",
"android.hardware.graphics.common-V2-ndk",
"android.hardware.neuralnetworks-V1-ndk",
"android.hidl.allocator@1.0",
"android.hidl.memory@1.0",
"libaidlcommonsupport",

View File

@@ -35,7 +35,7 @@ cc_library_static {
"neuralnetworks_types",
],
shared_libs: [
"android.hardware.neuralnetworks-V1-ndk_platform",
"android.hardware.neuralnetworks-V1-ndk",
"libhidlbase",
"libnativewindow",
"libbinder_ndk",

View File

@@ -39,7 +39,7 @@ cc_library_static {
"neuralnetworks_utils_hal_common",
],
shared_libs: [
"android.hardware.neuralnetworks-V1-ndk_platform",
"android.hardware.neuralnetworks-V1-ndk",
"android.hardware.neuralnetworks@1.0",
"android.hardware.neuralnetworks@1.1",
"android.hardware.neuralnetworks@1.2",

View File

@@ -34,7 +34,7 @@ cc_binary {
"OemLock.cpp",
],
shared_libs: [
"android.hardware.oemlock-V1-ndk_platform",
"android.hardware.oemlock-V1-ndk",
"libbase",
"libbinder_ndk",
],

View File

@@ -34,7 +34,7 @@ cc_test {
"libbinder_ndk",
"libbase",
],
static_libs: ["android.hardware.oemlock-V1-ndk_platform"],
static_libs: ["android.hardware.oemlock-V1-ndk"],
test_suites: [
"general-tests",
"vts",

View File

@@ -30,7 +30,7 @@ cc_binary {
shared_libs: [
"libbase",
"libbinder_ndk",
"android.hardware.power.stats-V1-ndk_platform",
"android.hardware.power.stats-V1-ndk",
],
srcs: [
"main.cpp",

View File

@@ -32,7 +32,7 @@ cc_test {
"libbinder_ndk",
],
static_libs: [
"android.hardware.power.stats-V1-ndk_platform",
"android.hardware.power.stats-V1-ndk",
],
test_suites: [
"general-tests",

View File

@@ -29,7 +29,7 @@ cc_library_static {
shared_libs: [
"libbase",
"libbinder_ndk",
"android.hardware.rebootescrow-V1-ndk_platform",
"android.hardware.rebootescrow-V1-ndk",
],
export_include_dirs: ["include"],
srcs: [
@@ -56,7 +56,7 @@ cc_binary {
shared_libs: [
"libbase",
"libbinder_ndk",
"android.hardware.rebootescrow-V1-ndk_platform",
"android.hardware.rebootescrow-V1-ndk",
],
static_libs: [
"libhadamardutils",

View File

@@ -22,9 +22,9 @@ cc_binary {
"-Wextra",
],
shared_libs: [
"android.hardware.security.keymint-V1-ndk_platform",
"android.hardware.security.sharedsecret-V1-ndk_platform",
"android.hardware.security.secureclock-V1-ndk_platform",
"android.hardware.security.keymint-V1-ndk",
"android.hardware.security.sharedsecret-V1-ndk",
"android.hardware.security.secureclock-V1-ndk",
"libbase",
"libbinder_ndk",
"libcppbor_external",

View File

@@ -34,8 +34,8 @@ cc_defaults {
"libcrypto",
],
static_libs: [
"android.hardware.security.keymint-V1-ndk_platform",
"android.hardware.security.secureclock-V1-ndk_platform",
"android.hardware.security.keymint-V1-ndk",
"android.hardware.security.secureclock-V1-ndk",
"libcppbor_external",
"libcppcose_rkp",
"libjsoncpp",

View File

@@ -39,8 +39,8 @@ cc_benchmark {
"libkeymint_support",
],
static_libs: [
"android.hardware.security.keymint-V1-ndk_platform",
"android.hardware.security.secureclock-V1-ndk_platform",
"android.hardware.security.keymint-V1-ndk",
"android.hardware.security.secureclock-V1-ndk",
"libcppbor_external",
"libchrome",
],

View File

@@ -40,7 +40,7 @@ cc_library {
"include",
],
shared_libs: [
"android.hardware.security.keymint-V1-ndk_platform",
"android.hardware.security.keymint-V1-ndk",
"libbase",
"libcrypto",
"libutils",

View File

@@ -41,8 +41,8 @@ cc_test {
"libcrypto",
],
static_libs: [
"android.hardware.security.keymint-V1-ndk_platform",
"android.hardware.security.secureclock-V1-ndk_platform",
"android.hardware.security.keymint-V1-ndk",
"android.hardware.security.secureclock-V1-ndk",
"libkeymint",
],
test_suites: [

View File

@@ -41,8 +41,8 @@ cc_test {
"libcrypto",
],
static_libs: [
"android.hardware.security.keymint-V1-ndk_platform",
"android.hardware.security.sharedsecret-V1-ndk_platform",
"android.hardware.security.keymint-V1-ndk",
"android.hardware.security.sharedsecret-V1-ndk",
"libkeymint",
],
test_suites: [

View File

@@ -100,10 +100,10 @@ cc_test {
// These are static libs only for testing purposes and portability. Shared
// libs should be used on device.
static_libs: [
"android.hardware.common-V2-ndk_platform",
"android.hardware.common.fmq-V1-ndk_platform",
"android.hardware.common-V2-ndk",
"android.hardware.common.fmq-V1-ndk",
"android.hardware.tests.msgq@1.0",
"android.fmq.test-ndk_platform",
"android.fmq.test-ndk",
],
whole_static_libs: [
"android.hardware.tests.msgq@1.0-impl",

View File

@@ -34,7 +34,7 @@ cc_binary {
"Weaver.cpp",
],
shared_libs: [
"android.hardware.weaver-V1-ndk_platform",
"android.hardware.weaver-V1-ndk",
"libbase",
"libbinder_ndk",
],

View File

@@ -34,7 +34,7 @@ cc_test {
"libbinder_ndk",
"libbase",
],
static_libs: ["android.hardware.weaver-V1-ndk_platform"],
static_libs: ["android.hardware.weaver-V1-ndk"],
test_suites: [
"general-tests",
"vts",