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
Merged-In: Ifadc89ec1cdb32dc39d5639665167c7bae336836
Change-Id: I99947e7fc58b5f6ab7d75f2af63b6bf9384917c3
This commit is contained in:
Jiyong Park 2021-08-09 09:01:18 +09:00
parent a719829bb8
commit 6c8e9f4b94

View file

@ -40,7 +40,7 @@ cc_library {
defaults: ["libpower_defaults"], defaults: ["libpower_defaults"],
srcs: ["power.cpp"], srcs: ["power.cpp"],
export_include_dirs: ["include"], export_include_dirs: ["include"],
shared_libs: ["android.system.suspend-V1-ndk_platform"], shared_libs: ["android.system.suspend-V1-ndk"],
vendor_available: true, vendor_available: true,
vndk: { vndk: {
enabled: true, enabled: true,
@ -54,7 +54,7 @@ cc_test {
static_libs: ["libpower"], static_libs: ["libpower"],
shared_libs: [ shared_libs: [
"android.system.suspend.control.internal-cpp", "android.system.suspend.control.internal-cpp",
"android.system.suspend-V1-ndk_platform", "android.system.suspend-V1-ndk",
], ],
test_suites: ["device-tests"], test_suites: ["device-tests"],
require_root: true, require_root: true,
@ -69,7 +69,7 @@ cc_library_shared {
}, },
shared_libs: [ shared_libs: [
"android.system.suspend-V1-ndk_platform", "android.system.suspend-V1-ndk",
"libdl", "libdl",
], ],
@ -98,7 +98,7 @@ cc_test {
srcs: ["block_suspend.cpp"], srcs: ["block_suspend.cpp"],
static_libs: ["libpower"], static_libs: ["libpower"],
shared_libs: [ shared_libs: [
"android.system.suspend-V1-ndk_platform", "android.system.suspend-V1-ndk",
], ],
gtest: false, gtest: false,
} }