emulator: opengl: Fix the Windows SDK build Change-Id: I97be6f81af321f75ff5d43b258387fdc039f0210
diff --git a/tools/emulator/opengl/shared/OpenglCodecCommon/Android.mk b/tools/emulator/opengl/shared/OpenglCodecCommon/Android.mk index fb9c2c9..2f7da79 100644 --- a/tools/emulator/opengl/shared/OpenglCodecCommon/Android.mk +++ b/tools/emulator/opengl/shared/OpenglCodecCommon/Android.mk
@@ -11,10 +11,6 @@ TcpStream.cpp \ TimeUtils.cpp -ifneq ($(HOST_OS),windows) - commonSources += UnixStream.cpp -endif - ### CodecCommon guest ############################################## $(call emugl-begin-static-library,libOpenglCodecCommon) @@ -31,6 +27,12 @@ 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)