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_host_gyp
      7 LOCAL_MODULE_SUFFIX := .a
      8 LOCAL_MODULE_TAGS := optional
      9 LOCAL_IS_HOST_MODULE := true
     10 gyp_intermediate_dir := $(call local-intermediates-dir)
     11 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared)
     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/anytrans.cpp \
     27 	third_party/icu/source/i18n/astro.cpp \
     28 	third_party/icu/source/i18n/basictz.cpp \
     29 	third_party/icu/source/i18n/bms.cpp \
     30 	third_party/icu/source/i18n/bmsearch.cpp \
     31 	third_party/icu/source/i18n/bocsu.c \
     32 	third_party/icu/source/i18n/brktrans.cpp \
     33 	third_party/icu/source/i18n/buddhcal.cpp \
     34 	third_party/icu/source/i18n/calendar.cpp \
     35 	third_party/icu/source/i18n/casetrn.cpp \
     36 	third_party/icu/source/i18n/cecal.cpp \
     37 	third_party/icu/source/i18n/chnsecal.cpp \
     38 	third_party/icu/source/i18n/choicfmt.cpp \
     39 	third_party/icu/source/i18n/coleitr.cpp \
     40 	third_party/icu/source/i18n/coll.cpp \
     41 	third_party/icu/source/i18n/colldata.cpp \
     42 	third_party/icu/source/i18n/coptccal.cpp \
     43 	third_party/icu/source/i18n/cpdtrans.cpp \
     44 	third_party/icu/source/i18n/csdetect.cpp \
     45 	third_party/icu/source/i18n/csmatch.cpp \
     46 	third_party/icu/source/i18n/csr2022.cpp \
     47 	third_party/icu/source/i18n/csrecog.cpp \
     48 	third_party/icu/source/i18n/csrmbcs.cpp \
     49 	third_party/icu/source/i18n/csrsbcs.cpp \
     50 	third_party/icu/source/i18n/csrucode.cpp \
     51 	third_party/icu/source/i18n/csrutf8.cpp \
     52 	third_party/icu/source/i18n/curramt.cpp \
     53 	third_party/icu/source/i18n/currfmt.cpp \
     54 	third_party/icu/source/i18n/currpinf.cpp \
     55 	third_party/icu/source/i18n/currunit.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/decNumber.c \
     60 	third_party/icu/source/i18n/decimfmt.cpp \
     61 	third_party/icu/source/i18n/digitlst.cpp \
     62 	third_party/icu/source/i18n/dtfmtsym.cpp \
     63 	third_party/icu/source/i18n/dtitvfmt.cpp \
     64 	third_party/icu/source/i18n/dtitvinf.cpp \
     65 	third_party/icu/source/i18n/dtptngen.cpp \
     66 	third_party/icu/source/i18n/dtrule.cpp \
     67 	third_party/icu/source/i18n/esctrn.cpp \
     68 	third_party/icu/source/i18n/ethpccal.cpp \
     69 	third_party/icu/source/i18n/fmtable.cpp \
     70 	third_party/icu/source/i18n/fmtable_cnv.cpp \
     71 	third_party/icu/source/i18n/format.cpp \
     72 	third_party/icu/source/i18n/fphdlimp.cpp \
     73 	third_party/icu/source/i18n/fpositer.cpp \
     74 	third_party/icu/source/i18n/funcrepl.cpp \
     75 	third_party/icu/source/i18n/gregocal.cpp \
     76 	third_party/icu/source/i18n/gregoimp.cpp \
     77 	third_party/icu/source/i18n/hebrwcal.cpp \
     78 	third_party/icu/source/i18n/indiancal.cpp \
     79 	third_party/icu/source/i18n/inputext.cpp \
     80 	third_party/icu/source/i18n/islamcal.cpp \
     81 	third_party/icu/source/i18n/japancal.cpp \
     82 	third_party/icu/source/i18n/locdspnm.cpp \
     83 	third_party/icu/source/i18n/measfmt.cpp \
     84 	third_party/icu/source/i18n/measure.cpp \
     85 	third_party/icu/source/i18n/msgfmt.cpp \
     86 	third_party/icu/source/i18n/name2uni.cpp \
     87 	third_party/icu/source/i18n/nfrs.cpp \
     88 	third_party/icu/source/i18n/nfrule.cpp \
     89 	third_party/icu/source/i18n/nfsubs.cpp \
     90 	third_party/icu/source/i18n/nortrans.cpp \
     91 	third_party/icu/source/i18n/nultrans.cpp \
     92 	third_party/icu/source/i18n/numfmt.cpp \
     93 	third_party/icu/source/i18n/numsys.cpp \
     94 	third_party/icu/source/i18n/olsontz.cpp \
     95 	third_party/icu/source/i18n/persncal.cpp \
     96 	third_party/icu/source/i18n/plurfmt.cpp \
     97 	third_party/icu/source/i18n/plurrule.cpp \
     98 	third_party/icu/source/i18n/quant.cpp \
     99 	third_party/icu/source/i18n/rbnf.cpp \
    100 	third_party/icu/source/i18n/rbt.cpp \
    101 	third_party/icu/source/i18n/rbt_data.cpp \
    102 	third_party/icu/source/i18n/rbt_pars.cpp \
    103 	third_party/icu/source/i18n/rbt_rule.cpp \
    104 	third_party/icu/source/i18n/rbt_set.cpp \
    105 	third_party/icu/source/i18n/rbtz.cpp \
    106 	third_party/icu/source/i18n/regexcmp.cpp \
    107 	third_party/icu/source/i18n/regexst.cpp \
    108 	third_party/icu/source/i18n/regextxt.cpp \
    109 	third_party/icu/source/i18n/reldtfmt.cpp \
    110 	third_party/icu/source/i18n/rematch.cpp \
    111 	third_party/icu/source/i18n/remtrans.cpp \
    112 	third_party/icu/source/i18n/repattrn.cpp \
    113 	third_party/icu/source/i18n/search.cpp \
    114 	third_party/icu/source/i18n/selfmt.cpp \
    115 	third_party/icu/source/i18n/simpletz.cpp \
    116 	third_party/icu/source/i18n/smpdtfmt.cpp \
    117 	third_party/icu/source/i18n/sortkey.cpp \
    118 	third_party/icu/source/i18n/strmatch.cpp \
    119 	third_party/icu/source/i18n/strrepl.cpp \
    120 	third_party/icu/source/i18n/stsearch.cpp \
    121 	third_party/icu/source/i18n/taiwncal.cpp \
    122 	third_party/icu/source/i18n/tblcoll.cpp \
    123 	third_party/icu/source/i18n/timezone.cpp \
    124 	third_party/icu/source/i18n/titletrn.cpp \
    125 	third_party/icu/source/i18n/tmunit.cpp \
    126 	third_party/icu/source/i18n/tmutamt.cpp \
    127 	third_party/icu/source/i18n/tmutfmt.cpp \
    128 	third_party/icu/source/i18n/tolowtrn.cpp \
    129 	third_party/icu/source/i18n/toupptrn.cpp \
    130 	third_party/icu/source/i18n/translit.cpp \
    131 	third_party/icu/source/i18n/transreg.cpp \
    132 	third_party/icu/source/i18n/tridpars.cpp \
    133 	third_party/icu/source/i18n/tzrule.cpp \
    134 	third_party/icu/source/i18n/tztrans.cpp \
    135 	third_party/icu/source/i18n/ucal.cpp \
    136 	third_party/icu/source/i18n/ucln_in.c \
    137 	third_party/icu/source/i18n/ucol.cpp \
    138 	third_party/icu/source/i18n/ucol_bld.cpp \
    139 	third_party/icu/source/i18n/ucol_cnt.cpp \
    140 	third_party/icu/source/i18n/ucol_elm.cpp \
    141 	third_party/icu/source/i18n/ucol_res.cpp \
    142 	third_party/icu/source/i18n/ucol_sit.cpp \
    143 	third_party/icu/source/i18n/ucol_tok.cpp \
    144 	third_party/icu/source/i18n/ucol_wgt.cpp \
    145 	third_party/icu/source/i18n/ucoleitr.cpp \
    146 	third_party/icu/source/i18n/ucsdet.cpp \
    147 	third_party/icu/source/i18n/ucurr.cpp \
    148 	third_party/icu/source/i18n/udat.cpp \
    149 	third_party/icu/source/i18n/udatpg.cpp \
    150 	third_party/icu/source/i18n/ulocdata.c \
    151 	third_party/icu/source/i18n/umsg.cpp \
    152 	third_party/icu/source/i18n/unesctrn.cpp \
    153 	third_party/icu/source/i18n/uni2name.cpp \
    154 	third_party/icu/source/i18n/unum.cpp \
    155 	third_party/icu/source/i18n/uregex.cpp \
    156 	third_party/icu/source/i18n/uregexc.cpp \
    157 	third_party/icu/source/i18n/usearch.cpp \
    158 	third_party/icu/source/i18n/uspoof.cpp \
    159 	third_party/icu/source/i18n/uspoof_build.cpp \
    160 	third_party/icu/source/i18n/uspoof_conf.cpp \
    161 	third_party/icu/source/i18n/uspoof_impl.cpp \
    162 	third_party/icu/source/i18n/uspoof_wsconf.cpp \
    163 	third_party/icu/source/i18n/utmscale.c \
    164 	third_party/icu/source/i18n/utrans.cpp \
    165 	third_party/icu/source/i18n/vtzone.cpp \
    166 	third_party/icu/source/i18n/vzone.cpp \
    167 	third_party/icu/source/i18n/windtfmt.cpp \
    168 	third_party/icu/source/i18n/winnmfmt.cpp \
    169 	third_party/icu/source/i18n/wintzimpl.cpp \
    170 	third_party/icu/source/i18n/zonemeta.cpp \
    171 	third_party/icu/source/i18n/zrule.cpp \
    172 	third_party/icu/source/i18n/zstrfmt.cpp \
    173 	third_party/icu/source/i18n/ztrans.cpp
    174 
    175 
    176 # Flags passed to both C and C++ files.
    177 MY_CFLAGS_Debug := \
    178 	-fstack-protector \
    179 	--param=ssp-buffer-size=4 \
    180 	 \
    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-deprecated-declarations \
    190 	-fno-builtin-sin \
    191 	-Wno-format \
    192 	-m32 \
    193 	-Os \
    194 	-g \
    195 	-fomit-frame-pointer \
    196 	-fdata-sections \
    197 	-ffunction-sections
    198 
    199 MY_DEFS_Debug := \
    200 	'-DU_USING_ICU_NAMESPACE=0' \
    201 	'-DV8_DEPRECATION_WARNINGS' \
    202 	'-D_FILE_OFFSET_BITS=64' \
    203 	'-DNO_TCMALLOC' \
    204 	'-DDISABLE_NACL' \
    205 	'-DU_STATIC_IMPLEMENTATION' \
    206 	'-DCHROMIUM_BUILD' \
    207 	'-DUSE_LIBJPEG_TURBO=1' \
    208 	'-DUSE_PROPRIETARY_CODECS' \
    209 	'-DENABLE_CONFIGURATION_POLICY' \
    210 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    211 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    212 	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
    213 	'-DUSE_OPENSSL=1' \
    214 	'-DENABLE_EGLIMAGE=1' \
    215 	'-DCLD_VERSION=1' \
    216 	'-DENABLE_PRINTING=1' \
    217 	'-DENABLE_MANAGED_USERS=1' \
    218 	'-DU_I18N_IMPLEMENTATION' \
    219 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    220 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    221 	'-D_DEBUG'
    222 
    223 
    224 # Include paths placed before CFLAGS/CPPFLAGS
    225 LOCAL_C_INCLUDES_Debug := \
    226 	$(LOCAL_PATH)/third_party/icu/source/common \
    227 	$(LOCAL_PATH)/third_party/icu/source/i18n
    228 
    229 
    230 # Flags passed to only C++ (and not C) files.
    231 LOCAL_CPPFLAGS_Debug := \
    232 	-fno-rtti \
    233 	-fno-threadsafe-statics \
    234 	-fvisibility-inlines-hidden \
    235 	-frtti \
    236 	-Wno-deprecated
    237 
    238 
    239 # Flags passed to both C and C++ files.
    240 MY_CFLAGS_Release := \
    241 	-fstack-protector \
    242 	--param=ssp-buffer-size=4 \
    243 	 \
    244 	-pthread \
    245 	-fno-exceptions \
    246 	-fno-strict-aliasing \
    247 	-Wno-unused-parameter \
    248 	-Wno-missing-field-initializers \
    249 	-fvisibility=hidden \
    250 	-pipe \
    251 	-fPIC \
    252 	-Wno-deprecated-declarations \
    253 	-fno-builtin-sin \
    254 	-Wno-format \
    255 	-m32 \
    256 	-Os \
    257 	-fno-ident \
    258 	-fdata-sections \
    259 	-ffunction-sections \
    260 	-fomit-frame-pointer
    261 
    262 MY_DEFS_Release := \
    263 	'-DU_USING_ICU_NAMESPACE=0' \
    264 	'-DV8_DEPRECATION_WARNINGS' \
    265 	'-D_FILE_OFFSET_BITS=64' \
    266 	'-DNO_TCMALLOC' \
    267 	'-DDISABLE_NACL' \
    268 	'-DU_STATIC_IMPLEMENTATION' \
    269 	'-DCHROMIUM_BUILD' \
    270 	'-DUSE_LIBJPEG_TURBO=1' \
    271 	'-DUSE_PROPRIETARY_CODECS' \
    272 	'-DENABLE_CONFIGURATION_POLICY' \
    273 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    274 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    275 	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
    276 	'-DUSE_OPENSSL=1' \
    277 	'-DENABLE_EGLIMAGE=1' \
    278 	'-DCLD_VERSION=1' \
    279 	'-DENABLE_PRINTING=1' \
    280 	'-DENABLE_MANAGED_USERS=1' \
    281 	'-DU_I18N_IMPLEMENTATION' \
    282 	'-DNDEBUG' \
    283 	'-DNVALGRIND' \
    284 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0'
    285 
    286 
    287 # Include paths placed before CFLAGS/CPPFLAGS
    288 LOCAL_C_INCLUDES_Release := \
    289 	$(LOCAL_PATH)/third_party/icu/source/common \
    290 	$(LOCAL_PATH)/third_party/icu/source/i18n
    291 
    292 
    293 # Flags passed to only C++ (and not C) files.
    294 LOCAL_CPPFLAGS_Release := \
    295 	-fno-rtti \
    296 	-fno-threadsafe-statics \
    297 	-fvisibility-inlines-hidden \
    298 	-frtti \
    299 	-Wno-deprecated
    300 
    301 
    302 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    303 # Undefine ANDROID for host modules
    304 LOCAL_CFLAGS += -UANDROID
    305 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    306 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    307 ### Rules for final target.
    308 
    309 LOCAL_LDFLAGS_Debug := \
    310 	-pthread \
    311 	-fPIC \
    312 	-m32
    313 
    314 
    315 LOCAL_LDFLAGS_Release := \
    316 	-pthread \
    317 	-fPIC \
    318 	-m32
    319 
    320 
    321 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
    322 
    323 LOCAL_STATIC_LIBRARIES :=
    324 
    325 # Enable grouping to fix circular references
    326 LOCAL_GROUP_STATIC_LIBRARIES := true
    327 
    328 LOCAL_SHARED_LIBRARIES :=
    329 
    330 # Add target alias to "gyp_all_modules" target.
    331 .PHONY: gyp_all_modules
    332 gyp_all_modules: third_party_icu_icui18n_host_gyp
    333 
    334 # Alias gyp target name.
    335 .PHONY: icui18n
    336 icui18n: third_party_icu_icui18n_host_gyp
    337 
    338 include $(BUILD_HOST_STATIC_LIBRARY)
    339