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