• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# This build script corresponds to a library containing many definitions
2# common to both the guest and the host. They relate to
3#
4LOCAL_PATH := $(call my-dir)
5
6commonSources := \
7        GLClientState.cpp \
8        GLSharedGroup.cpp \
9        glUtils.cpp \
10        SocketStream.cpp \
11        TcpStream.cpp \
12        TimeUtils.cpp
13
14host_commonSources := $(commonSources)
15
16ifeq ($(HOST_OS),windows)
17    host_commonSources += Win32PipeStream.cpp
18else
19    host_commonSources += UnixStream.cpp
20endif
21
22
23### OpenglCodecCommon  host ##############################################
24$(call emugl-begin-host-static-library,libOpenglCodecCommon)
25
26LOCAL_SRC_FILES := $(host_commonSources)
27
28$(call emugl-export,STATIC_LIBRARIES,libcutils)
29$(call emugl-export,C_INCLUDES,$(LOCAL_PATH))
30$(call emugl-end-module)
31
32
33### OpenglCodecCommon  host, 64-bit #########################################
34$(call emugl-begin-host-static-library,lib64OpenglCodecCommon)
35
36LOCAL_SRC_FILES := $(host_commonSources)
37
38$(call emugl-export,STATIC_LIBRARIES,lib64cutils)
39$(call emugl-export,C_INCLUDES,$(LOCAL_PATH))
40$(call emugl-export,CFLAGS,-m64)
41$(call emugl-end-module)
42
43