OLD | NEW |
(Empty) | |
| 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/config.mk to include -DSK_DEBUG on the line that |
| 27 # 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_ARM_MODE := thumb |
| 37 ifeq ($(TARGET_ARCH),arm) |
| 38 ifeq ($(ARCH_ARM_HAVE_VFP),true) |
| 39 LOCAL_CFLAGS += -DANDROID_LARGE_MEMORY_DEVICE |
| 40 endif |
| 41 else |
| 42 LOCAL_CFLAGS += -DANDROID_LARGE_MEMORY_DEVICE |
| 43 endif |
| 44 |
| 45 # used for testing |
| 46 #LOCAL_CFLAGS += -g -O0 |
| 47 |
| 48 ifeq ($(NO_FALLBACK_FONT),true) |
| 49 LOCAL_CFLAGS += -DNO_FALLBACK_FONT |
| 50 endif |
| 51 |
| 52 LOCAL_CFLAGS += \ |
| 53 local_cflags |
| 54 |
| 55 LOCAL_CPPFLAGS := \ |
| 56 local_cppflags |
| 57 |
| 58 LOCAL_SRC_FILES := \ |
| 59 local_src_files |
| 60 |
| 61 LOCAL_SHARED_LIBRARIES := \ |
| 62 local_shared_libraries |
| 63 |
| 64 LOCAL_STATIC_LIBRARIES := \ |
| 65 local_static_libraries |
| 66 |
| 67 LOCAL_C_INCLUDES := \ |
| 68 local_c_includes |
| 69 |
| 70 LOCAL_EXPORT_C_INCLUDE_DIRS := \ |
| 71 local_export_c_include_dirs |
| 72 |
| 73 ifeq ($(COND), true) |
| 74 LOCAL_CFLAGS_foo += \ |
| 75 local_cflags_foo |
| 76 |
| 77 LOCAL_CPPFLAGS_foo += \ |
| 78 local_cppflags_foo |
| 79 |
| 80 LOCAL_SRC_FILES_foo += \ |
| 81 local_src_files_foo |
| 82 |
| 83 LOCAL_SHARED_LIBRARIES_foo += \ |
| 84 local_shared_libraries_foo |
| 85 |
| 86 LOCAL_STATIC_LIBRARIES_foo += \ |
| 87 local_static_libraries_foo |
| 88 |
| 89 LOCAL_C_INCLUDES_foo += \ |
| 90 local_c_includes_foo |
| 91 |
| 92 LOCAL_EXPORT_C_INCLUDE_DIRS_foo += \ |
| 93 local_export_c_include_dirs_foo |
| 94 |
| 95 endif |
| 96 |
| 97 LOCAL_CFLAGS_bar += \ |
| 98 local_cflags_bar |
| 99 |
| 100 LOCAL_CPPFLAGS_bar += \ |
| 101 local_cppflags_bar |
| 102 |
| 103 LOCAL_SRC_FILES_bar += \ |
| 104 local_src_files_bar |
| 105 |
| 106 LOCAL_SHARED_LIBRARIES_bar += \ |
| 107 local_shared_libraries_bar |
| 108 |
| 109 LOCAL_STATIC_LIBRARIES_bar += \ |
| 110 local_static_libraries_bar |
| 111 |
| 112 LOCAL_C_INCLUDES_bar += \ |
| 113 local_c_includes_bar |
| 114 |
| 115 LOCAL_EXPORT_C_INCLUDE_DIRS_bar += \ |
| 116 local_export_c_include_dirs_bar |
| 117 |
| 118 include external/stlport/libstlport.mk |
| 119 LOCAL_MODULE:= libskia |
| 120 include $(BUILD_SHARED_LIBRARY) |
| 121 |
| 122 ############################################################# |
| 123 # Build the skia tools |
| 124 # |
| 125 |
| 126 # benchmark (timings) |
| 127 #include $(BASE_PATH)/bench/Android.mk |
| 128 |
| 129 # golden-master (fidelity / regression test) |
| 130 #include $(BASE_PATH)/gm/Android.mk |
| 131 |
| 132 # unit-tests |
| 133 #include $(BASE_PATH)/tests/Android.mk |
| 134 |
| 135 # pathOps unit-tests |
| 136 # TODO include those sources! |
OLD | NEW |