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