Chromium Code Reviews| 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) |
| 11 LOCAL_PATH:= $(call my-dir) | 11 LOCAL_PATH := $(call my-dir) |
| 12 | 12 |
| 13 ############################################################################### | 13 ############################################################################### |
| 14 # | 14 # |
| 15 # PROBLEMS WITH SKIA DEBUGGING?? READ THIS... | 15 # PROBLEMS WITH SKIA DEBUGGING?? READ THIS... |
| 16 # | 16 # |
| 17 # The debug build results in changes to the Skia headers. This means that those | 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. | 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: | 19 # There are a few scenarios where this comes into play: |
| 20 # | 20 # |
| 21 # (1) You're building debug code that depends on libskia. | 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 | 22 # (a) If libskia is built in release, then define SK_RELEASE when building |
| 23 # your sources. | 23 # your sources. |
| 24 # (b) If libskia is built with debugging (see step 2), then no changes are | 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. | 25 # needed since your sources and libskia have been built with SK_DEBUG. |
| 26 # (2) You're building libskia in debug mode. | 26 # (2) You're building libskia in debug mode. |
| 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 ############################################################################### | |
| 39 # STATIC LIBRARY | |
| 40 # | |
| 41 # This target is only to be used internally for only one of two purposes... | |
| 42 # (1) statically linking into testing frameworks | |
| 43 # (2) as an inclusion target for the libskia.so shared library | |
| 44 ############################################################################### | |
| 45 | |
| 37 include $(CLEAR_VARS) | 46 include $(CLEAR_VARS) |
| 47 | |
| 38 LOCAL_FDO_SUPPORT := true | 48 LOCAL_FDO_SUPPORT := true |
| 39 ifneq ($(strip $(TARGET_FDO_CFLAGS)),) | 49 ifneq ($(strip $(TARGET_FDO_CFLAGS)),) |
| 40 # This should be the last -Oxxx specified in LOCAL_CFLAGS | 50 # This should be the last -Oxxx specified in LOCAL_CFLAGS |
| 41 LOCAL_CFLAGS += -O2 | 51 LOCAL_CFLAGS += -O2 |
| 42 endif | 52 endif |
| 43 | 53 |
| 44 LOCAL_ARM_MODE := thumb | 54 LOCAL_ARM_MODE := thumb |
| 45 # used for testing | 55 # used for testing |
| 46 #LOCAL_CFLAGS += -g -O0 | 56 #LOCAL_CFLAGS += -g -O0 |
| 47 | 57 |
| 48 ifeq ($(NO_FALLBACK_FONT),true) | |
| 49 LOCAL_CFLAGS += -DNO_FALLBACK_FONT | |
| 50 endif | |
| 51 | |
| 52 LOCAL_CFLAGS += \ | 58 LOCAL_CFLAGS += \ |
| 53 local_cflags | 59 local_cflags |
| 54 | 60 |
| 55 LOCAL_CPPFLAGS := \ | 61 LOCAL_CPPFLAGS := \ |
| 56 local_cppflags | 62 local_cppflags |
| 57 | 63 |
| 58 LOCAL_SRC_FILES := \ | 64 LOCAL_SRC_FILES := \ |
| 59 local_src_files | 65 local_src_files |
| 60 | 66 |
| 61 LOCAL_SHARED_LIBRARIES := \ | 67 LOCAL_SHARED_LIBRARIES := \ |
| 62 local_shared_libraries | 68 local_shared_libraries |
| 63 | 69 |
| 64 LOCAL_STATIC_LIBRARIES := \ | 70 LOCAL_STATIC_LIBRARIES := \ |
| 65 local_static_libraries | 71 local_static_libraries |
| 66 | 72 |
| 67 LOCAL_C_INCLUDES := \ | 73 LOCAL_C_INCLUDES := \ |
| 68 local_c_includes | 74 local_c_includes |
| 69 | 75 |
| 70 LOCAL_EXPORT_C_INCLUDE_DIRS := \ | 76 LOCAL_EXPORT_C_INCLUDE_DIRS := \ |
| 71 local_export_c_include_dirs | 77 local_export_c_include_dirs |
| 72 | 78 |
| 73 LOCAL_CFLAGS += \ | 79 LOCAL_CFLAGS += \ |
| 74 -Ddefines | 80 -Ddefines |
| 75 | 81 |
| 76 LOCAL_MODULE_TAGS := \ | 82 LOCAL_MODULE_TAGS := \ |
| 77 local_module_tags | 83 local_module_tags |
| 78 | 84 |
| 79 LOCAL_MODULE := \ | 85 LOCAL_MODULE := \ |
| 80 » local_module | 86 » local_module_static |
|
scroggo
2016/02/12 15:00:31
It looks like this is the only one that uses a tab
djsollen
2016/02/12 15:57:56
I didn't change the behavior and looking at the co
scroggo
2016/02/12 16:11:58
My bad - they're all tabs. reitveld is just showin
| |
| 81 | 87 |
| 82 ifeq ($(COND), true) | 88 ifeq ($(COND), true) |
| 83 LOCAL_CFLAGS_foo += \ | 89 LOCAL_CFLAGS_foo += \ |
| 84 local_cflags_foo | 90 local_cflags_foo |
| 85 | 91 |
| 86 LOCAL_CPPFLAGS_foo += \ | 92 LOCAL_CPPFLAGS_foo += \ |
| 87 local_cppflags_foo | 93 local_cppflags_foo |
| 88 | 94 |
| 89 LOCAL_SRC_FILES_foo += \ | 95 LOCAL_SRC_FILES_foo += \ |
| 90 local_src_files_foo | 96 local_src_files_foo |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 135 | 141 |
| 136 LOCAL_CFLAGS_bar += \ | 142 LOCAL_CFLAGS_bar += \ |
| 137 -Ddefines_bar | 143 -Ddefines_bar |
| 138 | 144 |
| 139 LOCAL_MODULE_TAGS_bar += \ | 145 LOCAL_MODULE_TAGS_bar += \ |
| 140 local_module_tags_bar | 146 local_module_tags_bar |
| 141 | 147 |
| 142 LOCAL_MODULE_bar += \ | 148 LOCAL_MODULE_bar += \ |
| 143 local_module_bar | 149 local_module_bar |
| 144 | 150 |
| 151 LOCAL_MODULE_CLASS := STATIC_LIBRARIES | |
| 152 include $(BUILD_STATIC_LIBRARY) | |
| 153 | |
| 154 | |
| 155 ############################################################################### | |
| 156 # SHARED LIBRARY | |
| 157 ############################################################################### | |
| 158 | |
| 159 include $(CLEAR_VARS) | |
| 160 | |
| 161 LOCAL_MODULE_CLASS := SHARED_LIBRARIES | |
| 162 LOCAL_MODULE := local_module | |
| 163 LOCAL_WHOLE_STATIC_LIBRARIES := local_module_static | |
| 164 LOCAL_EXPORT_C_INCLUDE_DIRS := \ | |
| 165 local_export_c_include_dirs | |
| 166 | |
| 167 include $(BASE_PATH)/skia_static_deps.mk | |
| 145 include $(BUILD_SHARED_LIBRARY) | 168 include $(BUILD_SHARED_LIBRARY) |
| 146 | 169 |
| 147 ############################################################# | 170 ############################################################# |
| 148 # Build the skia tools | 171 # Build the skia tools |
| 149 # | 172 # |
| 150 | 173 |
| 151 # benchmark (timings) | 174 # benchmark (timings) |
| 152 include $(BASE_PATH)/bench/Android.mk | 175 include $(BASE_PATH)/bench/Android.mk |
| 153 | 176 |
| 154 # diamond-master (one test to rule them all) | 177 # diamond-master (one test to rule them all) |
| 155 include $(BASE_PATH)/dm/Android.mk | 178 include $(BASE_PATH)/dm/Android.mk |
| OLD | NEW |