aboutsummaryrefslogtreecommitdiffstats
path: root/emulator/opengl/tests
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2014-03-11 19:58:51 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-03-11 19:58:51 +0000
commit84b68033f6b92a3c35ac1d3ab7f8278c54744cff (patch)
treeba6e795703570bd83fbfcdf92216359452ebb358 /emulator/opengl/tests
parent81431aae3aaf95209a606511b3a81f6aa06ffe9f (diff)
parent56b89bc863d1a5da6234f05923f63b5466e1ce3f (diff)
downloadsdk-84b68033f6b92a3c35ac1d3ab7f8278c54744cff.zip
sdk-84b68033f6b92a3c35ac1d3ab7f8278c54744cff.tar.gz
sdk-84b68033f6b92a3c35ac1d3ab7f8278c54744cff.tar.bz2
Merge changes I205392bd,I84a058bb,I22c67f11,Id18319e8,I9836ed96, ... into idea133
* changes: emulator/opengl: Allow standalone build. emulator/opengl: Remove libcutils/libutils/liblog emulator/opengl: Remove <utils/List.h> + <utils/String8.h> emulator/opengl: Remove android::KeyedVector usage. emulator/opengl: Remove android::Vector<> usage. emulator/opengl: Remove <cutils/sockets.h>
Diffstat (limited to 'emulator/opengl/tests')
-rw-r--r--emulator/opengl/tests/event_injector/sockets.c4
-rw-r--r--emulator/opengl/tests/translator_tests/GLES_CM/Android.mk6
-rw-r--r--emulator/opengl/tests/translator_tests/GLES_V2/Android.mk5
-rw-r--r--emulator/opengl/tests/ut_renderer/Android.mk2
4 files changed, 6 insertions, 11 deletions
diff --git a/emulator/opengl/tests/event_injector/sockets.c b/emulator/opengl/tests/event_injector/sockets.c
index a2cc334..33df32b 100644
--- a/emulator/opengl/tests/event_injector/sockets.c
+++ b/emulator/opengl/tests/event_injector/sockets.c
@@ -24,10 +24,6 @@
#include <stdlib.h>
#include <string.h>
#include <limits.h>
-//#include "android/utils/path.h"
-//#include "android/utils/debug.h"
-//#include "android/utils/misc.h"
-//#include "android/utils/system.h"
#define D(...) ((void)0)
diff --git a/emulator/opengl/tests/translator_tests/GLES_CM/Android.mk b/emulator/opengl/tests/translator_tests/GLES_CM/Android.mk
index d14d369..1f25a33 100644
--- a/emulator/opengl/tests/translator_tests/GLES_CM/Android.mk
+++ b/emulator/opengl/tests/translator_tests/GLES_CM/Android.mk
@@ -9,7 +9,7 @@ ifeq ($(HOST_OS),darwin)
OSX_VERSION_MAJOR := $(shell echo $(mac_sdk_version) | cut -d . -f 2)
OSX_VERSION_MAJOR_GREATER_THAN_OR_EQUAL_TO_6 := $(shell [ $(OSX_VERSION_MAJOR) -ge 6 ] && echo true)
ifeq ($(OSX_VERSION_MAJOR_GREATER_THAN_OR_EQUAL_TO_6),true)
- LOCAL_SDL_LDLIBS += -Wl,-undefined,dynamic_lookup
+ LOCAL_LDLIBS += -Wl,-undefined,dynamic_lookup
endif
endif
@@ -17,9 +17,9 @@ LOCAL_SRC_FILES:= \
triangleCM.cpp
LOCAL_CFLAGS += $(EMUGL_SDL_CFLAGS) -g -O0
-LOCAL_LDLIBS += $(EMUGL_SDL_LDLIBS)
+LOCAL_LDLIBS += $(EMUGL_SDL_LDLIBS) -lstdc++
-LOCAL_STATIC_LIBRARIES += libSDL libSDLmain
+LOCAL_STATIC_LIBRARIES += $(EMUGL_SDL_STATIC_LIBRARIES)
ifeq ($(HOST_OS),darwin)
$(call emugl-import,libMac_view)
diff --git a/emulator/opengl/tests/translator_tests/GLES_V2/Android.mk b/emulator/opengl/tests/translator_tests/GLES_V2/Android.mk
index 98f85a3..10b3b0c 100644
--- a/emulator/opengl/tests/translator_tests/GLES_V2/Android.mk
+++ b/emulator/opengl/tests/translator_tests/GLES_V2/Android.mk
@@ -7,9 +7,9 @@ LOCAL_SRC_FILES:= \
triangleV2.cpp
LOCAL_CFLAGS += $(EMUGL_SDL_CFLAGS) -g -O0
-LOCAL_LDLIBS += $(EMUGL_SDL_LDLIBS)
+LOCAL_LDLIBS += $(EMUGL_SDL_LDLIBS) -lstdc++
-LOCAL_STATIC_LIBRARIES += libSDL libSDLmain
+LOCAL_STATIC_LIBRARIES += $(EMUGL_SDL_STATIC_LIBRARIES)
ifeq ($(HOST_OS),darwin)
# SDK 10.6+ deprecates __dyld_func_lookup required by dlcompat_init_func
@@ -23,4 +23,3 @@ ifeq ($(HOST_OS),darwin)
endif
$(call emugl-end-module)
-
diff --git a/emulator/opengl/tests/ut_renderer/Android.mk b/emulator/opengl/tests/ut_renderer/Android.mk
index fe8e7ac..91608b2 100644
--- a/emulator/opengl/tests/ut_renderer/Android.mk
+++ b/emulator/opengl/tests/ut_renderer/Android.mk
@@ -3,7 +3,7 @@ LOCAL_PATH:=$(call my-dir)
ifeq ($(HOST_OS), linux)
$(call emugl-begin-host-executable,ut_renderer)
-$(call emugl-import,libut_rendercontrol_dec libGLESv1_dec libGLESv2_dec libEGL_host_wrapper)
+$(call emugl-import,libut_rendercontrol_dec libGLESv1_dec libGLESv2_dec libEGL_host_wrapper libOpenglRender)
LOCAL_SRC_FILES := ut_renderer.cpp \
RenderingThread.cpp \