Fix link-type warning on GLDual
An sdk app GLDual uses a native:platform library libgldualjni, which
causes a link-type warning. Actually libutils is the only platform
library used by libgldualjni, and the warning can be eliminated by
rewriting code not to use libutils and setting LOCAL_SDK_VERSION.
Bug: 73907534
Test: mma -j does not show any link-type warnings
Change-Id: I2a4f4bb0ac8002cb7ab5c60f8ba74728eca92f22
diff --git a/opengl/tests/gldual/Android.mk b/opengl/tests/gldual/Android.mk
index dc265b6..5bdc0a8 100644
--- a/opengl/tests/gldual/Android.mk
+++ b/opengl/tests/gldual/Android.mk
@@ -37,13 +37,13 @@
gl_code.cpp
LOCAL_SHARED_LIBRARIES := \
- libutils \
liblog \
libEGL \
libGLESv2
LOCAL_MODULE := libgldualjni
+LOCAL_SDK_VERSION := current
include $(BUILD_SHARED_LIBRARY)