1 # This build script corresponds to a library containing many definitions 2 # common to both the guest and the host. They relate to 3 # 4 LOCAL_PATH := $(call my-dir) 5 6 commonSources := \ 7 GLClientState.cpp \ 8 GLESTextureUtils.cpp \ 9 ChecksumCalculator.cpp \ 10 GLSharedGroup.cpp \ 11 glUtils.cpp \ 12 IndexRangeCache.cpp \ 13 SocketStream.cpp \ 14 TcpStream.cpp \ 15 16 ### CodecCommon guest ############################################## 17 $(call emugl-begin-static-library,libOpenglCodecCommon) 18 19 LOCAL_SRC_FILES := $(commonSources) 20 21 LOCAL_CFLAGS += -DLOG_TAG=\"eglCodecCommon\" 22 23 $(call emugl-export,SHARED_LIBRARIES,libcutils libutils liblog) 24 $(call emugl-export,C_INCLUDES,$(LOCAL_PATH)) 25 $(call emugl-end-module) 26