diff options
Diffstat (limited to 'opengl/tests')
-rw-r--r-- | opengl/tests/EGLTest/Android.mk | 3 | ||||
-rw-r--r-- | opengl/tests/EGLTest/EGL_test.cpp | 4 | ||||
-rw-r--r-- | opengl/tests/gl2_yuvtex/Android.mk | 3 | ||||
-rw-r--r-- | opengl/tests/gl_yuvtex/Android.mk | 3 | ||||
-rw-r--r-- | opengl/tests/hwc/Android.mk | 4 |
5 files changed, 13 insertions, 4 deletions
diff --git a/opengl/tests/EGLTest/Android.mk b/opengl/tests/EGLTest/Android.mk index d820875..1a9ee5c 100644 --- a/opengl/tests/EGLTest/Android.mk +++ b/opengl/tests/EGLTest/Android.mk @@ -30,6 +30,9 @@ LOCAL_C_INCLUDES := \ frameworks/native/opengl/libs \ frameworks/native/opengl/libs/EGL \ +# gold in binutils 2.22 will warn about the usage of mktemp +LOCAL_LDFLAGS += -Wl,--no-fatal-warnings + include $(BUILD_EXECUTABLE) # Include subdirectory makefiles diff --git a/opengl/tests/EGLTest/EGL_test.cpp b/opengl/tests/EGLTest/EGL_test.cpp index d511cae..c0daba2 100644 --- a/opengl/tests/EGLTest/EGL_test.cpp +++ b/opengl/tests/EGLTest/EGL_test.cpp @@ -19,7 +19,7 @@ #include <utils/String8.h> #include <EGL/egl.h> -#include <gui/SurfaceTextureClient.h> +#include <gui/Surface.h> #include <gui/DummyConsumer.h> @@ -104,7 +104,7 @@ TEST_F(EGLTest, EGLTerminateSucceedsWithRemainingObjects) { // Create a EGLSurface sp<BufferQueue> bq = new BufferQueue(); bq->consumerConnect(new DummyConsumer()); - sp<SurfaceTextureClient> mSTC = new SurfaceTextureClient(static_cast<sp<ISurfaceTexture> >( bq)); + sp<Surface> mSTC = new Surface(static_cast<sp<IGraphicBufferProducer> >( bq)); sp<ANativeWindow> mANW = mSTC; EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config, diff --git a/opengl/tests/gl2_yuvtex/Android.mk b/opengl/tests/gl2_yuvtex/Android.mk index 7d43759..bb3cc0c 100644 --- a/opengl/tests/gl2_yuvtex/Android.mk +++ b/opengl/tests/gl2_yuvtex/Android.mk @@ -5,9 +5,10 @@ LOCAL_SRC_FILES:= \ gl2_yuvtex.cpp LOCAL_SHARED_LIBRARIES := \ - libcutils \ + libcutils \ libEGL \ libGLESv2 \ + libutils \ libui LOCAL_C_INCLUDES += $(call include-path-for, opengl-tests-includes) diff --git a/opengl/tests/gl_yuvtex/Android.mk b/opengl/tests/gl_yuvtex/Android.mk index 9e5dba0..e0e2c16 100644 --- a/opengl/tests/gl_yuvtex/Android.mk +++ b/opengl/tests/gl_yuvtex/Android.mk @@ -5,9 +5,10 @@ LOCAL_SRC_FILES:= \ gl_yuvtex.cpp LOCAL_SHARED_LIBRARIES := \ - libcutils \ + libcutils \ libEGL \ libGLESv1_CM \ + libutils \ libui LOCAL_C_INCLUDES += $(call include-path-for, opengl-tests-includes) diff --git a/opengl/tests/hwc/Android.mk b/opengl/tests/hwc/Android.mk index 9eb58b1..177eb63 100644 --- a/opengl/tests/hwc/Android.mk +++ b/opengl/tests/hwc/Android.mk @@ -39,6 +39,7 @@ LOCAL_SHARED_LIBRARIES := \ libcutils \ libEGL \ libGLESv2 \ + libutils \ libui \ libhardware \ @@ -70,6 +71,7 @@ LOCAL_SHARED_LIBRARIES := \ libcutils \ libEGL \ libGLESv2 \ + libutils \ libui \ libhardware \ @@ -99,6 +101,7 @@ LOCAL_SHARED_LIBRARIES := \ libcutils \ libEGL \ libGLESv2 \ + libutils \ libui \ libhardware \ @@ -128,6 +131,7 @@ LOCAL_SHARED_LIBRARIES := \ libcutils \ libEGL \ libGLESv2 \ + libutils \ libui \ libhardware \ |