This change adds the libOpenglCodecCommon, which holds shared code between the encoder and the decoder parts of the opengl codec. The library is built as static with both a target version and a host version. Change-Id: I163eea8fdb635620e6cde9d1d75c3e7369953213
34 lines
810 B
Makefile
34 lines
810 B
Makefile
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
### OpenglCodecCommon ##############################################
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
OpenglCodecCommon := \
|
|
OpenglCodecCommon/GLClientState.cpp \
|
|
OpenglCodecCommon/glUtils.cpp \
|
|
OpenglCodecCommon/TcpStream.cpp
|
|
|
|
LOCAL_SRC_FILES := $(OpenglCodecCommon)
|
|
|
|
LOCAL_CFLAGS += -DLOG_TAG=\"eglCodecCommon\"
|
|
LOCAL_MODULE_TAGS := debug
|
|
LOCAL_MODULE := libOpenglCodecCommon
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
### OpenglCodecCommon host ##############################################
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := $(OpenglCodecCommon)
|
|
|
|
LOCAL_MODULE_TAGS := debug
|
|
LOCAL_MODULE := libOpenglCodecCommon
|
|
LOCAL_PRELINK_MODULE := false
|
|
|
|
# XXX - enable the next line for host debugging - JR
|
|
# LOCAL_CFLAGS := -O0 -g
|
|
include $(BUILD_HOST_STATIC_LIBRARY)
|
|
|