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