Files
android_development/tools/emulator/opengl/system/GLESv1_enc/Android.mk
Guy Zadikario caafd4df2e Moved IOStream.h to be used in external API for libOpenGLRender.
This change includes four changes:
1) moved IOStream.h into host/include/libOpenGLRender, this directory
   will include the api interface into the libOpenGLRender which will be
   used later by the emulator and we need this interface to use IOStream.h
2) Updated Andorid.mk files to include the new directory location of IOStream.h
   in the LOCAL_C_INCLUDE.
3) Added new function "read" to IOStream which reads a message without a givven
   size.
4) Updated TcpStream to use "cutils/sockets.h" instead of using directly the socket api for portability reasons. (It now compiles on windows as well).

Change-Id: I30eb40c8dcd5aacf0d993aff9cdb90b283b12dde
2011-04-13 13:33:05 +03:00

47 lines
1.2 KiB
Makefile

LOCAL_PATH := $(call my-dir)
emulatorOpengl := $(LOCAL_PATH)/../..
### GLESv1_enc Encoder ###########################################
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
GLEncoder.cpp \
GLEncoderUtils.cpp
LOCAL_MODULE_TAGS := debug
LOCAL_MODULE := libGLESv1_enc
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
glesv1_intermediates := $(local-intermediates-dir)
LOCAL_PRELINK_MODULE := false
LOCAL_CFLAGS += -DLOG_TAG=\"egl_GLESv1_enc\"
LOCAL_C_INCLUDES += \
$(emulatorOpengl)/shared/OpenglCodecCommon \
$(emulatorOpengl)/host/include/libOpenglRender \
$(glesv1_intermediates)
LOCAL_STATIC_LIBRARIES := \
libOpenglCodecCommon
LOCAL_SHARED_LIBRARIES := libcutils
EMUGEN := $(HOST_OUT_EXECUTABLES)/emugen
GEN_GL := \
$(glesv1_intermediates)/gl_entry.cpp \
$(glesv1_intermediates)/gl_enc.cpp \
$(glesv1_intermediates)/gl_enc.h
$(GEN_GL) : PRIVATE_PATH := $(LOCAL_PATH)
$(GEN_GL) : PRIVATE_CUSTOM_TOOL := \
$(EMUGEN) -E $(glesv1_intermediates) -i $(PRIVATE_PATH) gl
$(GEN_GL) : $(EMUGEN) \
$(LOCAL_PATH)/gl.attrib \
$(LOCAL_PATH)/gl.in \
$(LOCAL_PATH)//gl.types
$(transform-generated-source)
LOCAL_GENERATED_SOURCES += $(GEN_GL)
include $(BUILD_SHARED_LIBRARY)