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: I14a1c57bd06f1f2aa52491f779c7030d4de03547
diff --git a/health/Android.bp b/health/Android.bp
index f06c633..008055a 100644
--- a/health/Android.bp
+++ b/health/Android.bp
@@ -28,12 +28,12 @@
],
export_shared_lib_headers: [
- "android.frameworks.stats-V1-ndk_platform",
+ "android.frameworks.stats-V1-ndk",
"pixelatoms-cpp",
],
shared_libs: [
- "android.frameworks.stats-V1-ndk_platform",
+ "android.frameworks.stats-V1-ndk",
"libbase",
"libbinder_ndk",
"libcutils",
diff --git a/pixelstats/Android.bp b/pixelstats/Android.bp
index 21bb6d8..4f397f7 100644
--- a/pixelstats/Android.bp
+++ b/pixelstats/Android.bp
@@ -75,7 +75,7 @@
"-Werror",
],
shared_libs: [
- "android.frameworks.stats-V1-ndk_platform",
+ "android.frameworks.stats-V1-ndk",
"libbase",
"libbinder_ndk",
"libcutils",
@@ -86,7 +86,7 @@
"pixelatoms-cpp",
],
export_shared_lib_headers: [
- "android.frameworks.stats-V1-ndk_platform",
+ "android.frameworks.stats-V1-ndk",
"pixelatoms-cpp",
],
static_libs: [
diff --git a/power-libperfmgr/Android.bp b/power-libperfmgr/Android.bp
index 8196acb..af5aecf 100644
--- a/power-libperfmgr/Android.bp
+++ b/power-libperfmgr/Android.bp
@@ -41,7 +41,7 @@
"adaptivecpu/AdaptiveCpu.cpp",
],
shared_libs: [
- "android.hardware.power-V2-ndk_platform",
+ "android.hardware.power-V2-ndk",
"libbase",
"liblog",
"libperfmgr",
@@ -64,7 +64,7 @@
vintf_fragments: ["aidl/android.hardware.power-service.pixel.xml"],
vendor: true,
shared_libs: [
- "android.hardware.power-V2-ndk_platform",
+ "android.hardware.power-V2-ndk",
"libadaptivecpu",
"libbase",
"libcutils",
@@ -74,7 +74,7 @@
"libdisppower-pixel",
"libperfmgr",
"libprocessgroup",
- "pixel-power-ext-V1-ndk_platform",
+ "pixel-power-ext-V1-ndk",
],
srcs: [
"aidl/service.cpp",
diff --git a/powerstats/Android.bp b/powerstats/Android.bp
index 707f73a..394c07b 100644
--- a/powerstats/Android.bp
+++ b/powerstats/Android.bp
@@ -56,8 +56,8 @@
"libhardware",
"liblog",
"libutils",
- "pixel_stateresidency_provider_aidl_interface-ndk_platform",
- "android.hardware.power.stats-V1-ndk_platform",
+ "pixel_stateresidency_provider_aidl_interface-ndk",
+ "android.hardware.power.stats-V1-ndk",
],
}
diff --git a/thermal/Android.bp b/thermal/Android.bp
index 76f4248..f3551a9 100644
--- a/thermal/Android.bp
+++ b/thermal/Android.bp
@@ -38,8 +38,8 @@
"libbinder_ndk",
"android.hardware.thermal@1.0",
"android.hardware.thermal@2.0",
- "android.hardware.power-V1-ndk_platform",
- "pixel-power-ext-V1-ndk_platform"
+ "android.hardware.power-V1-ndk",
+ "pixel-power-ext-V1-ndk"
],
cflags: [
"-Wall",
diff --git a/vibrator/Android.bp b/vibrator/Android.bp
index 2d6d4d4..dff6816 100644
--- a/vibrator/Android.bp
+++ b/vibrator/Android.bp
@@ -37,7 +37,7 @@
name: "PixelVibratorBinaryDefaults",
defaults: ["PixelVibratorDefaults"],
shared_libs: [
- "android.hardware.vibrator-V2-ndk_platform",
+ "android.hardware.vibrator-V2-ndk",
],
}
@@ -45,7 +45,7 @@
name: "PixelVibratorTestDefaults",
defaults: ["PixelVibratorDefaults"],
static_libs: [
- "android.hardware.vibrator-V2-ndk_platform",
+ "android.hardware.vibrator-V2-ndk",
],
test_suites: ["device-tests"],
require_root: true,