url_lib.target.darwin-x86.mk revision a3f6a49ab37290eeeb8db0f41ec0f1cb74a68be7
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/third_party/mozilla/url_parse.cc \ 30 url/url_canon_etc.cc \ 31 url/url_canon_filesystemurl.cc \ 32 url/url_canon_fileurl.cc \ 33 url/url_canon_host.cc \ 34 url/url_canon_icu.cc \ 35 url/url_canon_internal.cc \ 36 url/url_canon_ip.cc \ 37 url/url_canon_mailtourl.cc \ 38 url/url_canon_path.cc \ 39 url/url_canon_pathurl.cc \ 40 url/url_canon_query.cc \ 41 url/url_canon_relative.cc \ 42 url/url_canon_stdstring.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 '-DV8_DEPRECATION_WARNINGS' \ 86 '-D_FILE_OFFSET_BITS=64' \ 87 '-DNO_TCMALLOC' \ 88 '-DDISABLE_NACL' \ 89 '-DCHROMIUM_BUILD' \ 90 '-DUSE_LIBJPEG_TURBO=1' \ 91 '-DUSE_PROPRIETARY_CODECS' \ 92 '-DENABLE_CONFIGURATION_POLICY' \ 93 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 94 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 95 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 96 '-DUSE_OPENSSL=1' \ 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 '-D__STDC_CONSTANT_MACROS' \ 104 '-D__STDC_FORMAT_MACROS' \ 105 '-DANDROID' \ 106 '-D__GNU_SOURCE=1' \ 107 '-DUSE_STLPORT=1' \ 108 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 109 '-DCHROME_BUILD_ID=""' \ 110 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 111 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 112 '-D_DEBUG' 113 114 115# Include paths placed before CFLAGS/CPPFLAGS 116LOCAL_C_INCLUDES_Debug := \ 117 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 118 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 119 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 120 $(LOCAL_PATH) \ 121 $(PWD)/external/icu4c/common \ 122 $(PWD)/external/icu4c/i18n \ 123 $(PWD)/frameworks/wilhelm/include \ 124 $(PWD)/bionic \ 125 $(PWD)/external/stlport/stlport 126 127 128# Flags passed to only C++ (and not C) files. 129LOCAL_CPPFLAGS_Debug := \ 130 -fno-rtti \ 131 -fno-threadsafe-statics \ 132 -fvisibility-inlines-hidden \ 133 -Wsign-compare \ 134 -Wno-error=c++0x-compat \ 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 -m32 \ 152 -mmmx \ 153 -march=pentium4 \ 154 -msse2 \ 155 -mfpmath=sse \ 156 -fuse-ld=gold \ 157 -ffunction-sections \ 158 -funwind-tables \ 159 -g \ 160 -fno-short-enums \ 161 -finline-limit=64 \ 162 -Wa,--noexecstack \ 163 -U_FORTIFY_SOURCE \ 164 -Wno-extra \ 165 -Wno-ignored-qualifiers \ 166 -Wno-type-limits \ 167 -fno-stack-protector \ 168 -Os \ 169 -fno-ident \ 170 -fdata-sections \ 171 -ffunction-sections \ 172 -fomit-frame-pointer \ 173 -fno-unwind-tables \ 174 -fno-asynchronous-unwind-tables 175 176MY_DEFS_Release := \ 177 '-DANGLE_DX11' \ 178 '-DV8_DEPRECATION_WARNINGS' \ 179 '-D_FILE_OFFSET_BITS=64' \ 180 '-DNO_TCMALLOC' \ 181 '-DDISABLE_NACL' \ 182 '-DCHROMIUM_BUILD' \ 183 '-DUSE_LIBJPEG_TURBO=1' \ 184 '-DUSE_PROPRIETARY_CODECS' \ 185 '-DENABLE_CONFIGURATION_POLICY' \ 186 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 187 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 188 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 189 '-DUSE_OPENSSL=1' \ 190 '-DENABLE_EGLIMAGE=1' \ 191 '-DCLD_VERSION=1' \ 192 '-DENABLE_PRINTING=1' \ 193 '-DENABLE_MANAGED_USERS=1' \ 194 '-DURL_IMPLEMENTATION' \ 195 '-DU_USING_ICU_NAMESPACE=0' \ 196 '-D__STDC_CONSTANT_MACROS' \ 197 '-D__STDC_FORMAT_MACROS' \ 198 '-DANDROID' \ 199 '-D__GNU_SOURCE=1' \ 200 '-DUSE_STLPORT=1' \ 201 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 202 '-DCHROME_BUILD_ID=""' \ 203 '-DNDEBUG' \ 204 '-DNVALGRIND' \ 205 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 206 '-D_FORTIFY_SOURCE=2' 207 208 209# Include paths placed before CFLAGS/CPPFLAGS 210LOCAL_C_INCLUDES_Release := \ 211 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 212 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 213 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 214 $(LOCAL_PATH) \ 215 $(PWD)/external/icu4c/common \ 216 $(PWD)/external/icu4c/i18n \ 217 $(PWD)/frameworks/wilhelm/include \ 218 $(PWD)/bionic \ 219 $(PWD)/external/stlport/stlport 220 221 222# Flags passed to only C++ (and not C) files. 223LOCAL_CPPFLAGS_Release := \ 224 -fno-rtti \ 225 -fno-threadsafe-statics \ 226 -fvisibility-inlines-hidden \ 227 -Wsign-compare \ 228 -Wno-error=c++0x-compat \ 229 -Wno-non-virtual-dtor \ 230 -Wno-sign-promo 231 232 233LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 234LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 235LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 236### Rules for final target. 237 238LOCAL_LDFLAGS_Debug := \ 239 -Wl,-z,now \ 240 -Wl,-z,relro \ 241 -Wl,-z,noexecstack \ 242 -fPIC \ 243 -m32 \ 244 -fuse-ld=gold \ 245 -nostdlib \ 246 -Wl,--no-undefined \ 247 -Wl,--exclude-libs=ALL \ 248 -Wl,--fatal-warnings \ 249 -Wl,--gc-sections \ 250 -Wl,--warn-shared-textrel \ 251 -Wl,-O1 \ 252 -Wl,--as-needed 253 254 255LOCAL_LDFLAGS_Release := \ 256 -Wl,-z,now \ 257 -Wl,-z,relro \ 258 -Wl,-z,noexecstack \ 259 -fPIC \ 260 -m32 \ 261 -fuse-ld=gold \ 262 -nostdlib \ 263 -Wl,--no-undefined \ 264 -Wl,--exclude-libs=ALL \ 265 -Wl,-O1 \ 266 -Wl,--as-needed \ 267 -Wl,--gc-sections \ 268 -Wl,--fatal-warnings \ 269 -Wl,--warn-shared-textrel 270 271 272LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 273 274LOCAL_STATIC_LIBRARIES := 275 276# Enable grouping to fix circular references 277LOCAL_GROUP_STATIC_LIBRARIES := true 278 279LOCAL_SHARED_LIBRARIES := \ 280 libstlport \ 281 libdl 282 283# Add target alias to "gyp_all_modules" target. 284.PHONY: gyp_all_modules 285gyp_all_modules: url_url_lib_gyp 286 287# Alias gyp target name. 288.PHONY: url_lib 289url_lib: url_url_lib_gyp 290 291include $(BUILD_STATIC_LIBRARY) 292