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 -m64 \ 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 -funwind-tables 223 224 MY_DEFS_Debug := \ 225 '-DU_USING_ICU_NAMESPACE=0' \ 226 '-DHAVE_DLOPEN=0' \ 227 '-DV8_DEPRECATION_WARNINGS' \ 228 '-D_FILE_OFFSET_BITS=64' \ 229 '-DNO_TCMALLOC' \ 230 '-DDISABLE_NACL' \ 231 '-DU_STATIC_IMPLEMENTATION' \ 232 '-DCHROMIUM_BUILD' \ 233 '-DUSE_LIBJPEG_TURBO=1' \ 234 '-DENABLE_WEBRTC=1' \ 235 '-DUSE_PROPRIETARY_CODECS' \ 236 '-DENABLE_BROWSER_CDMS' \ 237 '-DENABLE_CONFIGURATION_POLICY' \ 238 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 239 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 240 '-DENABLE_EGLIMAGE=1' \ 241 '-DCLD_VERSION=1' \ 242 '-DENABLE_PRINTING=1' \ 243 '-DENABLE_MANAGED_USERS=1' \ 244 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 245 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 246 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 247 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 248 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 249 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 250 '-DVIDEO_HOLE=1' \ 251 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 252 '-DU_I18N_IMPLEMENTATION' \ 253 '-DU_ENABLE_DYLOAD=0' \ 254 '-DUSE_OPENSSL=1' \ 255 '-DUSE_OPENSSL_CERTS=1' \ 256 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 257 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 258 '-D_DEBUG' 259 260 261 # Include paths placed before CFLAGS/CPPFLAGS 262 LOCAL_C_INCLUDES_Debug := \ 263 $(LOCAL_PATH)/third_party/icu/source/common \ 264 $(LOCAL_PATH)/third_party/icu/source/i18n \ 265 $(gyp_shared_intermediate_dir) 266 267 268 # Flags passed to only C++ (and not C) files. 269 LOCAL_CPPFLAGS_Debug := \ 270 -fno-exceptions \ 271 -fno-rtti \ 272 -fno-threadsafe-statics \ 273 -fvisibility-inlines-hidden \ 274 -frtti \ 275 -Wno-deprecated \ 276 -std=gnu++11 277 278 279 # Flags passed to both C and C++ files. 280 MY_CFLAGS_Release := \ 281 -fstack-protector \ 282 --param=ssp-buffer-size=4 \ 283 -pthread \ 284 -fno-strict-aliasing \ 285 -Wno-unused-parameter \ 286 -Wno-missing-field-initializers \ 287 -fvisibility=hidden \ 288 -pipe \ 289 -fPIC \ 290 -Wno-deprecated-declarations \ 291 -fno-builtin-sin \ 292 -Wno-format \ 293 -m64 \ 294 -Wheader-hygiene \ 295 -Wno-char-subscripts \ 296 -Wno-unneeded-internal-declaration \ 297 -Wno-covered-switch-default \ 298 -Wstring-conversion \ 299 -Wno-c++11-narrowing \ 300 -Wno-deprecated-register \ 301 -Wno-unused-local-typedef \ 302 -Wno-deprecated-declarations \ 303 -Wno-logical-op-parentheses \ 304 -Wno-tautological-compare \ 305 -Wno-return-type-c-linkage \ 306 -Os \ 307 -fno-ident \ 308 -fdata-sections \ 309 -ffunction-sections \ 310 -funwind-tables 311 312 MY_DEFS_Release := \ 313 '-DU_USING_ICU_NAMESPACE=0' \ 314 '-DHAVE_DLOPEN=0' \ 315 '-DV8_DEPRECATION_WARNINGS' \ 316 '-D_FILE_OFFSET_BITS=64' \ 317 '-DNO_TCMALLOC' \ 318 '-DDISABLE_NACL' \ 319 '-DU_STATIC_IMPLEMENTATION' \ 320 '-DCHROMIUM_BUILD' \ 321 '-DUSE_LIBJPEG_TURBO=1' \ 322 '-DENABLE_WEBRTC=1' \ 323 '-DUSE_PROPRIETARY_CODECS' \ 324 '-DENABLE_BROWSER_CDMS' \ 325 '-DENABLE_CONFIGURATION_POLICY' \ 326 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 327 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 328 '-DENABLE_EGLIMAGE=1' \ 329 '-DCLD_VERSION=1' \ 330 '-DENABLE_PRINTING=1' \ 331 '-DENABLE_MANAGED_USERS=1' \ 332 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 333 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 334 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 335 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 336 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 337 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 338 '-DVIDEO_HOLE=1' \ 339 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 340 '-DU_I18N_IMPLEMENTATION' \ 341 '-DU_ENABLE_DYLOAD=0' \ 342 '-DUSE_OPENSSL=1' \ 343 '-DUSE_OPENSSL_CERTS=1' \ 344 '-DNDEBUG' \ 345 '-DNVALGRIND' \ 346 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' 347 348 349 # Include paths placed before CFLAGS/CPPFLAGS 350 LOCAL_C_INCLUDES_Release := \ 351 $(LOCAL_PATH)/third_party/icu/source/common \ 352 $(LOCAL_PATH)/third_party/icu/source/i18n \ 353 $(gyp_shared_intermediate_dir) 354 355 356 # Flags passed to only C++ (and not C) files. 357 LOCAL_CPPFLAGS_Release := \ 358 -fno-exceptions \ 359 -fno-rtti \ 360 -fno-threadsafe-statics \ 361 -fvisibility-inlines-hidden \ 362 -frtti \ 363 -Wno-deprecated \ 364 -std=gnu++11 365 366 367 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 368 # Undefine ANDROID for host modules 369 LOCAL_CFLAGS += -UANDROID 370 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 371 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 372 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 373 ### Rules for final target. 374 ### Set directly by aosp_build_settings. 375 LOCAL_CLANG := true 376 377 # Add target alias to "gyp_all_modules" target. 378 .PHONY: gyp_all_modules 379 gyp_all_modules: third_party_icu_icui18n_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp 380 381 # Alias gyp target name. 382 .PHONY: icui18n 383 icui18n: third_party_icu_icui18n_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp 384 385 include $(BUILD_HOST_STATIC_LIBRARY) 386