Home | History | Annotate | Download | only in events
      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 	-fstack-protector \
     47 	--param=ssp-buffer-size=4 \
     48 	-Werror \
     49 	-fno-strict-aliasing \
     50 	-Wall \
     51 	-Wno-unused-parameter \
     52 	-Wno-missing-field-initializers \
     53 	-fvisibility=hidden \
     54 	-pipe \
     55 	-fPIC \
     56 	-Wno-unused-local-typedefs \
     57 	-fno-tree-sra \
     58 	-fno-caller-saves \
     59 	-Wno-psabi \
     60 	-fno-partial-inlining \
     61 	-fno-early-inlining \
     62 	-fno-tree-copy-prop \
     63 	-fno-tree-loop-optimize \
     64 	-fno-move-loop-invariants \
     65 	-ffunction-sections \
     66 	-funwind-tables \
     67 	-g \
     68 	-fstack-protector \
     69 	-fno-short-enums \
     70 	-finline-limit=64 \
     71 	-Wa,--noexecstack \
     72 	-U_FORTIFY_SOURCE \
     73 	-Wno-extra \
     74 	-Wno-ignored-qualifiers \
     75 	-Wno-type-limits \
     76 	-Wno-unused-but-set-variable \
     77 	-Os \
     78 	-g \
     79 	-gdwarf-4 \
     80 	-fdata-sections \
     81 	-ffunction-sections \
     82 	-fomit-frame-pointer \
     83 	-funwind-tables
     84 
     85 MY_DEFS_Debug := \
     86 	'-DV8_DEPRECATION_WARNINGS' \
     87 	'-D_FILE_OFFSET_BITS=64' \
     88 	'-DNO_TCMALLOC' \
     89 	'-DDISABLE_NACL' \
     90 	'-DCHROMIUM_BUILD' \
     91 	'-DUSE_LIBJPEG_TURBO=1' \
     92 	'-DENABLE_WEBRTC=1' \
     93 	'-DUSE_PROPRIETARY_CODECS' \
     94 	'-DENABLE_BROWSER_CDMS' \
     95 	'-DENABLE_CONFIGURATION_POLICY' \
     96 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
     97 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
     98 	'-DENABLE_EGLIMAGE=1' \
     99 	'-DCLD_VERSION=1' \
    100 	'-DENABLE_PRINTING=1' \
    101 	'-DENABLE_MANAGED_USERS=1' \
    102 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    103 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
    104 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    105 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    106 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    107 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    108 	'-DVIDEO_HOLE=1' \
    109 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    110 	'-DGESTURE_DETECTION_IMPLEMENTATION' \
    111 	'-DSK_ENABLE_INST_COUNT=0' \
    112 	'-DSK_SUPPORT_GPU=1' \
    113 	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
    114 	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
    115 	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
    116 	'-DGR_GL_IGNORE_ES3_MSAA=0' \
    117 	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
    118 	'-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \
    119 	'-DSK_BUILD_FOR_ANDROID' \
    120 	'-DSK_USE_POSIX_THREADS' \
    121 	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
    122 	'-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \
    123 	'-DU_USING_ICU_NAMESPACE=0' \
    124 	'-DU_ENABLE_DYLOAD=0' \
    125 	'-DUSE_OPENSSL=1' \
    126 	'-DUSE_OPENSSL_CERTS=1' \
    127 	'-D__STDC_CONSTANT_MACROS' \
    128 	'-D__STDC_FORMAT_MACROS' \
    129 	'-DANDROID' \
    130 	'-D__GNU_SOURCE=1' \
    131 	'-DUSE_STLPORT=1' \
    132 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    133 	'-DCHROME_BUILD_ID=""' \
    134 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    135 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    136 	'-D_DEBUG'
    137 
    138 
    139 # Include paths placed before CFLAGS/CPPFLAGS
    140 LOCAL_C_INCLUDES_Debug := \
    141 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    142 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    143 	$(gyp_shared_intermediate_dir) \
    144 	$(LOCAL_PATH) \
    145 	$(LOCAL_PATH)/skia/config \
    146 	$(LOCAL_PATH)/third_party/skia/src/core \
    147 	$(LOCAL_PATH)/third_party/skia/include/core \
    148 	$(LOCAL_PATH)/third_party/skia/include/effects \
    149 	$(LOCAL_PATH)/third_party/skia/include/pdf \
    150 	$(LOCAL_PATH)/third_party/skia/include/gpu \
    151 	$(LOCAL_PATH)/third_party/skia/include/lazy \
    152 	$(LOCAL_PATH)/third_party/skia/include/pathops \
    153 	$(LOCAL_PATH)/third_party/skia/include/pipe \
    154 	$(LOCAL_PATH)/third_party/skia/include/ports \
    155 	$(LOCAL_PATH)/third_party/skia/include/utils \
    156 	$(LOCAL_PATH)/skia/ext \
    157 	$(PWD)/external/icu/icu4c/source/common \
    158 	$(PWD)/external/icu/icu4c/source/i18n \
    159 	$(PWD)/frameworks/wilhelm/include \
    160 	$(PWD)/bionic \
    161 	$(PWD)/external/stlport/stlport
    162 
    163 
    164 # Flags passed to only C++ (and not C) files.
    165 LOCAL_CPPFLAGS_Debug := \
    166 	-fno-exceptions \
    167 	-fno-rtti \
    168 	-fno-threadsafe-statics \
    169 	-fvisibility-inlines-hidden \
    170 	-Wsign-compare \
    171 	-Wno-abi \
    172 	-std=gnu++11 \
    173 	-Wno-narrowing \
    174 	-Wno-literal-suffix \
    175 	-Wno-non-virtual-dtor \
    176 	-Wno-sign-promo
    177 
    178 
    179 # Flags passed to both C and C++ files.
    180 MY_CFLAGS_Release := \
    181 	-fstack-protector \
    182 	--param=ssp-buffer-size=4 \
    183 	-Werror \
    184 	-fno-strict-aliasing \
    185 	-Wall \
    186 	-Wno-unused-parameter \
    187 	-Wno-missing-field-initializers \
    188 	-fvisibility=hidden \
    189 	-pipe \
    190 	-fPIC \
    191 	-Wno-unused-local-typedefs \
    192 	-fno-tree-sra \
    193 	-fno-caller-saves \
    194 	-Wno-psabi \
    195 	-fno-partial-inlining \
    196 	-fno-early-inlining \
    197 	-fno-tree-copy-prop \
    198 	-fno-tree-loop-optimize \
    199 	-fno-move-loop-invariants \
    200 	-ffunction-sections \
    201 	-funwind-tables \
    202 	-g \
    203 	-fstack-protector \
    204 	-fno-short-enums \
    205 	-finline-limit=64 \
    206 	-Wa,--noexecstack \
    207 	-U_FORTIFY_SOURCE \
    208 	-Wno-extra \
    209 	-Wno-ignored-qualifiers \
    210 	-Wno-type-limits \
    211 	-Wno-unused-but-set-variable \
    212 	-Os \
    213 	-fno-ident \
    214 	-fdata-sections \
    215 	-ffunction-sections \
    216 	-fomit-frame-pointer \
    217 	-funwind-tables
    218 
    219 MY_DEFS_Release := \
    220 	'-DV8_DEPRECATION_WARNINGS' \
    221 	'-D_FILE_OFFSET_BITS=64' \
    222 	'-DNO_TCMALLOC' \
    223 	'-DDISABLE_NACL' \
    224 	'-DCHROMIUM_BUILD' \
    225 	'-DUSE_LIBJPEG_TURBO=1' \
    226 	'-DENABLE_WEBRTC=1' \
    227 	'-DUSE_PROPRIETARY_CODECS' \
    228 	'-DENABLE_BROWSER_CDMS' \
    229 	'-DENABLE_CONFIGURATION_POLICY' \
    230 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    231 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    232 	'-DENABLE_EGLIMAGE=1' \
    233 	'-DCLD_VERSION=1' \
    234 	'-DENABLE_PRINTING=1' \
    235 	'-DENABLE_MANAGED_USERS=1' \
    236 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    237 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
    238 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    239 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    240 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    241 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    242 	'-DVIDEO_HOLE=1' \
    243 	'-DENABLE_LOAD_COMPLETION_HACKS=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_TEXTRENDERMODE' \
    253 	'-DSK_BUILD_FOR_ANDROID' \
    254 	'-DSK_USE_POSIX_THREADS' \
    255 	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
    256 	'-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \
    257 	'-DU_USING_ICU_NAMESPACE=0' \
    258 	'-DU_ENABLE_DYLOAD=0' \
    259 	'-DUSE_OPENSSL=1' \
    260 	'-DUSE_OPENSSL_CERTS=1' \
    261 	'-D__STDC_CONSTANT_MACROS' \
    262 	'-D__STDC_FORMAT_MACROS' \
    263 	'-DANDROID' \
    264 	'-D__GNU_SOURCE=1' \
    265 	'-DUSE_STLPORT=1' \
    266 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    267 	'-DCHROME_BUILD_ID=""' \
    268 	'-DNDEBUG' \
    269 	'-DNVALGRIND' \
    270 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    271 	'-D_FORTIFY_SOURCE=2'
    272 
    273 
    274 # Include paths placed before CFLAGS/CPPFLAGS
    275 LOCAL_C_INCLUDES_Release := \
    276 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    277 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    278 	$(gyp_shared_intermediate_dir) \
    279 	$(LOCAL_PATH) \
    280 	$(LOCAL_PATH)/skia/config \
    281 	$(LOCAL_PATH)/third_party/skia/src/core \
    282 	$(LOCAL_PATH)/third_party/skia/include/core \
    283 	$(LOCAL_PATH)/third_party/skia/include/effects \
    284 	$(LOCAL_PATH)/third_party/skia/include/pdf \
    285 	$(LOCAL_PATH)/third_party/skia/include/gpu \
    286 	$(LOCAL_PATH)/third_party/skia/include/lazy \
    287 	$(LOCAL_PATH)/third_party/skia/include/pathops \
    288 	$(LOCAL_PATH)/third_party/skia/include/pipe \
    289 	$(LOCAL_PATH)/third_party/skia/include/ports \
    290 	$(LOCAL_PATH)/third_party/skia/include/utils \
    291 	$(LOCAL_PATH)/skia/ext \
    292 	$(PWD)/external/icu/icu4c/source/common \
    293 	$(PWD)/external/icu/icu4c/source/i18n \
    294 	$(PWD)/frameworks/wilhelm/include \
    295 	$(PWD)/bionic \
    296 	$(PWD)/external/stlport/stlport
    297 
    298 
    299 # Flags passed to only C++ (and not C) files.
    300 LOCAL_CPPFLAGS_Release := \
    301 	-fno-exceptions \
    302 	-fno-rtti \
    303 	-fno-threadsafe-statics \
    304 	-fvisibility-inlines-hidden \
    305 	-Wsign-compare \
    306 	-Wno-abi \
    307 	-std=gnu++11 \
    308 	-Wno-narrowing \
    309 	-Wno-literal-suffix \
    310 	-Wno-non-virtual-dtor \
    311 	-Wno-sign-promo
    312 
    313 
    314 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    315 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    316 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    317 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    318 ### Rules for final target.
    319 
    320 LOCAL_SHARED_LIBRARIES := \
    321 	libstlport \
    322 	libdl
    323 
    324 # Add target alias to "gyp_all_modules" target.
    325 .PHONY: gyp_all_modules
    326 gyp_all_modules: ui_events_gesture_detection_gyp
    327 
    328 # Alias gyp target name.
    329 .PHONY: gesture_detection
    330 gesture_detection: ui_events_gesture_detection_gyp
    331 
    332 include $(BUILD_STATIC_LIBRARY)
    333