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