1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := ui_events_gesture_detection_gyp 7LOCAL_MODULE_SUFFIX := .a 8LOCAL_MODULE_TAGS := optional 9LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 10gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 11gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 12 13# Make sure our deps are built first. 14GYP_TARGET_DEPENDENCIES := \ 15 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a 16 17GYP_GENERATED_OUTPUTS := 18 19# Make sure our deps and generated files are built first. 20LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 21 22LOCAL_CPP_EXTENSION := .cc 23LOCAL_GENERATED_SOURCES := 24 25GYP_COPIED_SOURCE_ORIGIN_DIRS := 26 27LOCAL_SRC_FILES := \ 28 ui/events/gesture_detection/filtered_gesture_provider.cc \ 29 ui/events/gesture_detection/gesture_config_helper_android.cc \ 30 ui/events/gesture_detection/gesture_detector.cc \ 31 ui/events/gesture_detection/gesture_event_data.cc \ 32 ui/events/gesture_detection/gesture_event_data_packet.cc \ 33 ui/events/gesture_detection/gesture_provider.cc \ 34 ui/events/gesture_detection/scale_gesture_detector.cc \ 35 ui/events/gesture_detection/snap_scroll_controller.cc \ 36 ui/events/gesture_detection/touch_disposition_gesture_filter.cc \ 37 ui/events/gesture_detection/velocity_tracker_state.cc \ 38 ui/events/gesture_detection/velocity_tracker.cc 39 40 41# Flags passed to both C and C++ files. 42MY_CFLAGS_Debug := \ 43 -fstack-protector \ 44 --param=ssp-buffer-size=4 \ 45 \ 46 -fno-exceptions \ 47 -fno-strict-aliasing \ 48 -Wall \ 49 -Wno-unused-parameter \ 50 -Wno-missing-field-initializers \ 51 -fvisibility=hidden \ 52 -pipe \ 53 -fPIC \ 54 -Wno-unused-local-typedefs \ 55 -EL \ 56 -mhard-float \ 57 -ffunction-sections \ 58 -funwind-tables \ 59 -g \ 60 -fstack-protector \ 61 -fno-short-enums \ 62 -finline-limit=64 \ 63 -Wa,--noexecstack \ 64 -U_FORTIFY_SOURCE \ 65 -Wno-extra \ 66 -Wno-ignored-qualifiers \ 67 -Wno-type-limits \ 68 -Wno-unused-but-set-variable \ 69 -Os \ 70 -g \ 71 -fdata-sections \ 72 -ffunction-sections \ 73 -fomit-frame-pointer \ 74 -funwind-tables 75 76MY_DEFS_Debug := \ 77 '-DV8_DEPRECATION_WARNINGS' \ 78 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 79 '-D_FILE_OFFSET_BITS=64' \ 80 '-DNO_TCMALLOC' \ 81 '-DDISABLE_NACL' \ 82 '-DCHROMIUM_BUILD' \ 83 '-DUSE_LIBJPEG_TURBO=1' \ 84 '-DENABLE_WEBRTC=1' \ 85 '-DUSE_PROPRIETARY_CODECS' \ 86 '-DENABLE_BROWSER_CDMS' \ 87 '-DENABLE_CONFIGURATION_POLICY' \ 88 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 89 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 90 '-DENABLE_EGLIMAGE=1' \ 91 '-DCLD_VERSION=1' \ 92 '-DENABLE_PRINTING=1' \ 93 '-DENABLE_MANAGED_USERS=1' \ 94 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 95 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 96 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 97 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 98 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 99 '-DVIDEO_HOLE=1' \ 100 '-DGESTURE_DETECTION_IMPLEMENTATION' \ 101 '-DSK_ENABLE_INST_COUNT=0' \ 102 '-DSK_SUPPORT_GPU=1' \ 103 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 104 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 105 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 106 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 107 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 108 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 109 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 110 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 111 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 112 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 113 '-DSK_IGNORE_ETC1_SUPPORT' \ 114 '-DSK_IGNORE_GPU_DITHER' \ 115 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 116 '-DSK_BUILD_FOR_ANDROID' \ 117 '-DSK_USE_POSIX_THREADS' \ 118 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 119 '-DU_USING_ICU_NAMESPACE=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 135LOCAL_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)/shim_headers/ashmem/target \ 139 $(gyp_shared_intermediate_dir) \ 140 $(LOCAL_PATH) \ 141 $(LOCAL_PATH)/skia/config \ 142 $(LOCAL_PATH)/third_party/skia/src/core \ 143 $(LOCAL_PATH)/third_party/skia/include/core \ 144 $(LOCAL_PATH)/third_party/skia/include/effects \ 145 $(LOCAL_PATH)/third_party/skia/include/pdf \ 146 $(LOCAL_PATH)/third_party/skia/include/gpu \ 147 $(LOCAL_PATH)/third_party/skia/include/lazy \ 148 $(LOCAL_PATH)/third_party/skia/include/pathops \ 149 $(LOCAL_PATH)/third_party/skia/include/pipe \ 150 $(LOCAL_PATH)/third_party/skia/include/ports \ 151 $(LOCAL_PATH)/third_party/skia/include/utils \ 152 $(LOCAL_PATH)/skia/ext \ 153 $(PWD)/external/icu/icu4c/source/common \ 154 $(PWD)/external/icu/icu4c/source/i18n \ 155 $(PWD)/frameworks/wilhelm/include \ 156 $(PWD)/bionic \ 157 $(PWD)/external/stlport/stlport 158 159 160# Flags passed to only C++ (and not C) files. 161LOCAL_CPPFLAGS_Debug := \ 162 -fno-rtti \ 163 -fno-threadsafe-statics \ 164 -fvisibility-inlines-hidden \ 165 -Wsign-compare \ 166 -Wno-uninitialized \ 167 -Wno-non-virtual-dtor \ 168 -Wno-sign-promo 169 170 171LOCAL_FDO_SUPPORT_Debug := false 172 173# Flags passed to both C and C++ files. 174MY_CFLAGS_Release := \ 175 -fstack-protector \ 176 --param=ssp-buffer-size=4 \ 177 \ 178 -fno-exceptions \ 179 -fno-strict-aliasing \ 180 -Wall \ 181 -Wno-unused-parameter \ 182 -Wno-missing-field-initializers \ 183 -fvisibility=hidden \ 184 -pipe \ 185 -fPIC \ 186 -Wno-unused-local-typedefs \ 187 -EL \ 188 -mhard-float \ 189 -ffunction-sections \ 190 -funwind-tables \ 191 -g \ 192 -fstack-protector \ 193 -fno-short-enums \ 194 -finline-limit=64 \ 195 -Wa,--noexecstack \ 196 -U_FORTIFY_SOURCE \ 197 -Wno-extra \ 198 -Wno-ignored-qualifiers \ 199 -Wno-type-limits \ 200 -Wno-unused-but-set-variable \ 201 -Os \ 202 -fno-ident \ 203 -fdata-sections \ 204 -ffunction-sections \ 205 -fomit-frame-pointer \ 206 -funwind-tables 207 208MY_DEFS_Release := \ 209 '-DV8_DEPRECATION_WARNINGS' \ 210 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 211 '-D_FILE_OFFSET_BITS=64' \ 212 '-DNO_TCMALLOC' \ 213 '-DDISABLE_NACL' \ 214 '-DCHROMIUM_BUILD' \ 215 '-DUSE_LIBJPEG_TURBO=1' \ 216 '-DENABLE_WEBRTC=1' \ 217 '-DUSE_PROPRIETARY_CODECS' \ 218 '-DENABLE_BROWSER_CDMS' \ 219 '-DENABLE_CONFIGURATION_POLICY' \ 220 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 221 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 222 '-DENABLE_EGLIMAGE=1' \ 223 '-DCLD_VERSION=1' \ 224 '-DENABLE_PRINTING=1' \ 225 '-DENABLE_MANAGED_USERS=1' \ 226 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 227 '-DDATA_REDUCTION_DEV_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 '-DGESTURE_DETECTION_IMPLEMENTATION' \ 233 '-DSK_ENABLE_INST_COUNT=0' \ 234 '-DSK_SUPPORT_GPU=1' \ 235 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 236 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 237 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 238 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 239 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 240 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 241 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 242 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 243 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 244 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 245 '-DSK_IGNORE_ETC1_SUPPORT' \ 246 '-DSK_IGNORE_GPU_DITHER' \ 247 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 248 '-DSK_BUILD_FOR_ANDROID' \ 249 '-DSK_USE_POSIX_THREADS' \ 250 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 251 '-DU_USING_ICU_NAMESPACE=0' \ 252 '-DUSE_OPENSSL=1' \ 253 '-DUSE_OPENSSL_CERTS=1' \ 254 '-D__STDC_CONSTANT_MACROS' \ 255 '-D__STDC_FORMAT_MACROS' \ 256 '-DANDROID' \ 257 '-D__GNU_SOURCE=1' \ 258 '-DUSE_STLPORT=1' \ 259 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 260 '-DCHROME_BUILD_ID=""' \ 261 '-DNDEBUG' \ 262 '-DNVALGRIND' \ 263 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 264 '-D_FORTIFY_SOURCE=2' 265 266 267# Include paths placed before CFLAGS/CPPFLAGS 268LOCAL_C_INCLUDES_Release := \ 269 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 270 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 271 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 272 $(gyp_shared_intermediate_dir) \ 273 $(LOCAL_PATH) \ 274 $(LOCAL_PATH)/skia/config \ 275 $(LOCAL_PATH)/third_party/skia/src/core \ 276 $(LOCAL_PATH)/third_party/skia/include/core \ 277 $(LOCAL_PATH)/third_party/skia/include/effects \ 278 $(LOCAL_PATH)/third_party/skia/include/pdf \ 279 $(LOCAL_PATH)/third_party/skia/include/gpu \ 280 $(LOCAL_PATH)/third_party/skia/include/lazy \ 281 $(LOCAL_PATH)/third_party/skia/include/pathops \ 282 $(LOCAL_PATH)/third_party/skia/include/pipe \ 283 $(LOCAL_PATH)/third_party/skia/include/ports \ 284 $(LOCAL_PATH)/third_party/skia/include/utils \ 285 $(LOCAL_PATH)/skia/ext \ 286 $(PWD)/external/icu/icu4c/source/common \ 287 $(PWD)/external/icu/icu4c/source/i18n \ 288 $(PWD)/frameworks/wilhelm/include \ 289 $(PWD)/bionic \ 290 $(PWD)/external/stlport/stlport 291 292 293# Flags passed to only C++ (and not C) files. 294LOCAL_CPPFLAGS_Release := \ 295 -fno-rtti \ 296 -fno-threadsafe-statics \ 297 -fvisibility-inlines-hidden \ 298 -Wsign-compare \ 299 -Wno-uninitialized \ 300 -Wno-non-virtual-dtor \ 301 -Wno-sign-promo 302 303 304LOCAL_FDO_SUPPORT_Release := false 305 306LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 307LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 308LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 309LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 310LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 311### Rules for final target. 312 313LOCAL_LDFLAGS_Debug := \ 314 -Wl,-z,now \ 315 -Wl,-z,relro \ 316 -Wl,--fatal-warnings \ 317 -Wl,-z,noexecstack \ 318 -fPIC \ 319 -EL \ 320 -Wl,--no-keep-memory \ 321 -nostdlib \ 322 -Wl,--no-undefined \ 323 -Wl,--exclude-libs=ALL \ 324 -Wl,--warn-shared-textrel \ 325 -Wl,-O1 \ 326 -Wl,--as-needed 327 328 329LOCAL_LDFLAGS_Release := \ 330 -Wl,-z,now \ 331 -Wl,-z,relro \ 332 -Wl,--fatal-warnings \ 333 -Wl,-z,noexecstack \ 334 -fPIC \ 335 -EL \ 336 -Wl,--no-keep-memory \ 337 -nostdlib \ 338 -Wl,--no-undefined \ 339 -Wl,--exclude-libs=ALL \ 340 -Wl,-O1 \ 341 -Wl,--as-needed \ 342 -Wl,--gc-sections \ 343 -Wl,--warn-shared-textrel 344 345 346LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 347 348LOCAL_STATIC_LIBRARIES := \ 349 skia_skia_library_gyp 350 351# Enable grouping to fix circular references 352LOCAL_GROUP_STATIC_LIBRARIES := true 353 354LOCAL_SHARED_LIBRARIES := \ 355 libstlport \ 356 libdl 357 358# Add target alias to "gyp_all_modules" target. 359.PHONY: gyp_all_modules 360gyp_all_modules: ui_events_gesture_detection_gyp 361 362# Alias gyp target name. 363.PHONY: gesture_detection 364gesture_detection: ui_events_gesture_detection_gyp 365 366include $(BUILD_STATIC_LIBRARY) 367