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