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 -Werror \ 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 -fno-tree-sra \ 56 -fno-partial-inlining \ 57 -fno-early-inlining \ 58 -fno-tree-copy-prop \ 59 -fno-tree-loop-optimize \ 60 -fno-move-loop-invariants \ 61 -fno-caller-saves \ 62 -Wno-psabi \ 63 -ffunction-sections \ 64 -funwind-tables \ 65 -g \ 66 -fstack-protector \ 67 -fno-short-enums \ 68 -finline-limit=64 \ 69 -Wa,--noexecstack \ 70 -U_FORTIFY_SOURCE \ 71 -Wno-extra \ 72 -Wno-ignored-qualifiers \ 73 -Wno-type-limits \ 74 -Wno-unused-but-set-variable \ 75 -Os \ 76 -g \ 77 -fdata-sections \ 78 -ffunction-sections \ 79 -fomit-frame-pointer \ 80 -funwind-tables 81 82MY_DEFS_Debug := \ 83 '-DV8_DEPRECATION_WARNINGS' \ 84 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 85 '-D_FILE_OFFSET_BITS=64' \ 86 '-DNO_TCMALLOC' \ 87 '-DDISABLE_NACL' \ 88 '-DCHROMIUM_BUILD' \ 89 '-DUSE_LIBJPEG_TURBO=1' \ 90 '-DENABLE_WEBRTC=1' \ 91 '-DUSE_PROPRIETARY_CODECS' \ 92 '-DENABLE_BROWSER_CDMS' \ 93 '-DENABLE_CONFIGURATION_POLICY' \ 94 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 95 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 96 '-DENABLE_EGLIMAGE=1' \ 97 '-DCLD_VERSION=1' \ 98 '-DENABLE_PRINTING=1' \ 99 '-DENABLE_MANAGED_USERS=1' \ 100 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 101 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 102 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 103 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 104 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 105 '-DVIDEO_HOLE=1' \ 106 '-DGESTURE_DETECTION_IMPLEMENTATION' \ 107 '-DSK_ENABLE_INST_COUNT=0' \ 108 '-DSK_SUPPORT_GPU=1' \ 109 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 110 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 111 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 112 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 113 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 114 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 115 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 116 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 117 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 118 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 119 '-DSK_IGNORE_ETC1_SUPPORT' \ 120 '-DSK_IGNORE_GPU_DITHER' \ 121 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 122 '-DSK_BUILD_FOR_ANDROID' \ 123 '-DSK_USE_POSIX_THREADS' \ 124 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 125 '-DU_USING_ICU_NAMESPACE=0' \ 126 '-DUSE_OPENSSL=1' \ 127 '-DUSE_OPENSSL_CERTS=1' \ 128 '-D__STDC_CONSTANT_MACROS' \ 129 '-D__STDC_FORMAT_MACROS' \ 130 '-DANDROID' \ 131 '-D__GNU_SOURCE=1' \ 132 '-DUSE_STLPORT=1' \ 133 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 134 '-DCHROME_BUILD_ID=""' \ 135 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 136 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 137 '-D_DEBUG' 138 139 140# Include paths placed before CFLAGS/CPPFLAGS 141LOCAL_C_INCLUDES_Debug := \ 142 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 143 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 144 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 145 $(gyp_shared_intermediate_dir) \ 146 $(LOCAL_PATH) \ 147 $(LOCAL_PATH)/skia/config \ 148 $(LOCAL_PATH)/third_party/skia/src/core \ 149 $(LOCAL_PATH)/third_party/skia/include/core \ 150 $(LOCAL_PATH)/third_party/skia/include/effects \ 151 $(LOCAL_PATH)/third_party/skia/include/pdf \ 152 $(LOCAL_PATH)/third_party/skia/include/gpu \ 153 $(LOCAL_PATH)/third_party/skia/include/lazy \ 154 $(LOCAL_PATH)/third_party/skia/include/pathops \ 155 $(LOCAL_PATH)/third_party/skia/include/pipe \ 156 $(LOCAL_PATH)/third_party/skia/include/ports \ 157 $(LOCAL_PATH)/third_party/skia/include/utils \ 158 $(LOCAL_PATH)/skia/ext \ 159 $(PWD)/external/icu/icu4c/source/common \ 160 $(PWD)/external/icu/icu4c/source/i18n \ 161 $(PWD)/frameworks/wilhelm/include \ 162 $(PWD)/bionic \ 163 $(PWD)/external/stlport/stlport 164 165 166# Flags passed to only C++ (and not C) files. 167LOCAL_CPPFLAGS_Debug := \ 168 -fno-rtti \ 169 -fno-threadsafe-statics \ 170 -fvisibility-inlines-hidden \ 171 -Wsign-compare \ 172 -Wno-abi \ 173 -Wno-non-virtual-dtor \ 174 -Wno-sign-promo 175 176 177LOCAL_FDO_SUPPORT_Debug := false 178 179# Flags passed to both C and C++ files. 180MY_CFLAGS_Release := \ 181 -fstack-protector \ 182 --param=ssp-buffer-size=4 \ 183 -Werror \ 184 -fno-exceptions \ 185 -fno-strict-aliasing \ 186 -Wall \ 187 -Wno-unused-parameter \ 188 -Wno-missing-field-initializers \ 189 -fvisibility=hidden \ 190 -pipe \ 191 -fPIC \ 192 -Wno-unused-local-typedefs \ 193 -fno-tree-sra \ 194 -fno-partial-inlining \ 195 -fno-early-inlining \ 196 -fno-tree-copy-prop \ 197 -fno-tree-loop-optimize \ 198 -fno-move-loop-invariants \ 199 -fno-caller-saves \ 200 -Wno-psabi \ 201 -ffunction-sections \ 202 -funwind-tables \ 203 -g \ 204 -fstack-protector \ 205 -fno-short-enums \ 206 -finline-limit=64 \ 207 -Wa,--noexecstack \ 208 -U_FORTIFY_SOURCE \ 209 -Wno-extra \ 210 -Wno-ignored-qualifiers \ 211 -Wno-type-limits \ 212 -Wno-unused-but-set-variable \ 213 -Os \ 214 -fno-ident \ 215 -fdata-sections \ 216 -ffunction-sections \ 217 -fomit-frame-pointer \ 218 -funwind-tables 219 220MY_DEFS_Release := \ 221 '-DV8_DEPRECATION_WARNINGS' \ 222 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 223 '-D_FILE_OFFSET_BITS=64' \ 224 '-DNO_TCMALLOC' \ 225 '-DDISABLE_NACL' \ 226 '-DCHROMIUM_BUILD' \ 227 '-DUSE_LIBJPEG_TURBO=1' \ 228 '-DENABLE_WEBRTC=1' \ 229 '-DUSE_PROPRIETARY_CODECS' \ 230 '-DENABLE_BROWSER_CDMS' \ 231 '-DENABLE_CONFIGURATION_POLICY' \ 232 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 233 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 234 '-DENABLE_EGLIMAGE=1' \ 235 '-DCLD_VERSION=1' \ 236 '-DENABLE_PRINTING=1' \ 237 '-DENABLE_MANAGED_USERS=1' \ 238 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 239 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 240 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 241 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 242 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 243 '-DVIDEO_HOLE=1' \ 244 '-DGESTURE_DETECTION_IMPLEMENTATION' \ 245 '-DSK_ENABLE_INST_COUNT=0' \ 246 '-DSK_SUPPORT_GPU=1' \ 247 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 248 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 249 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 250 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 251 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 252 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 253 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 254 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 255 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 256 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 257 '-DSK_IGNORE_ETC1_SUPPORT' \ 258 '-DSK_IGNORE_GPU_DITHER' \ 259 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 260 '-DSK_BUILD_FOR_ANDROID' \ 261 '-DSK_USE_POSIX_THREADS' \ 262 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 263 '-DU_USING_ICU_NAMESPACE=0' \ 264 '-DUSE_OPENSSL=1' \ 265 '-DUSE_OPENSSL_CERTS=1' \ 266 '-D__STDC_CONSTANT_MACROS' \ 267 '-D__STDC_FORMAT_MACROS' \ 268 '-DANDROID' \ 269 '-D__GNU_SOURCE=1' \ 270 '-DUSE_STLPORT=1' \ 271 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 272 '-DCHROME_BUILD_ID=""' \ 273 '-DNDEBUG' \ 274 '-DNVALGRIND' \ 275 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 276 '-D_FORTIFY_SOURCE=2' 277 278 279# Include paths placed before CFLAGS/CPPFLAGS 280LOCAL_C_INCLUDES_Release := \ 281 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 282 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 283 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 284 $(gyp_shared_intermediate_dir) \ 285 $(LOCAL_PATH) \ 286 $(LOCAL_PATH)/skia/config \ 287 $(LOCAL_PATH)/third_party/skia/src/core \ 288 $(LOCAL_PATH)/third_party/skia/include/core \ 289 $(LOCAL_PATH)/third_party/skia/include/effects \ 290 $(LOCAL_PATH)/third_party/skia/include/pdf \ 291 $(LOCAL_PATH)/third_party/skia/include/gpu \ 292 $(LOCAL_PATH)/third_party/skia/include/lazy \ 293 $(LOCAL_PATH)/third_party/skia/include/pathops \ 294 $(LOCAL_PATH)/third_party/skia/include/pipe \ 295 $(LOCAL_PATH)/third_party/skia/include/ports \ 296 $(LOCAL_PATH)/third_party/skia/include/utils \ 297 $(LOCAL_PATH)/skia/ext \ 298 $(PWD)/external/icu/icu4c/source/common \ 299 $(PWD)/external/icu/icu4c/source/i18n \ 300 $(PWD)/frameworks/wilhelm/include \ 301 $(PWD)/bionic \ 302 $(PWD)/external/stlport/stlport 303 304 305# Flags passed to only C++ (and not C) files. 306LOCAL_CPPFLAGS_Release := \ 307 -fno-rtti \ 308 -fno-threadsafe-statics \ 309 -fvisibility-inlines-hidden \ 310 -Wsign-compare \ 311 -Wno-abi \ 312 -Wno-non-virtual-dtor \ 313 -Wno-sign-promo 314 315 316LOCAL_FDO_SUPPORT_Release := false 317 318LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 319LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 320LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 321LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 322LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 323### Rules for final target. 324 325LOCAL_LDFLAGS_Debug := \ 326 -Wl,-z,now \ 327 -Wl,-z,relro \ 328 -Wl,--fatal-warnings \ 329 -Wl,-z,noexecstack \ 330 -fPIC \ 331 -Wl,-z,relro \ 332 -Wl,-z,now \ 333 -fuse-ld=gold \ 334 -nostdlib \ 335 -Wl,--no-undefined \ 336 -Wl,--exclude-libs=ALL \ 337 -Wl,--icf=safe \ 338 -Wl,--warn-shared-textrel \ 339 -Wl,-O1 \ 340 -Wl,--as-needed 341 342 343LOCAL_LDFLAGS_Release := \ 344 -Wl,-z,now \ 345 -Wl,-z,relro \ 346 -Wl,--fatal-warnings \ 347 -Wl,-z,noexecstack \ 348 -fPIC \ 349 -Wl,-z,relro \ 350 -Wl,-z,now \ 351 -fuse-ld=gold \ 352 -nostdlib \ 353 -Wl,--no-undefined \ 354 -Wl,--exclude-libs=ALL \ 355 -Wl,--icf=safe \ 356 -Wl,-O1 \ 357 -Wl,--as-needed \ 358 -Wl,--gc-sections \ 359 -Wl,--warn-shared-textrel 360 361 362LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 363 364LOCAL_STATIC_LIBRARIES := \ 365 skia_skia_library_gyp 366 367# Enable grouping to fix circular references 368LOCAL_GROUP_STATIC_LIBRARIES := true 369 370LOCAL_SHARED_LIBRARIES := \ 371 libstlport \ 372 libdl 373 374# Add target alias to "gyp_all_modules" target. 375.PHONY: gyp_all_modules 376gyp_all_modules: ui_events_gesture_detection_gyp 377 378# Alias gyp target name. 379.PHONY: gesture_detection 380gesture_detection: ui_events_gesture_detection_gyp 381 382include $(BUILD_STATIC_LIBRARY) 383