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 := third_party_icu_icui18n_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp 7 LOCAL_MODULE_SUFFIX := .a 8 LOCAL_IS_HOST_MODULE := true 9 LOCAL_MULTILIB := $(GYP_HOST_MULTILIB) 10 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_HOST_VAR_PREFIX)) 11 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 12 13 # Make sure our deps are built first. 14 GYP_TARGET_DEPENDENCIES := 15 16 GYP_GENERATED_OUTPUTS := 17 18 # Make sure our deps and generated files are built first. 19 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 20 21 LOCAL_GENERATED_SOURCES := 22 23 GYP_COPIED_SOURCE_ORIGIN_DIRS := 24 25 LOCAL_SRC_FILES := \ 26 third_party/icu/source/i18n/alphaindex.cpp \ 27 third_party/icu/source/i18n/anytrans.cpp \ 28 third_party/icu/source/i18n/astro.cpp \ 29 third_party/icu/source/i18n/basictz.cpp \ 30 third_party/icu/source/i18n/bocsu.cpp \ 31 third_party/icu/source/i18n/brktrans.cpp \ 32 third_party/icu/source/i18n/buddhcal.cpp \ 33 third_party/icu/source/i18n/calendar.cpp \ 34 third_party/icu/source/i18n/casetrn.cpp \ 35 third_party/icu/source/i18n/cecal.cpp \ 36 third_party/icu/source/i18n/chnsecal.cpp \ 37 third_party/icu/source/i18n/choicfmt.cpp \ 38 third_party/icu/source/i18n/coleitr.cpp \ 39 third_party/icu/source/i18n/coll.cpp \ 40 third_party/icu/source/i18n/compactdecimalformat.cpp \ 41 third_party/icu/source/i18n/coptccal.cpp \ 42 third_party/icu/source/i18n/cpdtrans.cpp \ 43 third_party/icu/source/i18n/csdetect.cpp \ 44 third_party/icu/source/i18n/csmatch.cpp \ 45 third_party/icu/source/i18n/csr2022.cpp \ 46 third_party/icu/source/i18n/csrecog.cpp \ 47 third_party/icu/source/i18n/csrmbcs.cpp \ 48 third_party/icu/source/i18n/csrsbcs.cpp \ 49 third_party/icu/source/i18n/csrucode.cpp \ 50 third_party/icu/source/i18n/csrutf8.cpp \ 51 third_party/icu/source/i18n/curramt.cpp \ 52 third_party/icu/source/i18n/currfmt.cpp \ 53 third_party/icu/source/i18n/currpinf.cpp \ 54 third_party/icu/source/i18n/currunit.cpp \ 55 third_party/icu/source/i18n/dangical.cpp \ 56 third_party/icu/source/i18n/datefmt.cpp \ 57 third_party/icu/source/i18n/dcfmtsym.cpp \ 58 third_party/icu/source/i18n/decContext.c \ 59 third_party/icu/source/i18n/decfmtst.cpp \ 60 third_party/icu/source/i18n/decimfmt.cpp \ 61 third_party/icu/source/i18n/decNumber.c \ 62 third_party/icu/source/i18n/digitlst.cpp \ 63 third_party/icu/source/i18n/dtfmtsym.cpp \ 64 third_party/icu/source/i18n/dtitvfmt.cpp \ 65 third_party/icu/source/i18n/dtitvinf.cpp \ 66 third_party/icu/source/i18n/dtptngen.cpp \ 67 third_party/icu/source/i18n/dtrule.cpp \ 68 third_party/icu/source/i18n/esctrn.cpp \ 69 third_party/icu/source/i18n/ethpccal.cpp \ 70 third_party/icu/source/i18n/fmtable_cnv.cpp \ 71 third_party/icu/source/i18n/fmtable.cpp \ 72 third_party/icu/source/i18n/format.cpp \ 73 third_party/icu/source/i18n/fphdlimp.cpp \ 74 third_party/icu/source/i18n/fpositer.cpp \ 75 third_party/icu/source/i18n/funcrepl.cpp \ 76 third_party/icu/source/i18n/gender.cpp \ 77 third_party/icu/source/i18n/gregocal.cpp \ 78 third_party/icu/source/i18n/gregoimp.cpp \ 79 third_party/icu/source/i18n/hebrwcal.cpp \ 80 third_party/icu/source/i18n/identifier_info.cpp \ 81 third_party/icu/source/i18n/indiancal.cpp \ 82 third_party/icu/source/i18n/inputext.cpp \ 83 third_party/icu/source/i18n/islamcal.cpp \ 84 third_party/icu/source/i18n/japancal.cpp \ 85 third_party/icu/source/i18n/locdspnm.cpp \ 86 third_party/icu/source/i18n/measfmt.cpp \ 87 third_party/icu/source/i18n/measure.cpp \ 88 third_party/icu/source/i18n/msgfmt.cpp \ 89 third_party/icu/source/i18n/name2uni.cpp \ 90 third_party/icu/source/i18n/nfrs.cpp \ 91 third_party/icu/source/i18n/nfrule.cpp \ 92 third_party/icu/source/i18n/nfsubs.cpp \ 93 third_party/icu/source/i18n/nortrans.cpp \ 94 third_party/icu/source/i18n/nultrans.cpp \ 95 third_party/icu/source/i18n/numfmt.cpp \ 96 third_party/icu/source/i18n/numsys.cpp \ 97 third_party/icu/source/i18n/olsontz.cpp \ 98 third_party/icu/source/i18n/persncal.cpp \ 99 third_party/icu/source/i18n/plurfmt.cpp \ 100 third_party/icu/source/i18n/plurrule.cpp \ 101 third_party/icu/source/i18n/quant.cpp \ 102 third_party/icu/source/i18n/rbnf.cpp \ 103 third_party/icu/source/i18n/rbt.cpp \ 104 third_party/icu/source/i18n/rbt_data.cpp \ 105 third_party/icu/source/i18n/rbt_pars.cpp \ 106 third_party/icu/source/i18n/rbt_rule.cpp \ 107 third_party/icu/source/i18n/rbt_set.cpp \ 108 third_party/icu/source/i18n/rbtz.cpp \ 109 third_party/icu/source/i18n/regexcmp.cpp \ 110 third_party/icu/source/i18n/regeximp.cpp \ 111 third_party/icu/source/i18n/regexst.cpp \ 112 third_party/icu/source/i18n/regextxt.cpp \ 113 third_party/icu/source/i18n/region.cpp \ 114 third_party/icu/source/i18n/reldtfmt.cpp \ 115 third_party/icu/source/i18n/rematch.cpp \ 116 third_party/icu/source/i18n/remtrans.cpp \ 117 third_party/icu/source/i18n/repattrn.cpp \ 118 third_party/icu/source/i18n/scriptset.cpp \ 119 third_party/icu/source/i18n/search.cpp \ 120 third_party/icu/source/i18n/selfmt.cpp \ 121 third_party/icu/source/i18n/simpletz.cpp \ 122 third_party/icu/source/i18n/smpdtfmt.cpp \ 123 third_party/icu/source/i18n/smpdtfst.cpp \ 124 third_party/icu/source/i18n/sortkey.cpp \ 125 third_party/icu/source/i18n/strmatch.cpp \ 126 third_party/icu/source/i18n/strrepl.cpp \ 127 third_party/icu/source/i18n/stsearch.cpp \ 128 third_party/icu/source/i18n/taiwncal.cpp \ 129 third_party/icu/source/i18n/tblcoll.cpp \ 130 third_party/icu/source/i18n/timezone.cpp \ 131 third_party/icu/source/i18n/titletrn.cpp \ 132 third_party/icu/source/i18n/tmunit.cpp \ 133 third_party/icu/source/i18n/tmutamt.cpp \ 134 third_party/icu/source/i18n/tmutfmt.cpp \ 135 third_party/icu/source/i18n/tolowtrn.cpp \ 136 third_party/icu/source/i18n/toupptrn.cpp \ 137 third_party/icu/source/i18n/translit.cpp \ 138 third_party/icu/source/i18n/transreg.cpp \ 139 third_party/icu/source/i18n/tridpars.cpp \ 140 third_party/icu/source/i18n/tzfmt.cpp \ 141 third_party/icu/source/i18n/tzgnames.cpp \ 142 third_party/icu/source/i18n/tznames.cpp \ 143 third_party/icu/source/i18n/tznames_impl.cpp \ 144 third_party/icu/source/i18n/tzrule.cpp \ 145 third_party/icu/source/i18n/tztrans.cpp \ 146 third_party/icu/source/i18n/ucal.cpp \ 147 third_party/icu/source/i18n/ucln_in.c \ 148 third_party/icu/source/i18n/ucol_bld.cpp \ 149 third_party/icu/source/i18n/ucol_cnt.cpp \ 150 third_party/icu/source/i18n/ucol.cpp \ 151 third_party/icu/source/i18n/ucoleitr.cpp \ 152 third_party/icu/source/i18n/ucol_elm.cpp \ 153 third_party/icu/source/i18n/ucol_res.cpp \ 154 third_party/icu/source/i18n/ucol_sit.cpp \ 155 third_party/icu/source/i18n/ucol_tok.cpp \ 156 third_party/icu/source/i18n/ucol_wgt.cpp \ 157 third_party/icu/source/i18n/ucsdet.cpp \ 158 third_party/icu/source/i18n/ucurr.cpp \ 159 third_party/icu/source/i18n/udat.cpp \ 160 third_party/icu/source/i18n/udateintervalformat.cpp \ 161 third_party/icu/source/i18n/udatpg.cpp \ 162 third_party/icu/source/i18n/ulocdata.c \ 163 third_party/icu/source/i18n/umsg.cpp \ 164 third_party/icu/source/i18n/unesctrn.cpp \ 165 third_party/icu/source/i18n/uni2name.cpp \ 166 third_party/icu/source/i18n/unum.cpp \ 167 third_party/icu/source/i18n/unumsys.cpp \ 168 third_party/icu/source/i18n/upluralrules.cpp \ 169 third_party/icu/source/i18n/uregexc.cpp \ 170 third_party/icu/source/i18n/uregex.cpp \ 171 third_party/icu/source/i18n/uregion.cpp \ 172 third_party/icu/source/i18n/usearch.cpp \ 173 third_party/icu/source/i18n/uspoof_build.cpp \ 174 third_party/icu/source/i18n/uspoof_conf.cpp \ 175 third_party/icu/source/i18n/uspoof.cpp \ 176 third_party/icu/source/i18n/uspoof_impl.cpp \ 177 third_party/icu/source/i18n/uspoof_wsconf.cpp \ 178 third_party/icu/source/i18n/utmscale.c \ 179 third_party/icu/source/i18n/utrans.cpp \ 180 third_party/icu/source/i18n/vtzone.cpp \ 181 third_party/icu/source/i18n/vzone.cpp \ 182 third_party/icu/source/i18n/windtfmt.cpp \ 183 third_party/icu/source/i18n/winnmfmt.cpp \ 184 third_party/icu/source/i18n/wintzimpl.cpp \ 185 third_party/icu/source/i18n/zonemeta.cpp \ 186 third_party/icu/source/i18n/zrule.cpp \ 187 third_party/icu/source/i18n/ztrans.cpp 188 189 190 # Flags passed to both C and C++ files. 191 MY_CFLAGS_Debug := \ 192 -fstack-protector \ 193 --param=ssp-buffer-size=4 \ 194 -pthread \ 195 -fno-strict-aliasing \ 196 -Wno-unused-parameter \ 197 -Wno-missing-field-initializers \ 198 -fvisibility=hidden \ 199 -pipe \ 200 -fPIC \ 201 -Wno-deprecated-declarations \ 202 -fno-builtin-sin \ 203 -Wno-format \ 204 -m32 \ 205 -Wheader-hygiene \ 206 -Wno-char-subscripts \ 207 -Wno-unneeded-internal-declaration \ 208 -Wno-covered-switch-default \ 209 -Wstring-conversion \ 210 -Wno-c++11-narrowing \ 211 -Wno-deprecated-register \ 212 -Wno-unused-local-typedef \ 213 -Wno-deprecated-declarations \ 214 -Wno-logical-op-parentheses \ 215 -Wno-tautological-compare \ 216 -Wno-return-type-c-linkage \ 217 -Os \ 218 -g \ 219 -gdwarf-4 \ 220 -fdata-sections \ 221 -ffunction-sections \ 222 -fomit-frame-pointer \ 223 -funwind-tables 224 225 MY_DEFS_Debug := \ 226 '-DU_USING_ICU_NAMESPACE=0' \ 227 '-DHAVE_DLOPEN=0' \ 228 '-DV8_DEPRECATION_WARNINGS' \ 229 '-D_FILE_OFFSET_BITS=64' \ 230 '-DNO_TCMALLOC' \ 231 '-DDISABLE_NACL' \ 232 '-DU_STATIC_IMPLEMENTATION' \ 233 '-DCHROMIUM_BUILD' \ 234 '-DUSE_LIBJPEG_TURBO=1' \ 235 '-DENABLE_WEBRTC=1' \ 236 '-DUSE_PROPRIETARY_CODECS' \ 237 '-DENABLE_BROWSER_CDMS' \ 238 '-DENABLE_CONFIGURATION_POLICY' \ 239 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 240 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 241 '-DENABLE_EGLIMAGE=1' \ 242 '-DCLD_VERSION=1' \ 243 '-DENABLE_PRINTING=1' \ 244 '-DENABLE_MANAGED_USERS=1' \ 245 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 246 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 247 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 248 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 249 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 250 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 251 '-DVIDEO_HOLE=1' \ 252 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 253 '-DU_I18N_IMPLEMENTATION' \ 254 '-DU_ENABLE_DYLOAD=0' \ 255 '-DUSE_OPENSSL=1' \ 256 '-DUSE_OPENSSL_CERTS=1' \ 257 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 258 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 259 '-D_DEBUG' 260 261 262 # Include paths placed before CFLAGS/CPPFLAGS 263 LOCAL_C_INCLUDES_Debug := \ 264 $(LOCAL_PATH)/third_party/icu/source/common \ 265 $(LOCAL_PATH)/third_party/icu/source/i18n \ 266 $(gyp_shared_intermediate_dir) 267 268 269 # Flags passed to only C++ (and not C) files. 270 LOCAL_CPPFLAGS_Debug := \ 271 -fno-exceptions \ 272 -fno-rtti \ 273 -fno-threadsafe-statics \ 274 -fvisibility-inlines-hidden \ 275 -frtti \ 276 -Wno-deprecated \ 277 -std=gnu++11 278 279 280 # Flags passed to both C and C++ files. 281 MY_CFLAGS_Release := \ 282 -fstack-protector \ 283 --param=ssp-buffer-size=4 \ 284 -pthread \ 285 -fno-strict-aliasing \ 286 -Wno-unused-parameter \ 287 -Wno-missing-field-initializers \ 288 -fvisibility=hidden \ 289 -pipe \ 290 -fPIC \ 291 -Wno-deprecated-declarations \ 292 -fno-builtin-sin \ 293 -Wno-format \ 294 -m32 \ 295 -Wheader-hygiene \ 296 -Wno-char-subscripts \ 297 -Wno-unneeded-internal-declaration \ 298 -Wno-covered-switch-default \ 299 -Wstring-conversion \ 300 -Wno-c++11-narrowing \ 301 -Wno-deprecated-register \ 302 -Wno-unused-local-typedef \ 303 -Wno-deprecated-declarations \ 304 -Wno-logical-op-parentheses \ 305 -Wno-tautological-compare \ 306 -Wno-return-type-c-linkage \ 307 -Os \ 308 -fno-ident \ 309 -fdata-sections \ 310 -ffunction-sections \ 311 -fomit-frame-pointer \ 312 -funwind-tables 313 314 MY_DEFS_Release := \ 315 '-DU_USING_ICU_NAMESPACE=0' \ 316 '-DHAVE_DLOPEN=0' \ 317 '-DV8_DEPRECATION_WARNINGS' \ 318 '-D_FILE_OFFSET_BITS=64' \ 319 '-DNO_TCMALLOC' \ 320 '-DDISABLE_NACL' \ 321 '-DU_STATIC_IMPLEMENTATION' \ 322 '-DCHROMIUM_BUILD' \ 323 '-DUSE_LIBJPEG_TURBO=1' \ 324 '-DENABLE_WEBRTC=1' \ 325 '-DUSE_PROPRIETARY_CODECS' \ 326 '-DENABLE_BROWSER_CDMS' \ 327 '-DENABLE_CONFIGURATION_POLICY' \ 328 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 329 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 330 '-DENABLE_EGLIMAGE=1' \ 331 '-DCLD_VERSION=1' \ 332 '-DENABLE_PRINTING=1' \ 333 '-DENABLE_MANAGED_USERS=1' \ 334 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 335 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 336 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 337 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 338 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 339 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 340 '-DVIDEO_HOLE=1' \ 341 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 342 '-DU_I18N_IMPLEMENTATION' \ 343 '-DU_ENABLE_DYLOAD=0' \ 344 '-DUSE_OPENSSL=1' \ 345 '-DUSE_OPENSSL_CERTS=1' \ 346 '-DNDEBUG' \ 347 '-DNVALGRIND' \ 348 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' 349 350 351 # Include paths placed before CFLAGS/CPPFLAGS 352 LOCAL_C_INCLUDES_Release := \ 353 $(LOCAL_PATH)/third_party/icu/source/common \ 354 $(LOCAL_PATH)/third_party/icu/source/i18n \ 355 $(gyp_shared_intermediate_dir) 356 357 358 # Flags passed to only C++ (and not C) files. 359 LOCAL_CPPFLAGS_Release := \ 360 -fno-exceptions \ 361 -fno-rtti \ 362 -fno-threadsafe-statics \ 363 -fvisibility-inlines-hidden \ 364 -frtti \ 365 -Wno-deprecated \ 366 -std=gnu++11 367 368 369 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 370 # Undefine ANDROID for host modules 371 LOCAL_CFLAGS += -UANDROID 372 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 373 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 374 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 375 ### Rules for final target. 376 ### Set directly by aosp_build_settings. 377 LOCAL_CLANG := true 378 379 # Add target alias to "gyp_all_modules" target. 380 .PHONY: gyp_all_modules 381 gyp_all_modules: third_party_icu_icui18n_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp 382 383 # Alias gyp target name. 384 .PHONY: icui18n 385 icui18n: third_party_icu_icui18n_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp 386 387 include $(BUILD_HOST_STATIC_LIBRARY) 388