1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := third_party_icu_icuuc_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp 7LOCAL_MODULE_SUFFIX := .a 8LOCAL_MODULE_TAGS := optional 9LOCAL_IS_HOST_MODULE := true 10LOCAL_MULTILIB := $(GYP_HOST_MULTILIB) 11gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_HOST_VAR_PREFIX)) 12gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 13 14# Make sure our deps are built first. 15GYP_TARGET_DEPENDENCIES := 16 17GYP_GENERATED_OUTPUTS := 18 19# Make sure our deps and generated files are built first. 20LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 21 22LOCAL_GENERATED_SOURCES := 23 24GYP_COPIED_SOURCE_ORIGIN_DIRS := 25 26LOCAL_SRC_FILES := \ 27 third_party/icu/source/common/bmpset.cpp \ 28 third_party/icu/source/common/brkeng.cpp \ 29 third_party/icu/source/common/brkiter.cpp \ 30 third_party/icu/source/common/bytestream.cpp \ 31 third_party/icu/source/common/caniter.cpp \ 32 third_party/icu/source/common/chariter.cpp \ 33 third_party/icu/source/common/charstr.cpp \ 34 third_party/icu/source/common/cmemory.c \ 35 third_party/icu/source/common/cstring.c \ 36 third_party/icu/source/common/cwchar.c \ 37 third_party/icu/source/common/dictbe.cpp \ 38 third_party/icu/source/common/dtintrv.cpp \ 39 third_party/icu/source/common/errorcode.cpp \ 40 third_party/icu/source/common/filterednormalizer2.cpp \ 41 third_party/icu/source/common/icudataver.c \ 42 third_party/icu/source/common/icuplug.c \ 43 third_party/icu/source/common/locavailable.cpp \ 44 third_party/icu/source/common/locbased.cpp \ 45 third_party/icu/source/common/locdispnames.cpp \ 46 third_party/icu/source/common/locid.cpp \ 47 third_party/icu/source/common/loclikely.cpp \ 48 third_party/icu/source/common/locmap.c \ 49 third_party/icu/source/common/locresdata.cpp \ 50 third_party/icu/source/common/locutil.cpp \ 51 third_party/icu/source/common/mutex.cpp \ 52 third_party/icu/source/common/normalizer2.cpp \ 53 third_party/icu/source/common/normalizer2impl.cpp \ 54 third_party/icu/source/common/normlzr.cpp \ 55 third_party/icu/source/common/parsepos.cpp \ 56 third_party/icu/source/common/propname.cpp \ 57 third_party/icu/source/common/propsvec.c \ 58 third_party/icu/source/common/punycode.c \ 59 third_party/icu/source/common/putil.c \ 60 third_party/icu/source/common/rbbi.cpp \ 61 third_party/icu/source/common/rbbidata.cpp \ 62 third_party/icu/source/common/rbbinode.cpp \ 63 third_party/icu/source/common/rbbirb.cpp \ 64 third_party/icu/source/common/rbbiscan.cpp \ 65 third_party/icu/source/common/rbbisetb.cpp \ 66 third_party/icu/source/common/rbbistbl.cpp \ 67 third_party/icu/source/common/rbbitblb.cpp \ 68 third_party/icu/source/common/resbund.cpp \ 69 third_party/icu/source/common/resbund_cnv.cpp \ 70 third_party/icu/source/common/ruleiter.cpp \ 71 third_party/icu/source/common/schriter.cpp \ 72 third_party/icu/source/common/serv.cpp \ 73 third_party/icu/source/common/servlk.cpp \ 74 third_party/icu/source/common/servlkf.cpp \ 75 third_party/icu/source/common/servls.cpp \ 76 third_party/icu/source/common/servnotf.cpp \ 77 third_party/icu/source/common/servrbf.cpp \ 78 third_party/icu/source/common/servslkf.cpp \ 79 third_party/icu/source/common/stringpiece.cpp \ 80 third_party/icu/source/common/triedict.cpp \ 81 third_party/icu/source/common/uarrsort.c \ 82 third_party/icu/source/common/ubidi.c \ 83 third_party/icu/source/common/ubidi_props.c \ 84 third_party/icu/source/common/ubidiln.c \ 85 third_party/icu/source/common/ubidiwrt.c \ 86 third_party/icu/source/common/ubrk.cpp \ 87 third_party/icu/source/common/ucase.c \ 88 third_party/icu/source/common/ucasemap.c \ 89 third_party/icu/source/common/ucat.c \ 90 third_party/icu/source/common/uchar.c \ 91 third_party/icu/source/common/uchriter.cpp \ 92 third_party/icu/source/common/ucln_cmn.c \ 93 third_party/icu/source/common/ucmndata.c \ 94 third_party/icu/source/common/ucnv.c \ 95 third_party/icu/source/common/ucnv2022.c \ 96 third_party/icu/source/common/ucnv_bld.c \ 97 third_party/icu/source/common/ucnv_cb.c \ 98 third_party/icu/source/common/ucnv_cnv.c \ 99 third_party/icu/source/common/ucnv_err.c \ 100 third_party/icu/source/common/ucnv_ext.c \ 101 third_party/icu/source/common/ucnv_io.c \ 102 third_party/icu/source/common/ucnv_lmb.c \ 103 third_party/icu/source/common/ucnv_set.c \ 104 third_party/icu/source/common/ucnv_u16.c \ 105 third_party/icu/source/common/ucnv_u32.c \ 106 third_party/icu/source/common/ucnv_u7.c \ 107 third_party/icu/source/common/ucnv_u8.c \ 108 third_party/icu/source/common/ucnvbocu.c \ 109 third_party/icu/source/common/ucnvdisp.c \ 110 third_party/icu/source/common/ucnvhz.c \ 111 third_party/icu/source/common/ucnvisci.c \ 112 third_party/icu/source/common/ucnvlat1.c \ 113 third_party/icu/source/common/ucnvmbcs.c \ 114 third_party/icu/source/common/ucnvscsu.c \ 115 third_party/icu/source/common/ucnvsel.cpp \ 116 third_party/icu/source/common/ucol_swp.cpp \ 117 third_party/icu/source/common/udata.cpp \ 118 third_party/icu/source/common/udatamem.c \ 119 third_party/icu/source/common/udataswp.c \ 120 third_party/icu/source/common/uenum.c \ 121 third_party/icu/source/common/uhash.c \ 122 third_party/icu/source/common/uhash_us.cpp \ 123 third_party/icu/source/common/uidna.cpp \ 124 third_party/icu/source/common/uinit.c \ 125 third_party/icu/source/common/uinvchar.c \ 126 third_party/icu/source/common/uiter.cpp \ 127 third_party/icu/source/common/ulist.c \ 128 third_party/icu/source/common/uloc.c \ 129 third_party/icu/source/common/uloc_tag.c \ 130 third_party/icu/source/common/umapfile.c \ 131 third_party/icu/source/common/umath.c \ 132 third_party/icu/source/common/umutex.c \ 133 third_party/icu/source/common/unames.c \ 134 third_party/icu/source/common/unifilt.cpp \ 135 third_party/icu/source/common/unifunct.cpp \ 136 third_party/icu/source/common/uniset.cpp \ 137 third_party/icu/source/common/uniset_props.cpp \ 138 third_party/icu/source/common/unisetspan.cpp \ 139 third_party/icu/source/common/unistr.cpp \ 140 third_party/icu/source/common/unistr_case.cpp \ 141 third_party/icu/source/common/unistr_cnv.cpp \ 142 third_party/icu/source/common/unistr_props.cpp \ 143 third_party/icu/source/common/unorm.cpp \ 144 third_party/icu/source/common/unorm_it.c \ 145 third_party/icu/source/common/unormcmp.cpp \ 146 third_party/icu/source/common/uobject.cpp \ 147 third_party/icu/source/common/uprops.cpp \ 148 third_party/icu/source/common/ures_cnv.c \ 149 third_party/icu/source/common/uresbund.c \ 150 third_party/icu/source/common/uresdata.c \ 151 third_party/icu/source/common/usc_impl.c \ 152 third_party/icu/source/common/uscript.c \ 153 third_party/icu/source/common/uset.cpp \ 154 third_party/icu/source/common/uset_props.cpp \ 155 third_party/icu/source/common/usetiter.cpp \ 156 third_party/icu/source/common/ushape.c \ 157 third_party/icu/source/common/usprep.cpp \ 158 third_party/icu/source/common/ustack.cpp \ 159 third_party/icu/source/common/ustr_cnv.c \ 160 third_party/icu/source/common/ustr_wcs.c \ 161 third_party/icu/source/common/ustrcase.c \ 162 third_party/icu/source/common/ustrenum.cpp \ 163 third_party/icu/source/common/ustrfmt.c \ 164 third_party/icu/source/common/ustring.c \ 165 third_party/icu/source/common/ustrtrns.c \ 166 third_party/icu/source/common/utext.cpp \ 167 third_party/icu/source/common/utf_impl.c \ 168 third_party/icu/source/common/util.cpp \ 169 third_party/icu/source/common/util_props.cpp \ 170 third_party/icu/source/common/utrace.c \ 171 third_party/icu/source/common/utrie.c \ 172 third_party/icu/source/common/utrie2.cpp \ 173 third_party/icu/source/common/utrie2_builder.c \ 174 third_party/icu/source/common/uts46.cpp \ 175 third_party/icu/source/common/utypes.c \ 176 third_party/icu/source/common/uvector.cpp \ 177 third_party/icu/source/common/uvectr32.cpp \ 178 third_party/icu/source/common/uvectr64.cpp \ 179 third_party/icu/source/common/wintz.c 180 181 182# Flags passed to both C and C++ files. 183MY_CFLAGS_Debug := \ 184 -fstack-protector \ 185 --param=ssp-buffer-size=4 \ 186 -pthread \ 187 -fno-exceptions \ 188 -fno-strict-aliasing \ 189 -Wno-unused-parameter \ 190 -Wno-missing-field-initializers \ 191 -fvisibility=hidden \ 192 -pipe \ 193 -fPIC \ 194 -Wno-deprecated-declarations \ 195 -Wno-unused-function \ 196 -Wno-format \ 197 -m64 \ 198 -Os \ 199 -g \ 200 -fdata-sections \ 201 -ffunction-sections \ 202 -funwind-tables 203 204MY_DEFS_Debug := \ 205 '-DU_USING_ICU_NAMESPACE=0' \ 206 '-DV8_DEPRECATION_WARNINGS' \ 207 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 208 '-D_FILE_OFFSET_BITS=64' \ 209 '-DNO_TCMALLOC' \ 210 '-DDISABLE_NACL' \ 211 '-DU_STATIC_IMPLEMENTATION' \ 212 '-DCHROMIUM_BUILD' \ 213 '-DUSE_LIBJPEG_TURBO=1' \ 214 '-DENABLE_WEBRTC=1' \ 215 '-DUSE_PROPRIETARY_CODECS' \ 216 '-DENABLE_BROWSER_CDMS' \ 217 '-DENABLE_CONFIGURATION_POLICY' \ 218 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 219 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 220 '-DENABLE_EGLIMAGE=1' \ 221 '-DCLD_VERSION=1' \ 222 '-DENABLE_PRINTING=1' \ 223 '-DENABLE_MANAGED_USERS=1' \ 224 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 225 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 226 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 227 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 228 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 229 '-DVIDEO_HOLE=1' \ 230 '-DU_COMMON_IMPLEMENTATION' \ 231 '-DUSE_OPENSSL=1' \ 232 '-DUSE_OPENSSL_CERTS=1' \ 233 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 234 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 235 '-D_DEBUG' 236 237 238# Include paths placed before CFLAGS/CPPFLAGS 239LOCAL_C_INCLUDES_Debug := \ 240 $(LOCAL_PATH)/third_party/icu/source/common \ 241 $(LOCAL_PATH)/third_party/icu/source/i18n \ 242 $(gyp_shared_intermediate_dir) 243 244 245# Flags passed to only C++ (and not C) files. 246LOCAL_CPPFLAGS_Debug := \ 247 -fno-rtti \ 248 -fno-threadsafe-statics \ 249 -fvisibility-inlines-hidden \ 250 -frtti \ 251 -Wno-deprecated 252 253 254LOCAL_FDO_SUPPORT_Debug := false 255 256# Flags passed to both C and C++ files. 257MY_CFLAGS_Release := \ 258 -fstack-protector \ 259 --param=ssp-buffer-size=4 \ 260 -pthread \ 261 -fno-exceptions \ 262 -fno-strict-aliasing \ 263 -Wno-unused-parameter \ 264 -Wno-missing-field-initializers \ 265 -fvisibility=hidden \ 266 -pipe \ 267 -fPIC \ 268 -Wno-deprecated-declarations \ 269 -Wno-unused-function \ 270 -Wno-format \ 271 -m64 \ 272 -Os \ 273 -fno-ident \ 274 -fdata-sections \ 275 -ffunction-sections \ 276 -funwind-tables 277 278MY_DEFS_Release := \ 279 '-DU_USING_ICU_NAMESPACE=0' \ 280 '-DV8_DEPRECATION_WARNINGS' \ 281 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 282 '-D_FILE_OFFSET_BITS=64' \ 283 '-DNO_TCMALLOC' \ 284 '-DDISABLE_NACL' \ 285 '-DU_STATIC_IMPLEMENTATION' \ 286 '-DCHROMIUM_BUILD' \ 287 '-DUSE_LIBJPEG_TURBO=1' \ 288 '-DENABLE_WEBRTC=1' \ 289 '-DUSE_PROPRIETARY_CODECS' \ 290 '-DENABLE_BROWSER_CDMS' \ 291 '-DENABLE_CONFIGURATION_POLICY' \ 292 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 293 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 294 '-DENABLE_EGLIMAGE=1' \ 295 '-DCLD_VERSION=1' \ 296 '-DENABLE_PRINTING=1' \ 297 '-DENABLE_MANAGED_USERS=1' \ 298 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 299 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 300 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 301 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 302 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 303 '-DVIDEO_HOLE=1' \ 304 '-DU_COMMON_IMPLEMENTATION' \ 305 '-DUSE_OPENSSL=1' \ 306 '-DUSE_OPENSSL_CERTS=1' \ 307 '-DNDEBUG' \ 308 '-DNVALGRIND' \ 309 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' 310 311 312# Include paths placed before CFLAGS/CPPFLAGS 313LOCAL_C_INCLUDES_Release := \ 314 $(LOCAL_PATH)/third_party/icu/source/common \ 315 $(LOCAL_PATH)/third_party/icu/source/i18n \ 316 $(gyp_shared_intermediate_dir) 317 318 319# Flags passed to only C++ (and not C) files. 320LOCAL_CPPFLAGS_Release := \ 321 -fno-rtti \ 322 -fno-threadsafe-statics \ 323 -fvisibility-inlines-hidden \ 324 -frtti \ 325 -Wno-deprecated 326 327 328LOCAL_FDO_SUPPORT_Release := false 329 330LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 331LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 332# Undefine ANDROID for host modules 333LOCAL_CFLAGS += -UANDROID 334LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 335LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 336LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 337### Rules for final target. 338 339LOCAL_LDFLAGS_Debug := \ 340 -pthread \ 341 -fPIC \ 342 -m64 343 344 345LOCAL_LDFLAGS_Release := \ 346 -pthread \ 347 -fPIC \ 348 -m64 349 350 351LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 352 353LOCAL_STATIC_LIBRARIES := 354 355# Enable grouping to fix circular references 356LOCAL_GROUP_STATIC_LIBRARIES := true 357 358LOCAL_SHARED_LIBRARIES := 359 360# Add target alias to "gyp_all_modules" target. 361.PHONY: gyp_all_modules 362gyp_all_modules: third_party_icu_icuuc_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp 363 364# Alias gyp target name. 365.PHONY: icuuc 366icuuc: third_party_icu_icuuc_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp 367 368include $(BUILD_HOST_STATIC_LIBRARY) 369