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