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 \ 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 -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 -gdwarf-4 \ 79 -fdata-sections \ 80 -ffunction-sections \ 81 -fomit-frame-pointer \ 82 -funwind-tables 83 84 MY_DEFS_Debug := \ 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 '-DENABLE_WEBRTC=1' \ 92 '-DUSE_PROPRIETARY_CODECS' \ 93 '-DENABLE_BROWSER_CDMS' \ 94 '-DENABLE_CONFIGURATION_POLICY' \ 95 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 96 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 97 '-DENABLE_EGLIMAGE=1' \ 98 '-DCLD_VERSION=1' \ 99 '-DENABLE_PRINTING=1' \ 100 '-DENABLE_MANAGED_USERS=1' \ 101 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 102 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 103 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 104 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 105 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 106 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 107 '-DVIDEO_HOLE=1' \ 108 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 109 '-DURL_IMPLEMENTATION' \ 110 '-DU_USING_ICU_NAMESPACE=0' \ 111 '-DU_ENABLE_DYLOAD=0' \ 112 '-DUSE_OPENSSL=1' \ 113 '-DUSE_OPENSSL_CERTS=1' \ 114 '-D__STDC_CONSTANT_MACROS' \ 115 '-D__STDC_FORMAT_MACROS' \ 116 '-DANDROID' \ 117 '-D__GNU_SOURCE=1' \ 118 '-DUSE_STLPORT=1' \ 119 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 120 '-DCHROME_BUILD_ID=""' \ 121 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 122 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 123 '-D_DEBUG' 124 125 126 # Include paths placed before CFLAGS/CPPFLAGS 127 LOCAL_C_INCLUDES_Debug := \ 128 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 129 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 130 $(gyp_shared_intermediate_dir) \ 131 $(LOCAL_PATH) \ 132 $(PWD)/external/icu/icu4c/source/common \ 133 $(PWD)/external/icu/icu4c/source/i18n \ 134 $(PWD)/frameworks/wilhelm/include \ 135 $(PWD)/bionic \ 136 $(PWD)/external/stlport/stlport 137 138 139 # Flags passed to only C++ (and not C) files. 140 LOCAL_CPPFLAGS_Debug := \ 141 -fno-exceptions \ 142 -fno-rtti \ 143 -fno-threadsafe-statics \ 144 -fvisibility-inlines-hidden \ 145 -Wsign-compare \ 146 -Wno-uninitialized \ 147 -std=gnu++11 \ 148 -Wno-narrowing \ 149 -Wno-literal-suffix \ 150 -Wno-non-virtual-dtor \ 151 -Wno-sign-promo 152 153 154 # Flags passed to both C and C++ files. 155 MY_CFLAGS_Release := \ 156 -fstack-protector \ 157 --param=ssp-buffer-size=4 \ 158 \ 159 -fno-strict-aliasing \ 160 -Wall \ 161 -Wno-unused-parameter \ 162 -Wno-missing-field-initializers \ 163 -fvisibility=hidden \ 164 -pipe \ 165 -fPIC \ 166 -Wno-unused-local-typedefs \ 167 -ffunction-sections \ 168 -funwind-tables \ 169 -g \ 170 -fstack-protector \ 171 -fno-short-enums \ 172 -finline-limit=64 \ 173 -Wa,--noexecstack \ 174 -U_FORTIFY_SOURCE \ 175 -Wno-extra \ 176 -Wno-ignored-qualifiers \ 177 -Wno-type-limits \ 178 -Wno-unused-but-set-variable \ 179 -Os \ 180 -fno-ident \ 181 -fdata-sections \ 182 -ffunction-sections \ 183 -fomit-frame-pointer \ 184 -funwind-tables 185 186 MY_DEFS_Release := \ 187 '-DV8_DEPRECATION_WARNINGS' \ 188 '-D_FILE_OFFSET_BITS=64' \ 189 '-DNO_TCMALLOC' \ 190 '-DDISABLE_NACL' \ 191 '-DCHROMIUM_BUILD' \ 192 '-DUSE_LIBJPEG_TURBO=1' \ 193 '-DENABLE_WEBRTC=1' \ 194 '-DUSE_PROPRIETARY_CODECS' \ 195 '-DENABLE_BROWSER_CDMS' \ 196 '-DENABLE_CONFIGURATION_POLICY' \ 197 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 198 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 199 '-DENABLE_EGLIMAGE=1' \ 200 '-DCLD_VERSION=1' \ 201 '-DENABLE_PRINTING=1' \ 202 '-DENABLE_MANAGED_USERS=1' \ 203 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 204 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 205 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 206 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 207 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 208 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 209 '-DVIDEO_HOLE=1' \ 210 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 211 '-DURL_IMPLEMENTATION' \ 212 '-DU_USING_ICU_NAMESPACE=0' \ 213 '-DU_ENABLE_DYLOAD=0' \ 214 '-DUSE_OPENSSL=1' \ 215 '-DUSE_OPENSSL_CERTS=1' \ 216 '-D__STDC_CONSTANT_MACROS' \ 217 '-D__STDC_FORMAT_MACROS' \ 218 '-DANDROID' \ 219 '-D__GNU_SOURCE=1' \ 220 '-DUSE_STLPORT=1' \ 221 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 222 '-DCHROME_BUILD_ID=""' \ 223 '-DNDEBUG' \ 224 '-DNVALGRIND' \ 225 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 226 '-D_FORTIFY_SOURCE=2' 227 228 229 # Include paths placed before CFLAGS/CPPFLAGS 230 LOCAL_C_INCLUDES_Release := \ 231 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 232 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 233 $(gyp_shared_intermediate_dir) \ 234 $(LOCAL_PATH) \ 235 $(PWD)/external/icu/icu4c/source/common \ 236 $(PWD)/external/icu/icu4c/source/i18n \ 237 $(PWD)/frameworks/wilhelm/include \ 238 $(PWD)/bionic \ 239 $(PWD)/external/stlport/stlport 240 241 242 # Flags passed to only C++ (and not C) files. 243 LOCAL_CPPFLAGS_Release := \ 244 -fno-exceptions \ 245 -fno-rtti \ 246 -fno-threadsafe-statics \ 247 -fvisibility-inlines-hidden \ 248 -Wsign-compare \ 249 -Wno-uninitialized \ 250 -std=gnu++11 \ 251 -Wno-narrowing \ 252 -Wno-literal-suffix \ 253 -Wno-non-virtual-dtor \ 254 -Wno-sign-promo 255 256 257 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 258 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 259 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 260 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 261 ### Rules for final target. 262 263 LOCAL_SHARED_LIBRARIES := \ 264 libstlport \ 265 libdl 266 267 # Add target alias to "gyp_all_modules" target. 268 .PHONY: gyp_all_modules 269 gyp_all_modules: url_url_lib_gyp 270 271 # Alias gyp target name. 272 .PHONY: url_lib 273 url_lib: url_url_lib_gyp 274 275 include $(BUILD_STATIC_LIBRARY) 276