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_ipc_events_ipc_gyp 7 LOCAL_MODULE_SUFFIX := .a 8 LOCAL_MODULE_TAGS := optional 9 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 10 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 11 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 12 13 # Make sure our deps are built first. 14 GYP_TARGET_DEPENDENCIES := 15 16 GYP_GENERATED_OUTPUTS := 17 18 # Make sure our deps and generated files are built first. 19 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 20 21 LOCAL_CPP_EXTENSION := .cc 22 LOCAL_GENERATED_SOURCES := 23 24 GYP_COPIED_SOURCE_ORIGIN_DIRS := 25 26 LOCAL_SRC_FILES := \ 27 ui/events/ipc/latency_info_param_traits.cc 28 29 30 # Flags passed to both C and C++ files. 31 MY_CFLAGS_Debug := \ 32 --param=ssp-buffer-size=4 \ 33 -Werror \ 34 -fno-exceptions \ 35 -fno-strict-aliasing \ 36 -Wall \ 37 -Wno-unused-parameter \ 38 -Wno-missing-field-initializers \ 39 -fvisibility=hidden \ 40 -pipe \ 41 -fPIC \ 42 -Wno-unused-local-typedefs \ 43 -msse2 \ 44 -mfpmath=sse \ 45 -mmmx \ 46 -m32 \ 47 -ffunction-sections \ 48 -funwind-tables \ 49 -g \ 50 -fno-short-enums \ 51 -finline-limit=64 \ 52 -Wa,--noexecstack \ 53 -U_FORTIFY_SOURCE \ 54 -Wno-extra \ 55 -Wno-ignored-qualifiers \ 56 -Wno-type-limits \ 57 -Wno-unused-but-set-variable \ 58 -fno-stack-protector \ 59 -Os \ 60 -g \ 61 -fdata-sections \ 62 -ffunction-sections \ 63 -fomit-frame-pointer \ 64 -funwind-tables 65 66 MY_DEFS_Debug := \ 67 '-DV8_DEPRECATION_WARNINGS' \ 68 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 69 '-D_FILE_OFFSET_BITS=64' \ 70 '-DNO_TCMALLOC' \ 71 '-DDISABLE_NACL' \ 72 '-DCHROMIUM_BUILD' \ 73 '-DUSE_LIBJPEG_TURBO=1' \ 74 '-DENABLE_WEBRTC=1' \ 75 '-DUSE_PROPRIETARY_CODECS' \ 76 '-DENABLE_BROWSER_CDMS' \ 77 '-DENABLE_CONFIGURATION_POLICY' \ 78 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 79 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 80 '-DENABLE_EGLIMAGE=1' \ 81 '-DCLD_VERSION=1' \ 82 '-DENABLE_PRINTING=1' \ 83 '-DENABLE_MANAGED_USERS=1' \ 84 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 85 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 86 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 87 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 88 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 89 '-DVIDEO_HOLE=1' \ 90 '-DEVENTS_IMPLEMENTATION' \ 91 '-DUSE_OPENSSL=1' \ 92 '-DUSE_OPENSSL_CERTS=1' \ 93 '-D__STDC_CONSTANT_MACROS' \ 94 '-D__STDC_FORMAT_MACROS' \ 95 '-DANDROID' \ 96 '-D__GNU_SOURCE=1' \ 97 '-DUSE_STLPORT=1' \ 98 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 99 '-DCHROME_BUILD_ID=""' \ 100 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 101 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 102 '-D_DEBUG' 103 104 105 # Include paths placed before CFLAGS/CPPFLAGS 106 LOCAL_C_INCLUDES_Debug := \ 107 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 108 $(gyp_shared_intermediate_dir) \ 109 $(LOCAL_PATH)/ui \ 110 $(LOCAL_PATH) \ 111 $(PWD)/frameworks/wilhelm/include \ 112 $(PWD)/bionic \ 113 $(PWD)/external/stlport/stlport 114 115 116 # Flags passed to only C++ (and not C) files. 117 LOCAL_CPPFLAGS_Debug := \ 118 -fno-rtti \ 119 -fno-threadsafe-statics \ 120 -fvisibility-inlines-hidden \ 121 -Wsign-compare \ 122 -Wno-non-virtual-dtor \ 123 -Wno-sign-promo 124 125 126 LOCAL_FDO_SUPPORT_Debug := false 127 128 # Flags passed to both C and C++ files. 129 MY_CFLAGS_Release := \ 130 --param=ssp-buffer-size=4 \ 131 -Werror \ 132 -fno-exceptions \ 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 -msse2 \ 142 -mfpmath=sse \ 143 -mmmx \ 144 -m32 \ 145 -ffunction-sections \ 146 -funwind-tables \ 147 -g \ 148 -fno-short-enums \ 149 -finline-limit=64 \ 150 -Wa,--noexecstack \ 151 -U_FORTIFY_SOURCE \ 152 -Wno-extra \ 153 -Wno-ignored-qualifiers \ 154 -Wno-type-limits \ 155 -Wno-unused-but-set-variable \ 156 -fno-stack-protector \ 157 -Os \ 158 -fno-ident \ 159 -fdata-sections \ 160 -ffunction-sections \ 161 -fomit-frame-pointer \ 162 -funwind-tables 163 164 MY_DEFS_Release := \ 165 '-DV8_DEPRECATION_WARNINGS' \ 166 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 167 '-D_FILE_OFFSET_BITS=64' \ 168 '-DNO_TCMALLOC' \ 169 '-DDISABLE_NACL' \ 170 '-DCHROMIUM_BUILD' \ 171 '-DUSE_LIBJPEG_TURBO=1' \ 172 '-DENABLE_WEBRTC=1' \ 173 '-DUSE_PROPRIETARY_CODECS' \ 174 '-DENABLE_BROWSER_CDMS' \ 175 '-DENABLE_CONFIGURATION_POLICY' \ 176 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 177 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 178 '-DENABLE_EGLIMAGE=1' \ 179 '-DCLD_VERSION=1' \ 180 '-DENABLE_PRINTING=1' \ 181 '-DENABLE_MANAGED_USERS=1' \ 182 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 183 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 184 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 185 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 186 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 187 '-DVIDEO_HOLE=1' \ 188 '-DEVENTS_IMPLEMENTATION' \ 189 '-DUSE_OPENSSL=1' \ 190 '-DUSE_OPENSSL_CERTS=1' \ 191 '-D__STDC_CONSTANT_MACROS' \ 192 '-D__STDC_FORMAT_MACROS' \ 193 '-DANDROID' \ 194 '-D__GNU_SOURCE=1' \ 195 '-DUSE_STLPORT=1' \ 196 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 197 '-DCHROME_BUILD_ID=""' \ 198 '-DNDEBUG' \ 199 '-DNVALGRIND' \ 200 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 201 '-D_FORTIFY_SOURCE=2' 202 203 204 # Include paths placed before CFLAGS/CPPFLAGS 205 LOCAL_C_INCLUDES_Release := \ 206 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 207 $(gyp_shared_intermediate_dir) \ 208 $(LOCAL_PATH)/ui \ 209 $(LOCAL_PATH) \ 210 $(PWD)/frameworks/wilhelm/include \ 211 $(PWD)/bionic \ 212 $(PWD)/external/stlport/stlport 213 214 215 # Flags passed to only C++ (and not C) files. 216 LOCAL_CPPFLAGS_Release := \ 217 -fno-rtti \ 218 -fno-threadsafe-statics \ 219 -fvisibility-inlines-hidden \ 220 -Wsign-compare \ 221 -Wno-non-virtual-dtor \ 222 -Wno-sign-promo 223 224 225 LOCAL_FDO_SUPPORT_Release := false 226 227 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 228 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 229 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 230 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 231 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 232 ### Rules for final target. 233 234 LOCAL_LDFLAGS_Debug := \ 235 -Wl,-z,now \ 236 -Wl,-z,relro \ 237 -Wl,--fatal-warnings \ 238 -Wl,-z,noexecstack \ 239 -fPIC \ 240 -m32 \ 241 -fuse-ld=gold \ 242 -nostdlib \ 243 -Wl,--no-undefined \ 244 -Wl,--exclude-libs=ALL \ 245 -Wl,--warn-shared-textrel \ 246 -Wl,-O1 \ 247 -Wl,--as-needed 248 249 250 LOCAL_LDFLAGS_Release := \ 251 -Wl,-z,now \ 252 -Wl,-z,relro \ 253 -Wl,--fatal-warnings \ 254 -Wl,-z,noexecstack \ 255 -fPIC \ 256 -m32 \ 257 -fuse-ld=gold \ 258 -nostdlib \ 259 -Wl,--no-undefined \ 260 -Wl,--exclude-libs=ALL \ 261 -Wl,-O1 \ 262 -Wl,--as-needed \ 263 -Wl,--gc-sections \ 264 -Wl,--warn-shared-textrel 265 266 267 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 268 269 LOCAL_STATIC_LIBRARIES := 270 271 # Enable grouping to fix circular references 272 LOCAL_GROUP_STATIC_LIBRARIES := true 273 274 LOCAL_SHARED_LIBRARIES := \ 275 libstlport \ 276 libdl 277 278 # Add target alias to "gyp_all_modules" target. 279 .PHONY: gyp_all_modules 280 gyp_all_modules: ui_events_ipc_events_ipc_gyp 281 282 # Alias gyp target name. 283 .PHONY: events_ipc 284 events_ipc: ui_events_ipc_events_ipc_gyp 285 286 include $(BUILD_STATIC_LIBRARY) 287