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