From b13cf4ac313da06db883eed40b9d6ce290c97778 Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Tue, 13 Sep 2011 13:57:35 +0200 Subject: [PATCH] emulator: opengl: Fix the Windows SDK build Change-Id: I97be6f81af321f75ff5d43b258387fdc039f0210 --- .../opengl/shared/OpenglCodecCommon/Android.mk | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tools/emulator/opengl/shared/OpenglCodecCommon/Android.mk b/tools/emulator/opengl/shared/OpenglCodecCommon/Android.mk index fb9c2c947..2f7da7976 100644 --- a/tools/emulator/opengl/shared/OpenglCodecCommon/Android.mk +++ b/tools/emulator/opengl/shared/OpenglCodecCommon/Android.mk @@ -11,10 +11,6 @@ commonSources := \ TcpStream.cpp \ TimeUtils.cpp -ifneq ($(HOST_OS),windows) - commonSources += UnixStream.cpp -endif - ### CodecCommon guest ############################################## $(call emugl-begin-static-library,libOpenglCodecCommon) @@ -31,6 +27,12 @@ $(call emugl-begin-host-static-library,libOpenglCodecCommon) LOCAL_SRC_FILES := $(commonSources) +ifeq ($(HOST_OS),windows) + LOCAL_SRC_FILES += Win32PipeStream.cpp +else + LOCAL_SRC_FILES += UnixStream.cpp +endif + $(call emugl-export,STATIC_LIBRARIES,libcutils) $(call emugl-export,C_INCLUDES,$(LOCAL_PATH)) $(call emugl-end-module)