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