Home | History | Annotate | Download | only in platform
      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_platform_events_platform_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 
     15 GYP_GENERATED_OUTPUTS :=
     16 
     17 # Make sure our deps and generated files are built first.
     18 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     19 
     20 LOCAL_CPP_EXTENSION := .cc
     21 LOCAL_GENERATED_SOURCES :=
     22 
     23 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     24 
     25 LOCAL_SRC_FILES := \
     26 	ui/events/platform/platform_event_source.cc \
     27 	ui/events/platform/platform_event_source_stub.cc \
     28 	ui/events/platform/scoped_event_dispatcher.cc
     29 
     30 
     31 # Flags passed to both C and C++ files.
     32 MY_CFLAGS_Debug := \
     33 	-fstack-protector \
     34 	--param=ssp-buffer-size=4 \
     35 	 \
     36 	-fno-strict-aliasing \
     37 	-Wall \
     38 	-Wno-unused-parameter \
     39 	-Wno-missing-field-initializers \
     40 	-fvisibility=hidden \
     41 	-pipe \
     42 	-fPIC \
     43 	-Wno-unused-local-typedefs \
     44 	-ffunction-sections \
     45 	-funwind-tables \
     46 	-g \
     47 	-fstack-protector \
     48 	-fno-short-enums \
     49 	-finline-limit=64 \
     50 	-Wa,--noexecstack \
     51 	-U_FORTIFY_SOURCE \
     52 	-Wno-extra \
     53 	-Wno-ignored-qualifiers \
     54 	-Wno-type-limits \
     55 	-Wno-unused-but-set-variable \
     56 	-Os \
     57 	-g \
     58 	-gdwarf-4 \
     59 	-fdata-sections \
     60 	-ffunction-sections \
     61 	-fomit-frame-pointer \
     62 	-funwind-tables
     63 
     64 MY_DEFS_Debug := \
     65 	'-DV8_DEPRECATION_WARNINGS' \
     66 	'-D_FILE_OFFSET_BITS=64' \
     67 	'-DNO_TCMALLOC' \
     68 	'-DDISABLE_NACL' \
     69 	'-DCHROMIUM_BUILD' \
     70 	'-DUSE_LIBJPEG_TURBO=1' \
     71 	'-DENABLE_WEBRTC=1' \
     72 	'-DUSE_PROPRIETARY_CODECS' \
     73 	'-DENABLE_BROWSER_CDMS' \
     74 	'-DENABLE_CONFIGURATION_POLICY' \
     75 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
     76 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
     77 	'-DENABLE_EGLIMAGE=1' \
     78 	'-DCLD_VERSION=1' \
     79 	'-DENABLE_PRINTING=1' \
     80 	'-DENABLE_MANAGED_USERS=1' \
     81 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
     82 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
     83 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
     84 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
     85 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
     86 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
     87 	'-DVIDEO_HOLE=1' \
     88 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
     89 	'-DEVENTS_IMPLEMENTATION' \
     90 	'-DUSE_OPENSSL=1' \
     91 	'-DUSE_OPENSSL_CERTS=1' \
     92 	'-D__STDC_CONSTANT_MACROS' \
     93 	'-D__STDC_FORMAT_MACROS' \
     94 	'-DANDROID' \
     95 	'-D__GNU_SOURCE=1' \
     96 	'-DUSE_STLPORT=1' \
     97 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
     98 	'-DCHROME_BUILD_ID=""' \
     99 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    100 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    101 	'-D_DEBUG'
    102 
    103 
    104 # Include paths placed before CFLAGS/CPPFLAGS
    105 LOCAL_C_INCLUDES_Debug := \
    106 	$(gyp_shared_intermediate_dir) \
    107 	$(LOCAL_PATH) \
    108 	$(PWD)/frameworks/wilhelm/include \
    109 	$(PWD)/bionic \
    110 	$(PWD)/external/stlport/stlport
    111 
    112 
    113 # Flags passed to only C++ (and not C) files.
    114 LOCAL_CPPFLAGS_Debug := \
    115 	-fno-exceptions \
    116 	-fno-rtti \
    117 	-fno-threadsafe-statics \
    118 	-fvisibility-inlines-hidden \
    119 	-Wsign-compare \
    120 	-Wno-uninitialized \
    121 	-std=gnu++11 \
    122 	-Wno-narrowing \
    123 	-Wno-literal-suffix \
    124 	-Wno-non-virtual-dtor \
    125 	-Wno-sign-promo
    126 
    127 
    128 # Flags passed to both C and C++ files.
    129 MY_CFLAGS_Release := \
    130 	-fstack-protector \
    131 	--param=ssp-buffer-size=4 \
    132 	 \
    133 	-fno-strict-aliasing \
    134 	-Wall \
    135 	-Wno-unused-parameter \
    136 	-Wno-missing-field-initializers \
    137 	-fvisibility=hidden \
    138 	-pipe \
    139 	-fPIC \
    140 	-Wno-unused-local-typedefs \
    141 	-ffunction-sections \
    142 	-funwind-tables \
    143 	-g \
    144 	-fstack-protector \
    145 	-fno-short-enums \
    146 	-finline-limit=64 \
    147 	-Wa,--noexecstack \
    148 	-U_FORTIFY_SOURCE \
    149 	-Wno-extra \
    150 	-Wno-ignored-qualifiers \
    151 	-Wno-type-limits \
    152 	-Wno-unused-but-set-variable \
    153 	-Os \
    154 	-fno-ident \
    155 	-fdata-sections \
    156 	-ffunction-sections \
    157 	-fomit-frame-pointer \
    158 	-funwind-tables
    159 
    160 MY_DEFS_Release := \
    161 	'-DV8_DEPRECATION_WARNINGS' \
    162 	'-D_FILE_OFFSET_BITS=64' \
    163 	'-DNO_TCMALLOC' \
    164 	'-DDISABLE_NACL' \
    165 	'-DCHROMIUM_BUILD' \
    166 	'-DUSE_LIBJPEG_TURBO=1' \
    167 	'-DENABLE_WEBRTC=1' \
    168 	'-DUSE_PROPRIETARY_CODECS' \
    169 	'-DENABLE_BROWSER_CDMS' \
    170 	'-DENABLE_CONFIGURATION_POLICY' \
    171 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    172 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    173 	'-DENABLE_EGLIMAGE=1' \
    174 	'-DCLD_VERSION=1' \
    175 	'-DENABLE_PRINTING=1' \
    176 	'-DENABLE_MANAGED_USERS=1' \
    177 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    178 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
    179 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    180 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    181 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    182 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    183 	'-DVIDEO_HOLE=1' \
    184 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    185 	'-DEVENTS_IMPLEMENTATION' \
    186 	'-DUSE_OPENSSL=1' \
    187 	'-DUSE_OPENSSL_CERTS=1' \
    188 	'-D__STDC_CONSTANT_MACROS' \
    189 	'-D__STDC_FORMAT_MACROS' \
    190 	'-DANDROID' \
    191 	'-D__GNU_SOURCE=1' \
    192 	'-DUSE_STLPORT=1' \
    193 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    194 	'-DCHROME_BUILD_ID=""' \
    195 	'-DNDEBUG' \
    196 	'-DNVALGRIND' \
    197 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    198 	'-D_FORTIFY_SOURCE=2'
    199 
    200 
    201 # Include paths placed before CFLAGS/CPPFLAGS
    202 LOCAL_C_INCLUDES_Release := \
    203 	$(gyp_shared_intermediate_dir) \
    204 	$(LOCAL_PATH) \
    205 	$(PWD)/frameworks/wilhelm/include \
    206 	$(PWD)/bionic \
    207 	$(PWD)/external/stlport/stlport
    208 
    209 
    210 # Flags passed to only C++ (and not C) files.
    211 LOCAL_CPPFLAGS_Release := \
    212 	-fno-exceptions \
    213 	-fno-rtti \
    214 	-fno-threadsafe-statics \
    215 	-fvisibility-inlines-hidden \
    216 	-Wsign-compare \
    217 	-Wno-uninitialized \
    218 	-std=gnu++11 \
    219 	-Wno-narrowing \
    220 	-Wno-literal-suffix \
    221 	-Wno-non-virtual-dtor \
    222 	-Wno-sign-promo
    223 
    224 
    225 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    226 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    227 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    228 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    229 ### Rules for final target.
    230 
    231 LOCAL_SHARED_LIBRARIES := \
    232 	libstlport \
    233 	libdl
    234 
    235 # Add target alias to "gyp_all_modules" target.
    236 .PHONY: gyp_all_modules
    237 gyp_all_modules: ui_events_platform_events_platform_gyp
    238 
    239 # Alias gyp target name.
    240 .PHONY: events_platform
    241 events_platform: ui_events_platform_events_platform_gyp
    242 
    243 include $(BUILD_STATIC_LIBRARY)
    244