From 00e4c736bf05e7b48e985b920ad4e2bcff10faa7 Mon Sep 17 00:00:00 2001
From: Jiyong Park <jiyong@google.com>
Date: Mon, 9 Aug 2021 09:01:16 +0900
Subject: [PATCH] aidl: 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: I14a1c57bd06f1f2aa52491f779c7030d4de03547
Change-Id: I7b9055909b901843631314b9577a9e578a739d00
---
 aidl/light/Android.bp            | 2 +-
 aidl/power-libperfmgr/Android.mk | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/aidl/light/Android.bp b/aidl/light/Android.bp
index 2fbf1c5..1b89b55 100644
--- a/aidl/light/Android.bp
+++ b/aidl/light/Android.bp
@@ -18,7 +18,7 @@ cc_binary {
     shared_libs: [
         "libbase",
         "libbinder_ndk",
-        "android.hardware.light-V1-ndk_platform",
+        "android.hardware.light-V1-ndk",
     ],
     vendor: true,
 }
diff --git a/aidl/power-libperfmgr/Android.mk b/aidl/power-libperfmgr/Android.mk
index 8e5c21f..7471be5 100644
--- a/aidl/power-libperfmgr/Android.mk
+++ b/aidl/power-libperfmgr/Android.mk
@@ -24,7 +24,7 @@ include $(CLEAR_VARS)
 LOCAL_MODULE_RELATIVE_PATH := hw
 
 LOCAL_SHARED_LIBRARIES := \
-    android.hardware.power-V2-ndk_platform \
+    android.hardware.power-V2-ndk \
     libbase \
     libbinder_ndk \
     libcutils \
@@ -33,7 +33,7 @@ LOCAL_SHARED_LIBRARIES := \
     libperfmgr \
     libprocessgroup \
     libutils \
-    pixel-power-ext-V1-ndk_platform
+    pixel-power-ext-V1-ndk
 
 LOCAL_SRC_FILES := \
     service.cpp \