Don't built a platform variant of app glue.
This isn't needed.
Test: treehugger
Bug: 152482542
Change-Id: I1e5908e70375158cd184003d17b9b23e74f3365e
Merged-In: I1e5908e70375158cd184003d17b9b23e74f3365e
(cherry picked from commit ce62d4c77672016fc5dea8fa9c3897ca3601ce4a)
diff --git a/android_native_app_glue.bp b/android_native_app_glue.bp
index 234f945..0e84aec 100644
--- a/android_native_app_glue.bp
+++ b/android_native_app_glue.bp
@@ -19,10 +19,6 @@
srcs: ["current/sources/android/native_app_glue/android_native_app_glue.c"],
cflags: ["-Wall", "-Werror", "-Wno-unused-parameter"],
sdk_version: "minimum",
+ sdk_variant_only: true,
export_include_dirs: ["current/sources/android/native_app_glue"],
- target: {
- platform: {
- shared_libs: ["libnativewindow"],
- },
- },
}