url_lib.target.darwin-mips.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 -fstack-protector \ 52 --param=ssp-buffer-size=4 \ 53 \ 54 -fno-exceptions \ 55 -fno-strict-aliasing \ 56 -Wall \ 57 -Wno-unused-parameter \ 58 -Wno-missing-field-initializers \ 59 -fvisibility=hidden \ 60 -pipe \ 61 -fPIC \ 62 -EL \ 63 -mhard-float \ 64 -ffunction-sections \ 65 -funwind-tables \ 66 -g \ 67 -fstack-protector \ 68 -fno-short-enums \ 69 -finline-limit=64 \ 70 -Wa,--noexecstack \ 71 -U_FORTIFY_SOURCE \ 72 -Wno-extra \ 73 -Wno-ignored-qualifiers \ 74 -Wno-type-limits \ 75 -Wno-unused-but-set-variable \ 76 -Os \ 77 -g \ 78 -fomit-frame-pointer \ 79 -fdata-sections \ 80 -ffunction-sections \ 81 -funwind-tables 82 83MY_DEFS_Debug := \ 84 '-DV8_DEPRECATION_WARNINGS' \ 85 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 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 '-DENABLE_EGLIMAGE=1' \ 96 '-DCLD_VERSION=1' \ 97 '-DENABLE_PRINTING=1' \ 98 '-DENABLE_MANAGED_USERS=1' \ 99 '-DURL_IMPLEMENTATION' \ 100 '-DU_USING_ICU_NAMESPACE=0' \ 101 '-DUSE_OPENSSL=1' \ 102 '-D__STDC_CONSTANT_MACROS' \ 103 '-D__STDC_FORMAT_MACROS' \ 104 '-DANDROID' \ 105 '-D__GNU_SOURCE=1' \ 106 '-DUSE_STLPORT=1' \ 107 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 108 '-DCHROME_BUILD_ID=""' \ 109 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 110 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 111 '-D_DEBUG' 112 113 114# Include paths placed before CFLAGS/CPPFLAGS 115LOCAL_C_INCLUDES_Debug := \ 116 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 117 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 118 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 119 $(LOCAL_PATH) \ 120 $(PWD)/external/icu4c/common \ 121 $(PWD)/external/icu4c/i18n \ 122 $(PWD)/frameworks/wilhelm/include \ 123 $(PWD)/bionic \ 124 $(PWD)/external/stlport/stlport 125 126 127# Flags passed to only C++ (and not C) files. 128LOCAL_CPPFLAGS_Debug := \ 129 -fno-rtti \ 130 -fno-threadsafe-statics \ 131 -fvisibility-inlines-hidden \ 132 -Wsign-compare \ 133 -Wno-uninitialized \ 134 -Wno-non-virtual-dtor \ 135 -Wno-sign-promo 136 137 138# Flags passed to both C and C++ files. 139MY_CFLAGS_Release := \ 140 -fstack-protector \ 141 --param=ssp-buffer-size=4 \ 142 \ 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 -EL \ 152 -mhard-float \ 153 -ffunction-sections \ 154 -funwind-tables \ 155 -g \ 156 -fstack-protector \ 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 -Wno-unused-but-set-variable \ 165 -Os \ 166 -fno-ident \ 167 -fdata-sections \ 168 -ffunction-sections \ 169 -fomit-frame-pointer \ 170 -funwind-tables 171 172MY_DEFS_Release := \ 173 '-DV8_DEPRECATION_WARNINGS' \ 174 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 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 '-DENABLE_EGLIMAGE=1' \ 185 '-DCLD_VERSION=1' \ 186 '-DENABLE_PRINTING=1' \ 187 '-DENABLE_MANAGED_USERS=1' \ 188 '-DURL_IMPLEMENTATION' \ 189 '-DU_USING_ICU_NAMESPACE=0' \ 190 '-DUSE_OPENSSL=1' \ 191 '-D__STDC_CONSTANT_MACROS' \ 192 '-D__STDC_FORMAT_MACROS' \ 193 '-DANDROID' \ 194 '-D__GNU_SOURCE=1' \ 195 '-DUSE_STLPORT=1' \ 196 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 197 '-DCHROME_BUILD_ID=""' \ 198 '-DNDEBUG' \ 199 '-DNVALGRIND' \ 200 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 201 '-D_FORTIFY_SOURCE=2' 202 203 204# Include paths placed before CFLAGS/CPPFLAGS 205LOCAL_C_INCLUDES_Release := \ 206 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 207 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 208 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 209 $(LOCAL_PATH) \ 210 $(PWD)/external/icu4c/common \ 211 $(PWD)/external/icu4c/i18n \ 212 $(PWD)/frameworks/wilhelm/include \ 213 $(PWD)/bionic \ 214 $(PWD)/external/stlport/stlport 215 216 217# Flags passed to only C++ (and not C) files. 218LOCAL_CPPFLAGS_Release := \ 219 -fno-rtti \ 220 -fno-threadsafe-statics \ 221 -fvisibility-inlines-hidden \ 222 -Wsign-compare \ 223 -Wno-uninitialized \ 224 -Wno-non-virtual-dtor \ 225 -Wno-sign-promo 226 227 228LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 229LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 230LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 231LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 232### Rules for final target. 233 234LOCAL_LDFLAGS_Debug := \ 235 -Wl,--fatal-warnings \ 236 -Wl,-z,now \ 237 -Wl,-z,relro \ 238 -Wl,-z,noexecstack \ 239 -fPIC \ 240 -EL \ 241 -Wl,--no-keep-memory \ 242 -nostdlib \ 243 -Wl,--no-undefined \ 244 -Wl,--exclude-libs=ALL \ 245 -Wl,--gc-sections \ 246 -Wl,--warn-shared-textrel \ 247 -Wl,-O1 \ 248 -Wl,--as-needed 249 250 251LOCAL_LDFLAGS_Release := \ 252 -Wl,--fatal-warnings \ 253 -Wl,-z,now \ 254 -Wl,-z,relro \ 255 -Wl,-z,noexecstack \ 256 -fPIC \ 257 -EL \ 258 -Wl,--no-keep-memory \ 259 -nostdlib \ 260 -Wl,--no-undefined \ 261 -Wl,--exclude-libs=ALL \ 262 -Wl,-O1 \ 263 -Wl,--as-needed \ 264 -Wl,--gc-sections \ 265 -Wl,--warn-shared-textrel 266 267 268LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 269 270LOCAL_STATIC_LIBRARIES := 271 272# Enable grouping to fix circular references 273LOCAL_GROUP_STATIC_LIBRARIES := true 274 275LOCAL_SHARED_LIBRARIES := \ 276 libstlport \ 277 libdl 278 279# Add target alias to "gyp_all_modules" target. 280.PHONY: gyp_all_modules 281gyp_all_modules: url_url_lib_gyp 282 283# Alias gyp target name. 284.PHONY: url_lib 285url_lib: url_url_lib_gyp 286 287include $(BUILD_STATIC_LIBRARY) 288