url_lib.target.darwin-x86.mk revision f2477e01787aa58f445919b809d89e252beef54f
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 9gyp_intermediate_dir := $(call local-intermediates-dir) 10gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) 11 12# Make sure our deps are built first. 13GYP_TARGET_DEPENDENCIES := \ 14 $(call intermediates-dir-for,GYP,third_party_icu_icudata_gyp)/icudata.stamp \ 15 $(call intermediates-dir-for,GYP,third_party_icu_icui18n_gyp)/icui18n.stamp \ 16 $(call intermediates-dir-for,GYP,third_party_icu_icuuc_gyp)/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/gurl.cc \ 30 url/third_party/mozilla/url_parse.cc \ 31 url/url_canon_etc.cc \ 32 url/url_canon_filesystemurl.cc \ 33 url/url_canon_fileurl.cc \ 34 url/url_canon_host.cc \ 35 url/url_canon_icu.cc \ 36 url/url_canon_internal.cc \ 37 url/url_canon_ip.cc \ 38 url/url_canon_mailtourl.cc \ 39 url/url_canon_path.cc \ 40 url/url_canon_pathurl.cc \ 41 url/url_canon_query.cc \ 42 url/url_canon_relative.cc \ 43 url/url_canon_stdurl.cc \ 44 url/url_parse_file.cc \ 45 url/url_util.cc 46 47 48# Flags passed to both C and C++ files. 49MY_CFLAGS_Debug := \ 50 --param=ssp-buffer-size=4 \ 51 -Werror \ 52 -fno-exceptions \ 53 -fno-strict-aliasing \ 54 -Wall \ 55 -Wno-unused-parameter \ 56 -Wno-missing-field-initializers \ 57 -fvisibility=hidden \ 58 -pipe \ 59 -fPIC \ 60 -m32 \ 61 -mmmx \ 62 -march=pentium4 \ 63 -msse2 \ 64 -mfpmath=sse \ 65 -fuse-ld=gold \ 66 -ffunction-sections \ 67 -funwind-tables \ 68 -g \ 69 -fno-short-enums \ 70 -finline-limit=64 \ 71 -Wa,--noexecstack \ 72 -U_FORTIFY_SOURCE \ 73 -Wno-extra \ 74 -Wno-ignored-qualifiers \ 75 -Wno-type-limits \ 76 -fno-stack-protector \ 77 -Os \ 78 -g \ 79 -fomit-frame-pointer \ 80 -fdata-sections \ 81 -ffunction-sections 82 83MY_DEFS_Debug := \ 84 '-DANGLE_DX11' \ 85 '-D_FILE_OFFSET_BITS=64' \ 86 '-DNO_TCMALLOC' \ 87 '-DDISABLE_NACL' \ 88 '-DCHROMIUM_BUILD' \ 89 '-DUSE_LIBJPEG_TURBO=1' \ 90 '-DUSE_PROPRIETARY_CODECS' \ 91 '-DENABLE_CONFIGURATION_POLICY' \ 92 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 93 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 94 '-DUSE_OPENSSL=1' \ 95 '-DENABLE_EGLIMAGE=1' \ 96 '-DCLD_VERSION=1' \ 97 '-DENABLE_MANAGED_USERS=1' \ 98 '-DURL_IMPLEMENTATION' \ 99 '-DU_USING_ICU_NAMESPACE=0' \ 100 '-D__STDC_CONSTANT_MACROS' \ 101 '-D__STDC_FORMAT_MACROS' \ 102 '-DANDROID' \ 103 '-D__GNU_SOURCE=1' \ 104 '-DUSE_STLPORT=1' \ 105 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 106 '-DCHROME_BUILD_ID=""' \ 107 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 108 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 109 '-D_DEBUG' 110 111 112# Include paths placed before CFLAGS/CPPFLAGS 113LOCAL_C_INCLUDES_Debug := \ 114 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 115 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 116 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 117 $(LOCAL_PATH) \ 118 $(PWD)/external/icu4c/common \ 119 $(PWD)/external/icu4c/i18n \ 120 $(PWD)/frameworks/wilhelm/include \ 121 $(PWD)/bionic \ 122 $(PWD)/external/stlport/stlport 123 124 125# Flags passed to only C++ (and not C) files. 126LOCAL_CPPFLAGS_Debug := \ 127 -fno-rtti \ 128 -fno-threadsafe-statics \ 129 -fvisibility-inlines-hidden \ 130 -Wsign-compare \ 131 -Wno-error=c++0x-compat \ 132 -Wno-non-virtual-dtor \ 133 -Wno-sign-promo 134 135 136# Flags passed to both C and C++ files. 137MY_CFLAGS_Release := \ 138 --param=ssp-buffer-size=4 \ 139 -Werror \ 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 -m32 \ 149 -mmmx \ 150 -march=pentium4 \ 151 -msse2 \ 152 -mfpmath=sse \ 153 -fuse-ld=gold \ 154 -ffunction-sections \ 155 -funwind-tables \ 156 -g \ 157 -fno-short-enums \ 158 -finline-limit=64 \ 159 -Wa,--noexecstack \ 160 -U_FORTIFY_SOURCE \ 161 -Wno-extra \ 162 -Wno-ignored-qualifiers \ 163 -Wno-type-limits \ 164 -fno-stack-protector \ 165 -Os \ 166 -fno-ident \ 167 -fdata-sections \ 168 -ffunction-sections \ 169 -fomit-frame-pointer \ 170 -fno-unwind-tables \ 171 -fno-asynchronous-unwind-tables 172 173MY_DEFS_Release := \ 174 '-DANGLE_DX11' \ 175 '-D_FILE_OFFSET_BITS=64' \ 176 '-DNO_TCMALLOC' \ 177 '-DDISABLE_NACL' \ 178 '-DCHROMIUM_BUILD' \ 179 '-DUSE_LIBJPEG_TURBO=1' \ 180 '-DUSE_PROPRIETARY_CODECS' \ 181 '-DENABLE_CONFIGURATION_POLICY' \ 182 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 183 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 184 '-DUSE_OPENSSL=1' \ 185 '-DENABLE_EGLIMAGE=1' \ 186 '-DCLD_VERSION=1' \ 187 '-DENABLE_MANAGED_USERS=1' \ 188 '-DURL_IMPLEMENTATION' \ 189 '-DU_USING_ICU_NAMESPACE=0' \ 190 '-D__STDC_CONSTANT_MACROS' \ 191 '-D__STDC_FORMAT_MACROS' \ 192 '-DANDROID' \ 193 '-D__GNU_SOURCE=1' \ 194 '-DUSE_STLPORT=1' \ 195 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 196 '-DCHROME_BUILD_ID=""' \ 197 '-DNDEBUG' \ 198 '-DNVALGRIND' \ 199 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 200 '-D_FORTIFY_SOURCE=2' 201 202 203# Include paths placed before CFLAGS/CPPFLAGS 204LOCAL_C_INCLUDES_Release := \ 205 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 206 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 207 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 208 $(LOCAL_PATH) \ 209 $(PWD)/external/icu4c/common \ 210 $(PWD)/external/icu4c/i18n \ 211 $(PWD)/frameworks/wilhelm/include \ 212 $(PWD)/bionic \ 213 $(PWD)/external/stlport/stlport 214 215 216# Flags passed to only C++ (and not C) files. 217LOCAL_CPPFLAGS_Release := \ 218 -fno-rtti \ 219 -fno-threadsafe-statics \ 220 -fvisibility-inlines-hidden \ 221 -Wsign-compare \ 222 -Wno-error=c++0x-compat \ 223 -Wno-non-virtual-dtor \ 224 -Wno-sign-promo 225 226 227LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 228LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 229LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 230### Rules for final target. 231 232LOCAL_LDFLAGS_Debug := \ 233 -Wl,-z,now \ 234 -Wl,-z,relro \ 235 -Wl,-z,noexecstack \ 236 -fPIC \ 237 -m32 \ 238 -fuse-ld=gold \ 239 -nostdlib \ 240 -Wl,--no-undefined \ 241 -Wl,--exclude-libs=ALL \ 242 -Wl,--fatal-warnings \ 243 -Wl,--gc-sections \ 244 -Wl,--warn-shared-textrel \ 245 -Wl,-O1 \ 246 -Wl,--as-needed 247 248 249LOCAL_LDFLAGS_Release := \ 250 -Wl,-z,now \ 251 -Wl,-z,relro \ 252 -Wl,-z,noexecstack \ 253 -fPIC \ 254 -m32 \ 255 -fuse-ld=gold \ 256 -nostdlib \ 257 -Wl,--no-undefined \ 258 -Wl,--exclude-libs=ALL \ 259 -Wl,-O1 \ 260 -Wl,--as-needed \ 261 -Wl,--gc-sections \ 262 -Wl,--fatal-warnings \ 263 -Wl,--warn-shared-textrel 264 265 266LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 267 268LOCAL_STATIC_LIBRARIES := 269 270# Enable grouping to fix circular references 271LOCAL_GROUP_STATIC_LIBRARIES := true 272 273LOCAL_SHARED_LIBRARIES := \ 274 libstlport \ 275 libdl 276 277# Add target alias to "gyp_all_modules" target. 278.PHONY: gyp_all_modules 279gyp_all_modules: url_url_lib_gyp 280 281# Alias gyp target name. 282.PHONY: url_lib 283url_lib: url_url_lib_gyp 284 285include $(BUILD_STATIC_LIBRARY) 286