1 # This file is generated by gyp; do not edit. 2 3 include $(CLEAR_VARS) 4 5 LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6 LOCAL_MODULE := url_url_lib_gyp 7 LOCAL_MODULE_SUFFIX := .a 8 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 9 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 11 12 # Make sure our deps are built first. 13 GYP_TARGET_DEPENDENCIES := \ 14 $(call intermediates-dir-for,GYP,third_party_icu_icui18n_gyp,,,$(GYP_VAR_PREFIX))/icui18n.stamp \ 15 $(call intermediates-dir-for,GYP,third_party_icu_icuuc_gyp,,,$(GYP_VAR_PREFIX))/icuuc.stamp 16 17 GYP_GENERATED_OUTPUTS := 18 19 # Make sure our deps and generated files are built first. 20 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 21 22 LOCAL_CPP_EXTENSION := .cc 23 LOCAL_GENERATED_SOURCES := 24 25 GYP_COPIED_SOURCE_ORIGIN_DIRS := 26 27 LOCAL_SRC_FILES := \ 28 url/android/url_jni_registrar.cc \ 29 url/gurl.cc \ 30 url/origin.cc \ 31 url/third_party/mozilla/url_parse.cc \ 32 url/url_canon_etc.cc \ 33 url/url_canon_filesystemurl.cc \ 34 url/url_canon_fileurl.cc \ 35 url/url_canon_host.cc \ 36 url/url_canon_icu.cc \ 37 url/url_canon_internal.cc \ 38 url/url_canon_ip.cc \ 39 url/url_canon_mailtourl.cc \ 40 url/url_canon_path.cc \ 41 url/url_canon_pathurl.cc \ 42 url/url_canon_query.cc \ 43 url/url_canon_relative.cc \ 44 url/url_canon_stdstring.cc \ 45 url/url_canon_stdurl.cc \ 46 url/url_constants.cc \ 47 url/url_parse_file.cc \ 48 url/url_util.cc 49 50 51 # Flags passed to both C and C++ files. 52 MY_CFLAGS_Debug := \ 53 -fstack-protector \ 54 --param=ssp-buffer-size=4 \ 55 -Werror \ 56 -fno-strict-aliasing \ 57 -Wall \ 58 -Wno-unused-parameter \ 59 -Wno-missing-field-initializers \ 60 -fvisibility=hidden \ 61 -pipe \ 62 -fPIC \ 63 -Wno-unused-local-typedefs \ 64 -m64 \ 65 -march=x86-64 \ 66 -ffunction-sections \ 67 -funwind-tables \ 68 -g \ 69 -fstack-protector \ 70 -fno-short-enums \ 71 -finline-limit=64 \ 72 -Wa,--noexecstack \ 73 -U_FORTIFY_SOURCE \ 74 -Wno-extra \ 75 -Wno-ignored-qualifiers \ 76 -Wno-type-limits \ 77 -Wno-unused-but-set-variable \ 78 -Os \ 79 -g \ 80 -gdwarf-4 \ 81 -fdata-sections \ 82 -ffunction-sections \ 83 -fomit-frame-pointer \ 84 -funwind-tables 85 86 MY_DEFS_Debug := \ 87 '-DV8_DEPRECATION_WARNINGS' \ 88 '-D_FILE_OFFSET_BITS=64' \ 89 '-DNO_TCMALLOC' \ 90 '-DDISABLE_NACL' \ 91 '-DCHROMIUM_BUILD' \ 92 '-DUSE_LIBJPEG_TURBO=1' \ 93 '-DENABLE_WEBRTC=1' \ 94 '-DUSE_PROPRIETARY_CODECS' \ 95 '-DENABLE_BROWSER_CDMS' \ 96 '-DENABLE_CONFIGURATION_POLICY' \ 97 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 98 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 99 '-DENABLE_EGLIMAGE=1' \ 100 '-DCLD_VERSION=1' \ 101 '-DENABLE_PRINTING=1' \ 102 '-DENABLE_MANAGED_USERS=1' \ 103 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 104 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 105 '-DDATA_REDUCTION_DEV_FALLBACK_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 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 109 '-DVIDEO_HOLE=1' \ 110 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 111 '-DURL_IMPLEMENTATION' \ 112 '-DU_USING_ICU_NAMESPACE=0' \ 113 '-DU_ENABLE_DYLOAD=0' \ 114 '-DUSE_OPENSSL=1' \ 115 '-DUSE_OPENSSL_CERTS=1' \ 116 '-D__STDC_CONSTANT_MACROS' \ 117 '-D__STDC_FORMAT_MACROS' \ 118 '-DANDROID' \ 119 '-D__GNU_SOURCE=1' \ 120 '-DUSE_STLPORT=1' \ 121 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 122 '-DCHROME_BUILD_ID=""' \ 123 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 124 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 125 '-D_DEBUG' 126 127 128 # Include paths placed before CFLAGS/CPPFLAGS 129 LOCAL_C_INCLUDES_Debug := \ 130 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 131 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 132 $(gyp_shared_intermediate_dir) \ 133 $(LOCAL_PATH) \ 134 $(PWD)/external/icu/icu4c/source/common \ 135 $(PWD)/external/icu/icu4c/source/i18n \ 136 $(PWD)/frameworks/wilhelm/include \ 137 $(PWD)/bionic \ 138 $(PWD)/external/stlport/stlport 139 140 141 # Flags passed to only C++ (and not C) files. 142 LOCAL_CPPFLAGS_Debug := \ 143 -fno-exceptions \ 144 -fno-rtti \ 145 -fno-threadsafe-statics \ 146 -fvisibility-inlines-hidden \ 147 -Wsign-compare \ 148 -std=gnu++11 \ 149 -Wno-narrowing \ 150 -Wno-literal-suffix \ 151 -Wno-non-virtual-dtor \ 152 -Wno-sign-promo 153 154 155 # Flags passed to both C and C++ files. 156 MY_CFLAGS_Release := \ 157 -fstack-protector \ 158 --param=ssp-buffer-size=4 \ 159 -Werror \ 160 -fno-strict-aliasing \ 161 -Wall \ 162 -Wno-unused-parameter \ 163 -Wno-missing-field-initializers \ 164 -fvisibility=hidden \ 165 -pipe \ 166 -fPIC \ 167 -Wno-unused-local-typedefs \ 168 -m64 \ 169 -march=x86-64 \ 170 -ffunction-sections \ 171 -funwind-tables \ 172 -g \ 173 -fstack-protector \ 174 -fno-short-enums \ 175 -finline-limit=64 \ 176 -Wa,--noexecstack \ 177 -U_FORTIFY_SOURCE \ 178 -Wno-extra \ 179 -Wno-ignored-qualifiers \ 180 -Wno-type-limits \ 181 -Wno-unused-but-set-variable \ 182 -Os \ 183 -fno-ident \ 184 -fdata-sections \ 185 -ffunction-sections \ 186 -fomit-frame-pointer \ 187 -funwind-tables 188 189 MY_DEFS_Release := \ 190 '-DV8_DEPRECATION_WARNINGS' \ 191 '-D_FILE_OFFSET_BITS=64' \ 192 '-DNO_TCMALLOC' \ 193 '-DDISABLE_NACL' \ 194 '-DCHROMIUM_BUILD' \ 195 '-DUSE_LIBJPEG_TURBO=1' \ 196 '-DENABLE_WEBRTC=1' \ 197 '-DUSE_PROPRIETARY_CODECS' \ 198 '-DENABLE_BROWSER_CDMS' \ 199 '-DENABLE_CONFIGURATION_POLICY' \ 200 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 201 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 202 '-DENABLE_EGLIMAGE=1' \ 203 '-DCLD_VERSION=1' \ 204 '-DENABLE_PRINTING=1' \ 205 '-DENABLE_MANAGED_USERS=1' \ 206 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 207 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 208 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 209 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 210 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 211 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 212 '-DVIDEO_HOLE=1' \ 213 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 214 '-DURL_IMPLEMENTATION' \ 215 '-DU_USING_ICU_NAMESPACE=0' \ 216 '-DU_ENABLE_DYLOAD=0' \ 217 '-DUSE_OPENSSL=1' \ 218 '-DUSE_OPENSSL_CERTS=1' \ 219 '-D__STDC_CONSTANT_MACROS' \ 220 '-D__STDC_FORMAT_MACROS' \ 221 '-DANDROID' \ 222 '-D__GNU_SOURCE=1' \ 223 '-DUSE_STLPORT=1' \ 224 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 225 '-DCHROME_BUILD_ID=""' \ 226 '-DNDEBUG' \ 227 '-DNVALGRIND' \ 228 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 229 '-D_FORTIFY_SOURCE=2' 230 231 232 # Include paths placed before CFLAGS/CPPFLAGS 233 LOCAL_C_INCLUDES_Release := \ 234 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 235 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 236 $(gyp_shared_intermediate_dir) \ 237 $(LOCAL_PATH) \ 238 $(PWD)/external/icu/icu4c/source/common \ 239 $(PWD)/external/icu/icu4c/source/i18n \ 240 $(PWD)/frameworks/wilhelm/include \ 241 $(PWD)/bionic \ 242 $(PWD)/external/stlport/stlport 243 244 245 # Flags passed to only C++ (and not C) files. 246 LOCAL_CPPFLAGS_Release := \ 247 -fno-exceptions \ 248 -fno-rtti \ 249 -fno-threadsafe-statics \ 250 -fvisibility-inlines-hidden \ 251 -Wsign-compare \ 252 -std=gnu++11 \ 253 -Wno-narrowing \ 254 -Wno-literal-suffix \ 255 -Wno-non-virtual-dtor \ 256 -Wno-sign-promo 257 258 259 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 260 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 261 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 262 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 263 ### Rules for final target. 264 265 LOCAL_SHARED_LIBRARIES := \ 266 libstlport \ 267 libdl 268 269 # Add target alias to "gyp_all_modules" target. 270 .PHONY: gyp_all_modules 271 gyp_all_modules: url_url_lib_gyp 272 273 # Alias gyp target name. 274 .PHONY: url_lib 275 url_lib: url_url_lib_gyp 276 277 include $(BUILD_STATIC_LIBRARY) 278