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