Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / skia / platform_tools / android / tests / expectations / Android.mk
1
2 ###############################################################################
3 #
4 # THIS FILE IS AUTOGENERATED BY GYP_TO_ANDROID.PY. DO NOT EDIT.
5 #
6 ###############################################################################
7
8 BASE_PATH := $(call my-dir)
9 LOCAL_PATH:= $(call my-dir)
10
11 ###############################################################################
12 #
13 # PROBLEMS WITH SKIA DEBUGGING?? READ THIS...
14 #
15 # The debug build results in changes to the Skia headers. This means that those
16 # using libskia must also be built with the debug version of the Skia headers.
17 # There are a few scenarios where this comes into play:
18 #
19 # (1) You're building debug code that depends on libskia.
20 #   (a) If libskia is built in release, then define SK_RELEASE when building
21 #       your sources.
22 #   (b) If libskia is built with debugging (see step 2), then no changes are
23 #       needed since your sources and libskia have been built with SK_DEBUG.
24 # (2) You're building libskia in debug mode.
25 #   (a) RECOMMENDED: You can build the entire system in debug mode. Do this by
26 #       updating your build/core/config.mk to include -DSK_DEBUG on the line
27 #       that defines COMMON_GLOBAL_CFLAGS
28 #   (b) You can update all the users of libskia to define SK_DEBUG when they are
29 #       building their sources.
30 #
31 # NOTE: If neither SK_DEBUG or SK_RELEASE are defined then Skia checks NDEBUG to
32 #       determine which build type to use.
33 ###############################################################################
34
35 include $(CLEAR_VARS)
36 LOCAL_FDO_SUPPORT := true
37 ifneq ($(strip $(TARGET_FDO_CFLAGS)),)
38         # This should be the last -Oxxx specified in LOCAL_CFLAGS
39         LOCAL_CFLAGS += -O2
40 endif
41
42 LOCAL_ARM_MODE := thumb
43 ifeq ($(TARGET_ARCH),arm)
44         ifeq ($(ARCH_ARM_HAVE_VFP),true)
45                 LOCAL_CFLAGS += -DANDROID_LARGE_MEMORY_DEVICE
46         endif
47 else
48         LOCAL_CFLAGS += -DANDROID_LARGE_MEMORY_DEVICE
49 endif
50
51 # used for testing
52 #LOCAL_CFLAGS += -g -O0
53
54 ifeq ($(NO_FALLBACK_FONT),true)
55         LOCAL_CFLAGS += -DNO_FALLBACK_FONT
56 endif
57
58 LOCAL_CFLAGS += \
59         local_cflags
60
61 LOCAL_CPPFLAGS := \
62         local_cppflags
63
64 LOCAL_SRC_FILES := \
65         local_src_files
66
67 LOCAL_SHARED_LIBRARIES := \
68         local_shared_libraries
69
70 LOCAL_STATIC_LIBRARIES := \
71         local_static_libraries
72
73 LOCAL_C_INCLUDES := \
74         local_c_includes
75
76 LOCAL_EXPORT_C_INCLUDE_DIRS := \
77         local_export_c_include_dirs
78
79 LOCAL_CFLAGS += \
80         -Ddefines
81
82 LOCAL_MODULE_TAGS := \
83         local_module_tags
84
85 LOCAL_MODULE := \
86         local_module
87
88 ifeq ($(COND), true)
89 LOCAL_CFLAGS_foo += \
90         local_cflags_foo
91
92 LOCAL_CPPFLAGS_foo += \
93         local_cppflags_foo
94
95 LOCAL_SRC_FILES_foo += \
96         local_src_files_foo
97
98 LOCAL_SHARED_LIBRARIES_foo += \
99         local_shared_libraries_foo
100
101 LOCAL_STATIC_LIBRARIES_foo += \
102         local_static_libraries_foo
103
104 LOCAL_C_INCLUDES_foo += \
105         local_c_includes_foo
106
107 LOCAL_EXPORT_C_INCLUDE_DIRS_foo += \
108         local_export_c_include_dirs_foo
109
110 LOCAL_CFLAGS_foo += \
111         -Ddefines_foo
112
113 LOCAL_MODULE_TAGS_foo += \
114         local_module_tags_foo
115
116 LOCAL_MODULE_foo += \
117         local_module_foo
118
119 endif
120
121 LOCAL_CFLAGS_bar += \
122         local_cflags_bar
123
124 LOCAL_CPPFLAGS_bar += \
125         local_cppflags_bar
126
127 LOCAL_SRC_FILES_bar += \
128         local_src_files_bar
129
130 LOCAL_SHARED_LIBRARIES_bar += \
131         local_shared_libraries_bar
132
133 LOCAL_STATIC_LIBRARIES_bar += \
134         local_static_libraries_bar
135
136 LOCAL_C_INCLUDES_bar += \
137         local_c_includes_bar
138
139 LOCAL_EXPORT_C_INCLUDE_DIRS_bar += \
140         local_export_c_include_dirs_bar
141
142 LOCAL_CFLAGS_bar += \
143         -Ddefines_bar
144
145 LOCAL_MODULE_TAGS_bar += \
146         local_module_tags_bar
147
148 LOCAL_MODULE_bar += \
149         local_module_bar
150
151 include external/stlport/libstlport.mk
152 include $(BUILD_SHARED_LIBRARY)
153
154 #############################################################
155 # Build the skia tools
156 #
157
158 # benchmark (timings)
159 include $(BASE_PATH)/bench/Android.mk
160
161 # golden-master (fidelity / regression test)
162 include $(BASE_PATH)/gm/Android.mk
163
164 # diamond-master (one test to rule them all)
165 include $(BASE_PATH)/dm/Android.mk