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