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