1 # This file is generated by gyp; do not edit. 2 3 include $(CLEAR_VARS) 4 5 LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6 LOCAL_MODULE := ui_events_gesture_detection_gyp 7 LOCAL_MODULE_SUFFIX := .a 8 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 9 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 11 12 # Make sure our deps are built first. 13 GYP_TARGET_DEPENDENCIES := \ 14 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a 15 16 GYP_GENERATED_OUTPUTS := 17 18 # Make sure our deps and generated files are built first. 19 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 20 21 LOCAL_CPP_EXTENSION := .cc 22 LOCAL_GENERATED_SOURCES := 23 24 GYP_COPIED_SOURCE_ORIGIN_DIRS := 25 26 LOCAL_SRC_FILES := \ 27 ui/events/gesture_detection/filtered_gesture_provider.cc \ 28 ui/events/gesture_detection/gesture_config_helper_android.cc \ 29 ui/events/gesture_detection/gesture_detector.cc \ 30 ui/events/gesture_detection/gesture_event_data.cc \ 31 ui/events/gesture_detection/gesture_event_data_packet.cc \ 32 ui/events/gesture_detection/gesture_provider.cc \ 33 ui/events/gesture_detection/gesture_touch_uma_histogram.cc \ 34 ui/events/gesture_detection/motion_event.cc \ 35 ui/events/gesture_detection/motion_event_buffer.cc \ 36 ui/events/gesture_detection/motion_event_generic.cc \ 37 ui/events/gesture_detection/scale_gesture_detector.cc \ 38 ui/events/gesture_detection/snap_scroll_controller.cc \ 39 ui/events/gesture_detection/touch_disposition_gesture_filter.cc \ 40 ui/events/gesture_detection/velocity_tracker_state.cc \ 41 ui/events/gesture_detection/velocity_tracker.cc 42 43 44 # Flags passed to both C and C++ files. 45 MY_CFLAGS_Debug := \ 46 --param=ssp-buffer-size=4 \ 47 -Werror \ 48 -fno-strict-aliasing \ 49 -Wall \ 50 -Wno-unused-parameter \ 51 -Wno-missing-field-initializers \ 52 -fvisibility=hidden \ 53 -pipe \ 54 -fPIC \ 55 -Wno-unused-local-typedefs \ 56 -msse2 \ 57 -mfpmath=sse \ 58 -mmmx \ 59 -m32 \ 60 -ffunction-sections \ 61 -funwind-tables \ 62 -g \ 63 -fno-short-enums \ 64 -finline-limit=64 \ 65 -Wa,--noexecstack \ 66 -U_FORTIFY_SOURCE \ 67 -Wno-extra \ 68 -Wno-ignored-qualifiers \ 69 -Wno-type-limits \ 70 -Wno-unused-but-set-variable \ 71 -fno-stack-protector \ 72 -Os \ 73 -g \ 74 -gdwarf-4 \ 75 -fdata-sections \ 76 -ffunction-sections \ 77 -fomit-frame-pointer \ 78 -funwind-tables 79 80 MY_DEFS_Debug := \ 81 '-DV8_DEPRECATION_WARNINGS' \ 82 '-D_FILE_OFFSET_BITS=64' \ 83 '-DNO_TCMALLOC' \ 84 '-DDISABLE_NACL' \ 85 '-DCHROMIUM_BUILD' \ 86 '-DUSE_LIBJPEG_TURBO=1' \ 87 '-DENABLE_WEBRTC=1' \ 88 '-DUSE_PROPRIETARY_CODECS' \ 89 '-DENABLE_BROWSER_CDMS' \ 90 '-DENABLE_CONFIGURATION_POLICY' \ 91 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 92 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 93 '-DENABLE_EGLIMAGE=1' \ 94 '-DCLD_VERSION=1' \ 95 '-DENABLE_PRINTING=1' \ 96 '-DENABLE_MANAGED_USERS=1' \ 97 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 98 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 99 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 100 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 101 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 102 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 103 '-DVIDEO_HOLE=1' \ 104 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 105 '-DGESTURE_DETECTION_IMPLEMENTATION' \ 106 '-DSK_ENABLE_INST_COUNT=0' \ 107 '-DSK_SUPPORT_GPU=1' \ 108 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 109 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 110 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 111 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 112 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 113 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 114 '-DSK_BUILD_FOR_ANDROID' \ 115 '-DSK_USE_POSIX_THREADS' \ 116 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 117 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 118 '-DU_USING_ICU_NAMESPACE=0' \ 119 '-DU_ENABLE_DYLOAD=0' \ 120 '-DUSE_OPENSSL=1' \ 121 '-DUSE_OPENSSL_CERTS=1' \ 122 '-D__STDC_CONSTANT_MACROS' \ 123 '-D__STDC_FORMAT_MACROS' \ 124 '-DANDROID' \ 125 '-D__GNU_SOURCE=1' \ 126 '-DUSE_STLPORT=1' \ 127 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 128 '-DCHROME_BUILD_ID=""' \ 129 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 130 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 131 '-D_DEBUG' 132 133 134 # Include paths placed before CFLAGS/CPPFLAGS 135 LOCAL_C_INCLUDES_Debug := \ 136 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 137 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 138 $(gyp_shared_intermediate_dir) \ 139 $(LOCAL_PATH) \ 140 $(LOCAL_PATH)/skia/config \ 141 $(LOCAL_PATH)/third_party/skia/src/core \ 142 $(LOCAL_PATH)/third_party/skia/include/core \ 143 $(LOCAL_PATH)/third_party/skia/include/effects \ 144 $(LOCAL_PATH)/third_party/skia/include/pdf \ 145 $(LOCAL_PATH)/third_party/skia/include/gpu \ 146 $(LOCAL_PATH)/third_party/skia/include/lazy \ 147 $(LOCAL_PATH)/third_party/skia/include/pathops \ 148 $(LOCAL_PATH)/third_party/skia/include/pipe \ 149 $(LOCAL_PATH)/third_party/skia/include/ports \ 150 $(LOCAL_PATH)/third_party/skia/include/utils \ 151 $(LOCAL_PATH)/skia/ext \ 152 $(PWD)/external/icu/icu4c/source/common \ 153 $(PWD)/external/icu/icu4c/source/i18n \ 154 $(PWD)/frameworks/wilhelm/include \ 155 $(PWD)/bionic \ 156 $(PWD)/external/stlport/stlport 157 158 159 # Flags passed to only C++ (and not C) files. 160 LOCAL_CPPFLAGS_Debug := \ 161 -fno-exceptions \ 162 -fno-rtti \ 163 -fno-threadsafe-statics \ 164 -fvisibility-inlines-hidden \ 165 -Wsign-compare \ 166 -std=gnu++11 \ 167 -Wno-narrowing \ 168 -Wno-literal-suffix \ 169 -Wno-non-virtual-dtor \ 170 -Wno-sign-promo 171 172 173 # Flags passed to both C and C++ files. 174 MY_CFLAGS_Release := \ 175 --param=ssp-buffer-size=4 \ 176 -Werror \ 177 -fno-strict-aliasing \ 178 -Wall \ 179 -Wno-unused-parameter \ 180 -Wno-missing-field-initializers \ 181 -fvisibility=hidden \ 182 -pipe \ 183 -fPIC \ 184 -Wno-unused-local-typedefs \ 185 -msse2 \ 186 -mfpmath=sse \ 187 -mmmx \ 188 -m32 \ 189 -ffunction-sections \ 190 -funwind-tables \ 191 -g \ 192 -fno-short-enums \ 193 -finline-limit=64 \ 194 -Wa,--noexecstack \ 195 -U_FORTIFY_SOURCE \ 196 -Wno-extra \ 197 -Wno-ignored-qualifiers \ 198 -Wno-type-limits \ 199 -Wno-unused-but-set-variable \ 200 -fno-stack-protector \ 201 -Os \ 202 -fno-ident \ 203 -fdata-sections \ 204 -ffunction-sections \ 205 -fomit-frame-pointer \ 206 -funwind-tables 207 208 MY_DEFS_Release := \ 209 '-DV8_DEPRECATION_WARNINGS' \ 210 '-D_FILE_OFFSET_BITS=64' \ 211 '-DNO_TCMALLOC' \ 212 '-DDISABLE_NACL' \ 213 '-DCHROMIUM_BUILD' \ 214 '-DUSE_LIBJPEG_TURBO=1' \ 215 '-DENABLE_WEBRTC=1' \ 216 '-DUSE_PROPRIETARY_CODECS' \ 217 '-DENABLE_BROWSER_CDMS' \ 218 '-DENABLE_CONFIGURATION_POLICY' \ 219 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 220 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 221 '-DENABLE_EGLIMAGE=1' \ 222 '-DCLD_VERSION=1' \ 223 '-DENABLE_PRINTING=1' \ 224 '-DENABLE_MANAGED_USERS=1' \ 225 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 226 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 227 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 228 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 229 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 230 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 231 '-DVIDEO_HOLE=1' \ 232 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 233 '-DGESTURE_DETECTION_IMPLEMENTATION' \ 234 '-DSK_ENABLE_INST_COUNT=0' \ 235 '-DSK_SUPPORT_GPU=1' \ 236 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 237 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 238 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 239 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 240 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 241 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 242 '-DSK_BUILD_FOR_ANDROID' \ 243 '-DSK_USE_POSIX_THREADS' \ 244 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 245 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 246 '-DU_USING_ICU_NAMESPACE=0' \ 247 '-DU_ENABLE_DYLOAD=0' \ 248 '-DUSE_OPENSSL=1' \ 249 '-DUSE_OPENSSL_CERTS=1' \ 250 '-D__STDC_CONSTANT_MACROS' \ 251 '-D__STDC_FORMAT_MACROS' \ 252 '-DANDROID' \ 253 '-D__GNU_SOURCE=1' \ 254 '-DUSE_STLPORT=1' \ 255 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 256 '-DCHROME_BUILD_ID=""' \ 257 '-DNDEBUG' \ 258 '-DNVALGRIND' \ 259 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 260 '-D_FORTIFY_SOURCE=2' 261 262 263 # Include paths placed before CFLAGS/CPPFLAGS 264 LOCAL_C_INCLUDES_Release := \ 265 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 266 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 267 $(gyp_shared_intermediate_dir) \ 268 $(LOCAL_PATH) \ 269 $(LOCAL_PATH)/skia/config \ 270 $(LOCAL_PATH)/third_party/skia/src/core \ 271 $(LOCAL_PATH)/third_party/skia/include/core \ 272 $(LOCAL_PATH)/third_party/skia/include/effects \ 273 $(LOCAL_PATH)/third_party/skia/include/pdf \ 274 $(LOCAL_PATH)/third_party/skia/include/gpu \ 275 $(LOCAL_PATH)/third_party/skia/include/lazy \ 276 $(LOCAL_PATH)/third_party/skia/include/pathops \ 277 $(LOCAL_PATH)/third_party/skia/include/pipe \ 278 $(LOCAL_PATH)/third_party/skia/include/ports \ 279 $(LOCAL_PATH)/third_party/skia/include/utils \ 280 $(LOCAL_PATH)/skia/ext \ 281 $(PWD)/external/icu/icu4c/source/common \ 282 $(PWD)/external/icu/icu4c/source/i18n \ 283 $(PWD)/frameworks/wilhelm/include \ 284 $(PWD)/bionic \ 285 $(PWD)/external/stlport/stlport 286 287 288 # Flags passed to only C++ (and not C) files. 289 LOCAL_CPPFLAGS_Release := \ 290 -fno-exceptions \ 291 -fno-rtti \ 292 -fno-threadsafe-statics \ 293 -fvisibility-inlines-hidden \ 294 -Wsign-compare \ 295 -std=gnu++11 \ 296 -Wno-narrowing \ 297 -Wno-literal-suffix \ 298 -Wno-non-virtual-dtor \ 299 -Wno-sign-promo 300 301 302 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 303 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 304 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 305 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 306 ### Rules for final target. 307 308 LOCAL_SHARED_LIBRARIES := \ 309 libstlport \ 310 libdl 311 312 # Add target alias to "gyp_all_modules" target. 313 .PHONY: gyp_all_modules 314 gyp_all_modules: ui_events_gesture_detection_gyp 315 316 # Alias gyp target name. 317 .PHONY: gesture_detection 318 gesture_detection: ui_events_gesture_detection_gyp 319 320 include $(BUILD_STATIC_LIBRARY) 321