OLD | NEW |
1 | 1 |
2 ############################################################################### | 2 ############################################################################### |
3 # | 3 # |
4 # THIS FILE IS AUTOGENERATED BY GYP_TO_ANDROID.PY. DO NOT EDIT. | 4 # THIS FILE IS AUTOGENERATED BY GYP_TO_ANDROID.PY. DO NOT EDIT. |
5 # | 5 # |
6 # For bugs, please contact scroggo@google.com or djsollen@google.com | 6 # For bugs, please contact scroggo@google.com or djsollen@google.com |
7 # | 7 # |
8 ############################################################################### | 8 ############################################################################### |
9 | 9 |
10 BASE_PATH := $(call my-dir) | 10 BASE_PATH := $(call my-dir) |
(...skipping 16 matching lines...) Expand all Loading... |
27 # (a) RECOMMENDED: You can build the entire system in debug mode. Do this by | 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 | 28 # updating your build/core/config.mk to include -DSK_DEBUG on the line |
29 # that defines COMMON_GLOBAL_CFLAGS | 29 # that defines COMMON_GLOBAL_CFLAGS |
30 # (b) You can update all the users of libskia to define SK_DEBUG when they are | 30 # (b) You can update all the users of libskia to define SK_DEBUG when they are |
31 # building their sources. | 31 # building their sources. |
32 # | 32 # |
33 # NOTE: If neither SK_DEBUG or SK_RELEASE are defined then Skia checks NDEBUG to | 33 # NOTE: If neither SK_DEBUG or SK_RELEASE are defined then Skia checks NDEBUG to |
34 # determine which build type to use. | 34 # determine which build type to use. |
35 ############################################################################### | 35 ############################################################################### |
36 | 36 |
| 37 ############################################################################### |
| 38 # STATIC LIBRARY |
| 39 # |
| 40 # This target is only to be used internally for only one of two purposes... |
| 41 # (1) statically linking into testing frameworks |
| 42 # (2) as an inclusion target for the libskia.so shared library |
| 43 ############################################################################### |
| 44 |
37 include $(CLEAR_VARS) | 45 include $(CLEAR_VARS) |
38 LOCAL_FDO_SUPPORT := true | 46 LOCAL_FDO_SUPPORT := true |
39 ifneq ($(strip $(TARGET_FDO_CFLAGS)),) | 47 ifneq ($(strip $(TARGET_FDO_CFLAGS)),) |
40 # This should be the last -Oxxx specified in LOCAL_CFLAGS | 48 # This should be the last -Oxxx specified in LOCAL_CFLAGS |
41 LOCAL_CFLAGS += -O2 | 49 LOCAL_CFLAGS += -O2 |
42 endif | 50 endif |
43 | 51 |
44 LOCAL_ARM_MODE := thumb | 52 LOCAL_ARM_MODE := thumb |
45 # used for testing | 53 # used for testing |
46 #LOCAL_CFLAGS += -g -O0 | 54 #LOCAL_CFLAGS += -g -O0 |
47 | 55 |
48 ifeq ($(NO_FALLBACK_FONT),true) | |
49 LOCAL_CFLAGS += -DNO_FALLBACK_FONT | |
50 endif | |
51 | |
52 LOCAL_CFLAGS += \ | 56 LOCAL_CFLAGS += \ |
53 local_cflags | 57 local_cflags |
54 | 58 |
55 LOCAL_CPPFLAGS := \ | 59 LOCAL_CPPFLAGS := \ |
56 local_cppflags | 60 local_cppflags |
57 | 61 |
58 LOCAL_SRC_FILES := \ | 62 LOCAL_SRC_FILES := \ |
59 local_src_files | 63 local_src_files |
60 | 64 |
61 LOCAL_SHARED_LIBRARIES := \ | 65 LOCAL_SHARED_LIBRARIES := \ |
62 local_shared_libraries | 66 local_shared_libraries |
63 | 67 |
64 LOCAL_STATIC_LIBRARIES := \ | 68 LOCAL_STATIC_LIBRARIES := \ |
65 local_static_libraries | 69 local_static_libraries |
66 | 70 |
67 LOCAL_C_INCLUDES := \ | 71 LOCAL_C_INCLUDES := \ |
68 local_c_includes | 72 local_c_includes |
69 | 73 |
70 LOCAL_EXPORT_C_INCLUDE_DIRS := \ | 74 LOCAL_EXPORT_C_INCLUDE_DIRS := \ |
71 local_export_c_include_dirs | 75 local_export_c_include_dirs |
72 | 76 |
73 LOCAL_CFLAGS += \ | 77 LOCAL_CFLAGS += \ |
74 -Ddefines | 78 -Ddefines |
75 | 79 |
76 LOCAL_MODULE_TAGS := \ | 80 LOCAL_MODULE_TAGS := \ |
77 local_module_tags | 81 local_module_tags |
78 | 82 |
79 LOCAL_MODULE := \ | 83 LOCAL_MODULE := \ |
80 » local_module | 84 » local_module_static |
81 | 85 |
82 ifeq ($(COND), true) | 86 ifeq ($(COND), true) |
83 LOCAL_CFLAGS_foo += \ | 87 LOCAL_CFLAGS_foo += \ |
84 local_cflags_foo | 88 local_cflags_foo |
85 | 89 |
86 LOCAL_CPPFLAGS_foo += \ | 90 LOCAL_CPPFLAGS_foo += \ |
87 local_cppflags_foo | 91 local_cppflags_foo |
88 | 92 |
89 LOCAL_SRC_FILES_foo += \ | 93 LOCAL_SRC_FILES_foo += \ |
90 local_src_files_foo | 94 local_src_files_foo |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 | 139 |
136 LOCAL_CFLAGS_bar += \ | 140 LOCAL_CFLAGS_bar += \ |
137 -Ddefines_bar | 141 -Ddefines_bar |
138 | 142 |
139 LOCAL_MODULE_TAGS_bar += \ | 143 LOCAL_MODULE_TAGS_bar += \ |
140 local_module_tags_bar | 144 local_module_tags_bar |
141 | 145 |
142 LOCAL_MODULE_bar += \ | 146 LOCAL_MODULE_bar += \ |
143 local_module_bar | 147 local_module_bar |
144 | 148 |
| 149 LOCAL_MODULE_CLASS := STATIC_LIBRARIES |
| 150 include $(BUILD_STATIC_LIBRARY) |
| 151 |
| 152 |
| 153 ############################################################################### |
| 154 # SHARED LIBRARY |
| 155 ############################################################################### |
| 156 |
| 157 include $(CLEAR_VARS) |
| 158 LOCAL_MODULE_CLASS := SHARED_LIBRARIES |
| 159 LOCAL_MODULE := local_module |
| 160 LOCAL_WHOLE_STATIC_LIBRARIES := local_module_static |
| 161 LOCAL_EXPORT_C_INCLUDE_DIRS := \ |
| 162 local_export_c_include_dirs |
| 163 |
| 164 include $(BASE_PATH)/skia_static_deps.mk |
145 include $(BUILD_SHARED_LIBRARY) | 165 include $(BUILD_SHARED_LIBRARY) |
146 | 166 |
147 ############################################################# | 167 ############################################################# |
148 # Build the skia tools | 168 # Build the skia tools |
149 # | 169 # |
150 | 170 |
151 # benchmark (timings) | 171 # benchmark (timings) |
152 include $(BASE_PATH)/bench/Android.mk | 172 include $(BASE_PATH)/bench/Android.mk |
153 | 173 |
154 # diamond-master (one test to rule them all) | 174 # diamond-master (one test to rule them all) |
155 include $(BASE_PATH)/dm/Android.mk | 175 include $(BASE_PATH)/dm/Android.mk |
OLD | NEW |