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_icui18n_$(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/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/bms.cpp \ 31 third_party/icu/source/i18n/bmsearch.cpp \ 32 third_party/icu/source/i18n/bocsu.c \ 33 third_party/icu/source/i18n/brktrans.cpp \ 34 third_party/icu/source/i18n/buddhcal.cpp \ 35 third_party/icu/source/i18n/calendar.cpp \ 36 third_party/icu/source/i18n/casetrn.cpp \ 37 third_party/icu/source/i18n/cecal.cpp \ 38 third_party/icu/source/i18n/chnsecal.cpp \ 39 third_party/icu/source/i18n/choicfmt.cpp \ 40 third_party/icu/source/i18n/coleitr.cpp \ 41 third_party/icu/source/i18n/coll.cpp \ 42 third_party/icu/source/i18n/colldata.cpp \ 43 third_party/icu/source/i18n/coptccal.cpp \ 44 third_party/icu/source/i18n/cpdtrans.cpp \ 45 third_party/icu/source/i18n/csdetect.cpp \ 46 third_party/icu/source/i18n/csmatch.cpp \ 47 third_party/icu/source/i18n/csr2022.cpp \ 48 third_party/icu/source/i18n/csrecog.cpp \ 49 third_party/icu/source/i18n/csrmbcs.cpp \ 50 third_party/icu/source/i18n/csrsbcs.cpp \ 51 third_party/icu/source/i18n/csrucode.cpp \ 52 third_party/icu/source/i18n/csrutf8.cpp \ 53 third_party/icu/source/i18n/curramt.cpp \ 54 third_party/icu/source/i18n/currfmt.cpp \ 55 third_party/icu/source/i18n/currpinf.cpp \ 56 third_party/icu/source/i18n/currunit.cpp \ 57 third_party/icu/source/i18n/datefmt.cpp \ 58 third_party/icu/source/i18n/dcfmtsym.cpp \ 59 third_party/icu/source/i18n/decContext.c \ 60 third_party/icu/source/i18n/decNumber.c \ 61 third_party/icu/source/i18n/decimfmt.cpp \ 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.cpp \ 71 third_party/icu/source/i18n/fmtable_cnv.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/gregocal.cpp \ 77 third_party/icu/source/i18n/gregoimp.cpp \ 78 third_party/icu/source/i18n/hebrwcal.cpp \ 79 third_party/icu/source/i18n/indiancal.cpp \ 80 third_party/icu/source/i18n/inputext.cpp \ 81 third_party/icu/source/i18n/islamcal.cpp \ 82 third_party/icu/source/i18n/japancal.cpp \ 83 third_party/icu/source/i18n/locdspnm.cpp \ 84 third_party/icu/source/i18n/measfmt.cpp \ 85 third_party/icu/source/i18n/measure.cpp \ 86 third_party/icu/source/i18n/msgfmt.cpp \ 87 third_party/icu/source/i18n/name2uni.cpp \ 88 third_party/icu/source/i18n/nfrs.cpp \ 89 third_party/icu/source/i18n/nfrule.cpp \ 90 third_party/icu/source/i18n/nfsubs.cpp \ 91 third_party/icu/source/i18n/nortrans.cpp \ 92 third_party/icu/source/i18n/nultrans.cpp \ 93 third_party/icu/source/i18n/numfmt.cpp \ 94 third_party/icu/source/i18n/numsys.cpp \ 95 third_party/icu/source/i18n/olsontz.cpp \ 96 third_party/icu/source/i18n/persncal.cpp \ 97 third_party/icu/source/i18n/plurfmt.cpp \ 98 third_party/icu/source/i18n/plurrule.cpp \ 99 third_party/icu/source/i18n/quant.cpp \ 100 third_party/icu/source/i18n/rbnf.cpp \ 101 third_party/icu/source/i18n/rbt.cpp \ 102 third_party/icu/source/i18n/rbt_data.cpp \ 103 third_party/icu/source/i18n/rbt_pars.cpp \ 104 third_party/icu/source/i18n/rbt_rule.cpp \ 105 third_party/icu/source/i18n/rbt_set.cpp \ 106 third_party/icu/source/i18n/rbtz.cpp \ 107 third_party/icu/source/i18n/regexcmp.cpp \ 108 third_party/icu/source/i18n/regexst.cpp \ 109 third_party/icu/source/i18n/regextxt.cpp \ 110 third_party/icu/source/i18n/reldtfmt.cpp \ 111 third_party/icu/source/i18n/rematch.cpp \ 112 third_party/icu/source/i18n/remtrans.cpp \ 113 third_party/icu/source/i18n/repattrn.cpp \ 114 third_party/icu/source/i18n/search.cpp \ 115 third_party/icu/source/i18n/selfmt.cpp \ 116 third_party/icu/source/i18n/simpletz.cpp \ 117 third_party/icu/source/i18n/smpdtfmt.cpp \ 118 third_party/icu/source/i18n/sortkey.cpp \ 119 third_party/icu/source/i18n/strmatch.cpp \ 120 third_party/icu/source/i18n/strrepl.cpp \ 121 third_party/icu/source/i18n/stsearch.cpp \ 122 third_party/icu/source/i18n/taiwncal.cpp \ 123 third_party/icu/source/i18n/tblcoll.cpp \ 124 third_party/icu/source/i18n/timezone.cpp \ 125 third_party/icu/source/i18n/titletrn.cpp \ 126 third_party/icu/source/i18n/tmunit.cpp \ 127 third_party/icu/source/i18n/tmutamt.cpp \ 128 third_party/icu/source/i18n/tmutfmt.cpp \ 129 third_party/icu/source/i18n/tolowtrn.cpp \ 130 third_party/icu/source/i18n/toupptrn.cpp \ 131 third_party/icu/source/i18n/translit.cpp \ 132 third_party/icu/source/i18n/transreg.cpp \ 133 third_party/icu/source/i18n/tridpars.cpp \ 134 third_party/icu/source/i18n/tzrule.cpp \ 135 third_party/icu/source/i18n/tztrans.cpp \ 136 third_party/icu/source/i18n/ucal.cpp \ 137 third_party/icu/source/i18n/ucln_in.c \ 138 third_party/icu/source/i18n/ucol.cpp \ 139 third_party/icu/source/i18n/ucol_bld.cpp \ 140 third_party/icu/source/i18n/ucol_cnt.cpp \ 141 third_party/icu/source/i18n/ucol_elm.cpp \ 142 third_party/icu/source/i18n/ucol_res.cpp \ 143 third_party/icu/source/i18n/ucol_sit.cpp \ 144 third_party/icu/source/i18n/ucol_tok.cpp \ 145 third_party/icu/source/i18n/ucol_wgt.cpp \ 146 third_party/icu/source/i18n/ucoleitr.cpp \ 147 third_party/icu/source/i18n/ucsdet.cpp \ 148 third_party/icu/source/i18n/ucurr.cpp \ 149 third_party/icu/source/i18n/udat.cpp \ 150 third_party/icu/source/i18n/udatpg.cpp \ 151 third_party/icu/source/i18n/ulocdata.c \ 152 third_party/icu/source/i18n/umsg.cpp \ 153 third_party/icu/source/i18n/unesctrn.cpp \ 154 third_party/icu/source/i18n/uni2name.cpp \ 155 third_party/icu/source/i18n/unum.cpp \ 156 third_party/icu/source/i18n/uregex.cpp \ 157 third_party/icu/source/i18n/uregexc.cpp \ 158 third_party/icu/source/i18n/usearch.cpp \ 159 third_party/icu/source/i18n/uspoof.cpp \ 160 third_party/icu/source/i18n/uspoof_build.cpp \ 161 third_party/icu/source/i18n/uspoof_conf.cpp \ 162 third_party/icu/source/i18n/uspoof_impl.cpp \ 163 third_party/icu/source/i18n/uspoof_wsconf.cpp \ 164 third_party/icu/source/i18n/utmscale.c \ 165 third_party/icu/source/i18n/utrans.cpp \ 166 third_party/icu/source/i18n/vtzone.cpp \ 167 third_party/icu/source/i18n/vzone.cpp \ 168 third_party/icu/source/i18n/windtfmt.cpp \ 169 third_party/icu/source/i18n/winnmfmt.cpp \ 170 third_party/icu/source/i18n/wintzimpl.cpp \ 171 third_party/icu/source/i18n/zonemeta.cpp \ 172 third_party/icu/source/i18n/zrule.cpp \ 173 third_party/icu/source/i18n/zstrfmt.cpp \ 174 third_party/icu/source/i18n/ztrans.cpp 175 176 177# Flags passed to both C and C++ files. 178MY_CFLAGS_Debug := \ 179 -fstack-protector \ 180 --param=ssp-buffer-size=4 \ 181 -pthread \ 182 -fno-exceptions \ 183 -fno-strict-aliasing \ 184 -Wno-unused-parameter \ 185 -Wno-missing-field-initializers \ 186 -fvisibility=hidden \ 187 -pipe \ 188 -fPIC \ 189 -Wno-unused-local-typedefs \ 190 -Wno-deprecated-declarations \ 191 -fno-builtin-sin \ 192 -Wno-format \ 193 -m64 \ 194 -Os \ 195 -g \ 196 -fdata-sections \ 197 -ffunction-sections \ 198 -funwind-tables 199 200MY_DEFS_Debug := \ 201 '-DU_USING_ICU_NAMESPACE=0' \ 202 '-DV8_DEPRECATION_WARNINGS' \ 203 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 204 '-D_FILE_OFFSET_BITS=64' \ 205 '-DNO_TCMALLOC' \ 206 '-DDISABLE_NACL' \ 207 '-DU_STATIC_IMPLEMENTATION' \ 208 '-DCHROMIUM_BUILD' \ 209 '-DUSE_LIBJPEG_TURBO=1' \ 210 '-DENABLE_WEBRTC=1' \ 211 '-DUSE_PROPRIETARY_CODECS' \ 212 '-DENABLE_BROWSER_CDMS' \ 213 '-DENABLE_CONFIGURATION_POLICY' \ 214 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 215 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 216 '-DENABLE_EGLIMAGE=1' \ 217 '-DCLD_VERSION=1' \ 218 '-DENABLE_PRINTING=1' \ 219 '-DENABLE_MANAGED_USERS=1' \ 220 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 221 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 222 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 223 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 224 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 225 '-DVIDEO_HOLE=1' \ 226 '-DU_I18N_IMPLEMENTATION' \ 227 '-DUSE_OPENSSL=1' \ 228 '-DUSE_OPENSSL_CERTS=1' \ 229 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 230 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 231 '-D_DEBUG' 232 233 234# Include paths placed before CFLAGS/CPPFLAGS 235LOCAL_C_INCLUDES_Debug := \ 236 $(LOCAL_PATH)/third_party/icu/source/common \ 237 $(LOCAL_PATH)/third_party/icu/source/i18n \ 238 $(gyp_shared_intermediate_dir) 239 240 241# Flags passed to only C++ (and not C) files. 242LOCAL_CPPFLAGS_Debug := \ 243 -fno-rtti \ 244 -fno-threadsafe-statics \ 245 -fvisibility-inlines-hidden \ 246 -frtti \ 247 -Wno-deprecated 248 249 250LOCAL_FDO_SUPPORT_Debug := false 251 252# Flags passed to both C and C++ files. 253MY_CFLAGS_Release := \ 254 -fstack-protector \ 255 --param=ssp-buffer-size=4 \ 256 -pthread \ 257 -fno-exceptions \ 258 -fno-strict-aliasing \ 259 -Wno-unused-parameter \ 260 -Wno-missing-field-initializers \ 261 -fvisibility=hidden \ 262 -pipe \ 263 -fPIC \ 264 -Wno-unused-local-typedefs \ 265 -Wno-deprecated-declarations \ 266 -fno-builtin-sin \ 267 -Wno-format \ 268 -m64 \ 269 -Os \ 270 -fno-ident \ 271 -fdata-sections \ 272 -ffunction-sections \ 273 -funwind-tables 274 275MY_DEFS_Release := \ 276 '-DU_USING_ICU_NAMESPACE=0' \ 277 '-DV8_DEPRECATION_WARNINGS' \ 278 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 279 '-D_FILE_OFFSET_BITS=64' \ 280 '-DNO_TCMALLOC' \ 281 '-DDISABLE_NACL' \ 282 '-DU_STATIC_IMPLEMENTATION' \ 283 '-DCHROMIUM_BUILD' \ 284 '-DUSE_LIBJPEG_TURBO=1' \ 285 '-DENABLE_WEBRTC=1' \ 286 '-DUSE_PROPRIETARY_CODECS' \ 287 '-DENABLE_BROWSER_CDMS' \ 288 '-DENABLE_CONFIGURATION_POLICY' \ 289 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 290 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 291 '-DENABLE_EGLIMAGE=1' \ 292 '-DCLD_VERSION=1' \ 293 '-DENABLE_PRINTING=1' \ 294 '-DENABLE_MANAGED_USERS=1' \ 295 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 296 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 297 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 298 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 299 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 300 '-DVIDEO_HOLE=1' \ 301 '-DU_I18N_IMPLEMENTATION' \ 302 '-DUSE_OPENSSL=1' \ 303 '-DUSE_OPENSSL_CERTS=1' \ 304 '-DNDEBUG' \ 305 '-DNVALGRIND' \ 306 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' 307 308 309# Include paths placed before CFLAGS/CPPFLAGS 310LOCAL_C_INCLUDES_Release := \ 311 $(LOCAL_PATH)/third_party/icu/source/common \ 312 $(LOCAL_PATH)/third_party/icu/source/i18n \ 313 $(gyp_shared_intermediate_dir) 314 315 316# Flags passed to only C++ (and not C) files. 317LOCAL_CPPFLAGS_Release := \ 318 -fno-rtti \ 319 -fno-threadsafe-statics \ 320 -fvisibility-inlines-hidden \ 321 -frtti \ 322 -Wno-deprecated 323 324 325LOCAL_FDO_SUPPORT_Release := false 326 327LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 328LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 329# Undefine ANDROID for host modules 330LOCAL_CFLAGS += -UANDROID 331LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 332LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 333LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 334### Rules for final target. 335 336LOCAL_LDFLAGS_Debug := \ 337 -Wl,-z,now \ 338 -Wl,-z,relro \ 339 -pthread \ 340 -fPIC \ 341 -m64 342 343 344LOCAL_LDFLAGS_Release := \ 345 -Wl,-z,now \ 346 -Wl,-z,relro \ 347 -pthread \ 348 -fPIC \ 349 -m64 350 351 352LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 353 354LOCAL_STATIC_LIBRARIES := 355 356# Enable grouping to fix circular references 357LOCAL_GROUP_STATIC_LIBRARIES := true 358 359LOCAL_SHARED_LIBRARIES := 360 361# Add target alias to "gyp_all_modules" target. 362.PHONY: gyp_all_modules 363gyp_all_modules: third_party_icu_icui18n_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp 364 365# Alias gyp target name. 366.PHONY: icui18n 367icui18n: third_party_icu_icui18n_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp 368 369include $(BUILD_HOST_STATIC_LIBRARY) 370