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 	-pthread \
    181 	-fno-exceptions \
    182 	-fno-strict-aliasing \
    183 	-Wno-unused-parameter \
    184 	-Wno-missing-field-initializers \
    185 	-fvisibility=hidden \
    186 	-pipe \
    187 	-fPIC \
    188 	-Wno-deprecated-declarations \
    189 	-fno-builtin-sin \
    190 	-Wno-format \
    191 	-m32 \
    192 	-Os \
    193 	-g \
    194 	-fomit-frame-pointer \
    195 	-fdata-sections \
    196 	-ffunction-sections
    197 
    198 MY_DEFS_Debug := \
    199 	'-DU_USING_ICU_NAMESPACE=0' \
    200 	'-DV8_DEPRECATION_WARNINGS' \
    201 	'-D_FILE_OFFSET_BITS=64' \
    202 	'-DNO_TCMALLOC' \
    203 	'-DDISABLE_NACL' \
    204 	'-DU_STATIC_IMPLEMENTATION' \
    205 	'-DCHROMIUM_BUILD' \
    206 	'-DUSE_LIBJPEG_TURBO=1' \
    207 	'-DUSE_PROPRIETARY_CODECS' \
    208 	'-DENABLE_CONFIGURATION_POLICY' \
    209 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    210 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    211 	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
    212 	'-DUSE_OPENSSL=1' \
    213 	'-DENABLE_EGLIMAGE=1' \
    214 	'-DCLD_VERSION=1' \
    215 	'-DENABLE_PRINTING=1' \
    216 	'-DENABLE_MANAGED_USERS=1' \
    217 	'-DU_I18N_IMPLEMENTATION' \
    218 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    219 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    220 	'-D_DEBUG'
    221 
    222 
    223 # Include paths placed before CFLAGS/CPPFLAGS
    224 LOCAL_C_INCLUDES_Debug := \
    225 	$(LOCAL_PATH)/third_party/icu/source/common \
    226 	$(LOCAL_PATH)/third_party/icu/source/i18n
    227 
    228 
    229 # Flags passed to only C++ (and not C) files.
    230 LOCAL_CPPFLAGS_Debug := \
    231 	-fno-rtti \
    232 	-fno-threadsafe-statics \
    233 	-fvisibility-inlines-hidden \
    234 	-frtti \
    235 	-Wno-deprecated
    236 
    237 
    238 # Flags passed to both C and C++ files.
    239 MY_CFLAGS_Release := \
    240 	-fstack-protector \
    241 	--param=ssp-buffer-size=4 \
    242 	-pthread \
    243 	-fno-exceptions \
    244 	-fno-strict-aliasing \
    245 	-Wno-unused-parameter \
    246 	-Wno-missing-field-initializers \
    247 	-fvisibility=hidden \
    248 	-pipe \
    249 	-fPIC \
    250 	-Wno-deprecated-declarations \
    251 	-fno-builtin-sin \
    252 	-Wno-format \
    253 	-m32 \
    254 	-Os \
    255 	-fno-ident \
    256 	-fdata-sections \
    257 	-ffunction-sections \
    258 	-fomit-frame-pointer
    259 
    260 MY_DEFS_Release := \
    261 	'-DU_USING_ICU_NAMESPACE=0' \
    262 	'-DV8_DEPRECATION_WARNINGS' \
    263 	'-D_FILE_OFFSET_BITS=64' \
    264 	'-DNO_TCMALLOC' \
    265 	'-DDISABLE_NACL' \
    266 	'-DU_STATIC_IMPLEMENTATION' \
    267 	'-DCHROMIUM_BUILD' \
    268 	'-DUSE_LIBJPEG_TURBO=1' \
    269 	'-DUSE_PROPRIETARY_CODECS' \
    270 	'-DENABLE_CONFIGURATION_POLICY' \
    271 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    272 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    273 	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
    274 	'-DUSE_OPENSSL=1' \
    275 	'-DENABLE_EGLIMAGE=1' \
    276 	'-DCLD_VERSION=1' \
    277 	'-DENABLE_PRINTING=1' \
    278 	'-DENABLE_MANAGED_USERS=1' \
    279 	'-DU_I18N_IMPLEMENTATION' \
    280 	'-DNDEBUG' \
    281 	'-DNVALGRIND' \
    282 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0'
    283 
    284 
    285 # Include paths placed before CFLAGS/CPPFLAGS
    286 LOCAL_C_INCLUDES_Release := \
    287 	$(LOCAL_PATH)/third_party/icu/source/common \
    288 	$(LOCAL_PATH)/third_party/icu/source/i18n
    289 
    290 
    291 # Flags passed to only C++ (and not C) files.
    292 LOCAL_CPPFLAGS_Release := \
    293 	-fno-rtti \
    294 	-fno-threadsafe-statics \
    295 	-fvisibility-inlines-hidden \
    296 	-frtti \
    297 	-Wno-deprecated
    298 
    299 
    300 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    301 # Undefine ANDROID for host modules
    302 LOCAL_CFLAGS += -UANDROID
    303 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    304 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    305 ### Rules for final target.
    306 
    307 LOCAL_LDFLAGS_Debug := \
    308 	-pthread \
    309 	-fPIC \
    310 	-m32
    311 
    312 
    313 LOCAL_LDFLAGS_Release := \
    314 	-pthread \
    315 	-fPIC \
    316 	-m32
    317 
    318 
    319 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
    320 
    321 LOCAL_STATIC_LIBRARIES :=
    322 
    323 # Enable grouping to fix circular references
    324 LOCAL_GROUP_STATIC_LIBRARIES := true
    325 
    326 LOCAL_SHARED_LIBRARIES :=
    327 
    328 # Add target alias to "gyp_all_modules" target.
    329 .PHONY: gyp_all_modules
    330 gyp_all_modules: third_party_icu_icui18n_host_gyp
    331 
    332 # Alias gyp target name.
    333 .PHONY: icui18n
    334 icui18n: third_party_icu_icui18n_host_gyp
    335 
    336 include $(BUILD_HOST_STATIC_LIBRARY)
    337