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