url_lib.target.darwin-arm.mk revision 9a3a4bc965704498ea9f22876627cda96ff9a77e
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 -fstack-protector \ 55 --param=ssp-buffer-size=4 \ 56 -Werror \ 57 -fno-exceptions \ 58 -fno-strict-aliasing \ 59 -Wall \ 60 -Wno-unused-parameter \ 61 -Wno-missing-field-initializers \ 62 -fvisibility=hidden \ 63 -pipe \ 64 -fPIC \ 65 -Wno-unused-local-typedefs \ 66 -fno-tree-sra \ 67 -fno-partial-inlining \ 68 -fno-early-inlining \ 69 -fno-tree-copy-prop \ 70 -fno-tree-loop-optimize \ 71 -fno-move-loop-invariants \ 72 -fno-caller-saves \ 73 -Wno-psabi \ 74 -ffunction-sections \ 75 -funwind-tables \ 76 -g \ 77 -fstack-protector \ 78 -fno-short-enums \ 79 -finline-limit=64 \ 80 -Wa,--noexecstack \ 81 -U_FORTIFY_SOURCE \ 82 -Wno-extra \ 83 -Wno-ignored-qualifiers \ 84 -Wno-type-limits \ 85 -Wno-unused-but-set-variable \ 86 -Os \ 87 -g \ 88 -fdata-sections \ 89 -ffunction-sections \ 90 -fomit-frame-pointer \ 91 -funwind-tables 92 93MY_DEFS_Debug := \ 94 '-DV8_DEPRECATION_WARNINGS' \ 95 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 96 '-D_FILE_OFFSET_BITS=64' \ 97 '-DNO_TCMALLOC' \ 98 '-DDISABLE_NACL' \ 99 '-DCHROMIUM_BUILD' \ 100 '-DUSE_LIBJPEG_TURBO=1' \ 101 '-DENABLE_WEBRTC=1' \ 102 '-DUSE_PROPRIETARY_CODECS' \ 103 '-DENABLE_BROWSER_CDMS' \ 104 '-DENABLE_CONFIGURATION_POLICY' \ 105 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 106 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 107 '-DENABLE_EGLIMAGE=1' \ 108 '-DCLD_VERSION=1' \ 109 '-DENABLE_PRINTING=1' \ 110 '-DENABLE_MANAGED_USERS=1' \ 111 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 112 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 113 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 114 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 115 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 116 '-DVIDEO_HOLE=1' \ 117 '-DURL_IMPLEMENTATION' \ 118 '-DU_USING_ICU_NAMESPACE=0' \ 119 '-DUSE_OPENSSL=1' \ 120 '-DUSE_OPENSSL_CERTS=1' \ 121 '-D__STDC_CONSTANT_MACROS' \ 122 '-D__STDC_FORMAT_MACROS' \ 123 '-DANDROID' \ 124 '-D__GNU_SOURCE=1' \ 125 '-DUSE_STLPORT=1' \ 126 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 127 '-DCHROME_BUILD_ID=""' \ 128 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 129 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 130 '-D_DEBUG' 131 132 133# Include paths placed before CFLAGS/CPPFLAGS 134LOCAL_C_INCLUDES_Debug := \ 135 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 136 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 137 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 138 $(gyp_shared_intermediate_dir) \ 139 $(LOCAL_PATH) \ 140 $(PWD)/external/icu/icu4c/source/common \ 141 $(PWD)/external/icu/icu4c/source/i18n \ 142 $(PWD)/frameworks/wilhelm/include \ 143 $(PWD)/bionic \ 144 $(PWD)/external/stlport/stlport 145 146 147# Flags passed to only C++ (and not C) files. 148LOCAL_CPPFLAGS_Debug := \ 149 -fno-rtti \ 150 -fno-threadsafe-statics \ 151 -fvisibility-inlines-hidden \ 152 -Wsign-compare \ 153 -Wno-abi \ 154 -Wno-non-virtual-dtor \ 155 -Wno-sign-promo 156 157 158# Flags passed to both C and C++ files. 159MY_CFLAGS_Release := \ 160 -fstack-protector \ 161 --param=ssp-buffer-size=4 \ 162 -Werror \ 163 -fno-exceptions \ 164 -fno-strict-aliasing \ 165 -Wall \ 166 -Wno-unused-parameter \ 167 -Wno-missing-field-initializers \ 168 -fvisibility=hidden \ 169 -pipe \ 170 -fPIC \ 171 -Wno-unused-local-typedefs \ 172 -fno-tree-sra \ 173 -fno-partial-inlining \ 174 -fno-early-inlining \ 175 -fno-tree-copy-prop \ 176 -fno-tree-loop-optimize \ 177 -fno-move-loop-invariants \ 178 -fno-caller-saves \ 179 -Wno-psabi \ 180 -ffunction-sections \ 181 -funwind-tables \ 182 -g \ 183 -fstack-protector \ 184 -fno-short-enums \ 185 -finline-limit=64 \ 186 -Wa,--noexecstack \ 187 -U_FORTIFY_SOURCE \ 188 -Wno-extra \ 189 -Wno-ignored-qualifiers \ 190 -Wno-type-limits \ 191 -Wno-unused-but-set-variable \ 192 -Os \ 193 -fno-ident \ 194 -fdata-sections \ 195 -ffunction-sections \ 196 -fomit-frame-pointer \ 197 -funwind-tables 198 199MY_DEFS_Release := \ 200 '-DV8_DEPRECATION_WARNINGS' \ 201 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 202 '-D_FILE_OFFSET_BITS=64' \ 203 '-DNO_TCMALLOC' \ 204 '-DDISABLE_NACL' \ 205 '-DCHROMIUM_BUILD' \ 206 '-DUSE_LIBJPEG_TURBO=1' \ 207 '-DENABLE_WEBRTC=1' \ 208 '-DUSE_PROPRIETARY_CODECS' \ 209 '-DENABLE_BROWSER_CDMS' \ 210 '-DENABLE_CONFIGURATION_POLICY' \ 211 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 212 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 213 '-DENABLE_EGLIMAGE=1' \ 214 '-DCLD_VERSION=1' \ 215 '-DENABLE_PRINTING=1' \ 216 '-DENABLE_MANAGED_USERS=1' \ 217 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 218 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 219 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 220 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 221 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 222 '-DVIDEO_HOLE=1' \ 223 '-DURL_IMPLEMENTATION' \ 224 '-DU_USING_ICU_NAMESPACE=0' \ 225 '-DUSE_OPENSSL=1' \ 226 '-DUSE_OPENSSL_CERTS=1' \ 227 '-D__STDC_CONSTANT_MACROS' \ 228 '-D__STDC_FORMAT_MACROS' \ 229 '-DANDROID' \ 230 '-D__GNU_SOURCE=1' \ 231 '-DUSE_STLPORT=1' \ 232 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 233 '-DCHROME_BUILD_ID=""' \ 234 '-DNDEBUG' \ 235 '-DNVALGRIND' \ 236 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 237 '-D_FORTIFY_SOURCE=2' 238 239 240# Include paths placed before CFLAGS/CPPFLAGS 241LOCAL_C_INCLUDES_Release := \ 242 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 243 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 244 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 245 $(gyp_shared_intermediate_dir) \ 246 $(LOCAL_PATH) \ 247 $(PWD)/external/icu/icu4c/source/common \ 248 $(PWD)/external/icu/icu4c/source/i18n \ 249 $(PWD)/frameworks/wilhelm/include \ 250 $(PWD)/bionic \ 251 $(PWD)/external/stlport/stlport 252 253 254# Flags passed to only C++ (and not C) files. 255LOCAL_CPPFLAGS_Release := \ 256 -fno-rtti \ 257 -fno-threadsafe-statics \ 258 -fvisibility-inlines-hidden \ 259 -Wsign-compare \ 260 -Wno-abi \ 261 -Wno-non-virtual-dtor \ 262 -Wno-sign-promo 263 264 265LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 266LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 267LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 268LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 269### Rules for final target. 270 271LOCAL_LDFLAGS_Debug := \ 272 -Wl,-z,now \ 273 -Wl,-z,relro \ 274 -Wl,--fatal-warnings \ 275 -Wl,-z,noexecstack \ 276 -fPIC \ 277 -Wl,-z,relro \ 278 -Wl,-z,now \ 279 -fuse-ld=gold \ 280 -nostdlib \ 281 -Wl,--no-undefined \ 282 -Wl,--exclude-libs=ALL \ 283 -Wl,--icf=safe \ 284 -Wl,--warn-shared-textrel \ 285 -Wl,-O1 \ 286 -Wl,--as-needed 287 288 289LOCAL_LDFLAGS_Release := \ 290 -Wl,-z,now \ 291 -Wl,-z,relro \ 292 -Wl,--fatal-warnings \ 293 -Wl,-z,noexecstack \ 294 -fPIC \ 295 -Wl,-z,relro \ 296 -Wl,-z,now \ 297 -fuse-ld=gold \ 298 -nostdlib \ 299 -Wl,--no-undefined \ 300 -Wl,--exclude-libs=ALL \ 301 -Wl,--icf=safe \ 302 -Wl,-O1 \ 303 -Wl,--as-needed \ 304 -Wl,--gc-sections \ 305 -Wl,--warn-shared-textrel 306 307 308LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 309 310LOCAL_STATIC_LIBRARIES := 311 312# Enable grouping to fix circular references 313LOCAL_GROUP_STATIC_LIBRARIES := true 314 315LOCAL_SHARED_LIBRARIES := \ 316 libstlport \ 317 libdl 318 319# Add target alias to "gyp_all_modules" target. 320.PHONY: gyp_all_modules 321gyp_all_modules: url_url_lib_gyp 322 323# Alias gyp target name. 324.PHONY: url_lib 325url_lib: url_url_lib_gyp 326 327include $(BUILD_STATIC_LIBRARY) 328