blob: f5f62f274d5f520a7a2c53b1a96b99423c144f4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
DEBUG_BUILD := true
ifneq ($(TARGET_SIMULATOR),true)
LOCAL_PATH := $(call my-dir)
mesa_SRC_FILES := \
egl.cpp \
cmain.c \
main.cpp
# Executable for host
# ========================================================
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
ifeq ($(DEBUG_BUILD),true)
LOCAL_CPPFLAGS += -DDEBUG -UNDEBUG -O0 -g
LOCAL_CFLAGS += -DDEBUG -UNDEBUG -O0 -g
endif
LOCAL_MODULE := mesa
LOCAL_SRC_FILES := $(mesa_SRC_FILES)
LOCAL_STATIC_LIBRARIES := libMesa
LOCAL_SHARED_LIBRARIES := libbcc
LOCAL_C_INCLUDES := \
$(LOCAL_PATH) \
frameworks/compile/mesa/include
include $(BUILD_HOST_EXECUTABLE)
# Executable for target
# ========================================================
include $(CLEAR_VARS)
#LOCAL_PRELINK_MODULE := false
LOCAL_MODULE_TAGS := optional
ifeq ($(DEBUG_BUILD),true)
LOCAL_CPPFLAGS += -DDEBUG -UNDEBUG -O0 -g
LOCAL_CFLAGS += -DDEBUG -UNDEBUG -O0 -g
endif
LOCAL_MODULE := mesa
LOCAL_SRC_FILES := $(mesa_SRC_FILES)
LOCAL_STATIC_LIBRARIES := libMesa
LOCAL_SHARED_LIBRARIES := libstlport libcutils libutils libhardware libsurfaceflinger_client libbcc libdl
LOCAL_C_INCLUDES := \
$(LOCAL_PATH) \
frameworks/compile/mesa/include
include $(BUILD_EXECUTABLE)
endif # TARGET_SIMULATOR != true
|