am 76780669: Added rules to build 64-bit libraries for 64-bit emulator
* commit '76780669f9867587693563358ccdc903e9cdcbba': Added rules to build 64-bit libraries for 64-bit emulator
This commit is contained in:
@@ -11,6 +11,15 @@ commonSources := \
|
||||
TcpStream.cpp \
|
||||
TimeUtils.cpp
|
||||
|
||||
host_commonSources := $(commonSources)
|
||||
|
||||
ifeq ($(HOST_OS),windows)
|
||||
host_commonSources += Win32PipeStream.cpp
|
||||
else
|
||||
host_commonSources += UnixStream.cpp
|
||||
endif
|
||||
|
||||
|
||||
### CodecCommon guest ##############################################
|
||||
$(call emugl-begin-static-library,libOpenglCodecCommon)
|
||||
|
||||
@@ -22,18 +31,24 @@ $(call emugl-export,SHARED_LIBRARIES,libcutils libutils)
|
||||
$(call emugl-export,C_INCLUDES,$(LOCAL_PATH))
|
||||
$(call emugl-end-module)
|
||||
|
||||
|
||||
### OpenglCodecCommon host ##############################################
|
||||
$(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
|
||||
LOCAL_SRC_FILES := $(host_commonSources)
|
||||
|
||||
$(call emugl-export,STATIC_LIBRARIES,libcutils)
|
||||
$(call emugl-export,C_INCLUDES,$(LOCAL_PATH))
|
||||
$(call emugl-end-module)
|
||||
|
||||
|
||||
### OpenglCodecCommon host, 64-bit #########################################
|
||||
$(call emugl-begin-host-static-library,lib64OpenglCodecCommon)
|
||||
|
||||
LOCAL_SRC_FILES := $(host_commonSources)
|
||||
|
||||
$(call emugl-export,STATIC_LIBRARIES,lib64cutils)
|
||||
$(call emugl-export,C_INCLUDES,$(LOCAL_PATH))
|
||||
$(call emugl-export,CFLAGS,-m64)
|
||||
$(call emugl-end-module)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user