2 ###############################################################################
4 # THIS FILE IS AUTOGENERATED BY GYP_TO_ANDROID.PY. DO NOT EDIT.
6 ###############################################################################
8 BASE_PATH := $(call my-dir)
9 LOCAL_PATH:= $(call my-dir)
11 ###############################################################################
13 # PROBLEMS WITH SKIA DEBUGGING?? READ THIS...
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:
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
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.
31 # NOTE: If neither SK_DEBUG or SK_RELEASE are defined then Skia checks NDEBUG to
32 # determine which build type to use.
33 ###############################################################################
36 LOCAL_ARM_MODE := thumb
37 ifeq ($(TARGET_ARCH),arm)
38 ifeq ($(ARCH_ARM_HAVE_VFP),true)
39 LOCAL_CFLAGS += -DANDROID_LARGE_MEMORY_DEVICE
42 LOCAL_CFLAGS += -DANDROID_LARGE_MEMORY_DEVICE
46 #LOCAL_CFLAGS += -g -O0
48 ifeq ($(NO_FALLBACK_FONT),true)
49 LOCAL_CFLAGS += -DNO_FALLBACK_FONT
61 LOCAL_SHARED_LIBRARIES := \
62 local_shared_libraries
64 LOCAL_STATIC_LIBRARIES := \
65 local_static_libraries
70 LOCAL_EXPORT_C_INCLUDE_DIRS := \
71 local_export_c_include_dirs
76 LOCAL_MODULE_TAGS := \
86 LOCAL_CPPFLAGS_foo += \
89 LOCAL_SRC_FILES_foo += \
92 LOCAL_SHARED_LIBRARIES_foo += \
93 local_shared_libraries_foo
95 LOCAL_STATIC_LIBRARIES_foo += \
96 local_static_libraries_foo
98 LOCAL_C_INCLUDES_foo += \
101 LOCAL_EXPORT_C_INCLUDE_DIRS_foo += \
102 local_export_c_include_dirs_foo
104 LOCAL_CFLAGS_foo += \
107 LOCAL_MODULE_TAGS_foo += \
108 local_module_tags_foo
110 LOCAL_MODULE_foo += \
115 LOCAL_CFLAGS_bar += \
118 LOCAL_CPPFLAGS_bar += \
121 LOCAL_SRC_FILES_bar += \
124 LOCAL_SHARED_LIBRARIES_bar += \
125 local_shared_libraries_bar
127 LOCAL_STATIC_LIBRARIES_bar += \
128 local_static_libraries_bar
130 LOCAL_C_INCLUDES_bar += \
133 LOCAL_EXPORT_C_INCLUDE_DIRS_bar += \
134 local_export_c_include_dirs_bar
136 LOCAL_CFLAGS_bar += \
139 LOCAL_MODULE_TAGS_bar += \
140 local_module_tags_bar
142 LOCAL_MODULE_bar += \
145 include external/stlport/libstlport.mk
146 include $(BUILD_SHARED_LIBRARY)
148 #############################################################
149 # Build the skia tools
152 # benchmark (timings)
153 include $(BASE_PATH)/bench/Android.mk
154 include $(BASE_PATH)/tools/Android.mk
156 # golden-master (fidelity / regression test)
157 include $(BASE_PATH)/gm/Android.mk
160 include $(BASE_PATH)/tests/Android.mk
162 # diamond-master (one test to rule them all)
163 include $(BASE_PATH)/dm/Android.mk