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_MODULE_TAGS := optional
      9 LOCAL_IS_HOST_MODULE := true
     10 LOCAL_MULTILIB := $(GYP_HOST_MULTILIB)
     11 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_HOST_VAR_PREFIX))
     12 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
     13 
     14 # Make sure our deps are built first.
     15 GYP_TARGET_DEPENDENCIES :=
     16 
     17 GYP_GENERATED_OUTPUTS :=
     18 
     19 # Make sure our deps and generated files are built first.
     20 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     21 
     22 LOCAL_GENERATED_SOURCES :=
     23 
     24 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     25 
     26 LOCAL_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.
    178 MY_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 	-m32 \
    194 	-Os \
    195 	-g \
    196 	-fdata-sections \
    197 	-ffunction-sections \
    198 	-fomit-frame-pointer \
    199 	-funwind-tables
    200 
    201 MY_DEFS_Debug := \
    202 	'-DU_USING_ICU_NAMESPACE=0' \
    203 	'-DV8_DEPRECATION_WARNINGS' \
    204 	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
    205 	'-D_FILE_OFFSET_BITS=64' \
    206 	'-DNO_TCMALLOC' \
    207 	'-DDISABLE_NACL' \
    208 	'-DU_STATIC_IMPLEMENTATION' \
    209 	'-DCHROMIUM_BUILD' \
    210 	'-DUSE_LIBJPEG_TURBO=1' \
    211 	'-DENABLE_WEBRTC=1' \
    212 	'-DUSE_PROPRIETARY_CODECS' \
    213 	'-DENABLE_BROWSER_CDMS' \
    214 	'-DENABLE_CONFIGURATION_POLICY' \
    215 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    216 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    217 	'-DENABLE_EGLIMAGE=1' \
    218 	'-DCLD_VERSION=1' \
    219 	'-DENABLE_PRINTING=1' \
    220 	'-DENABLE_MANAGED_USERS=1' \
    221 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    222 	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
    223 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    224 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    225 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    226 	'-DVIDEO_HOLE=1' \
    227 	'-DU_I18N_IMPLEMENTATION' \
    228 	'-DUSE_OPENSSL=1' \
    229 	'-DUSE_OPENSSL_CERTS=1' \
    230 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    231 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    232 	'-D_DEBUG'
    233 
    234 
    235 # Include paths placed before CFLAGS/CPPFLAGS
    236 LOCAL_C_INCLUDES_Debug := \
    237 	$(LOCAL_PATH)/third_party/icu/source/common \
    238 	$(LOCAL_PATH)/third_party/icu/source/i18n \
    239 	$(gyp_shared_intermediate_dir)
    240 
    241 
    242 # Flags passed to only C++ (and not C) files.
    243 LOCAL_CPPFLAGS_Debug := \
    244 	-fno-rtti \
    245 	-fno-threadsafe-statics \
    246 	-fvisibility-inlines-hidden \
    247 	-frtti \
    248 	-Wno-deprecated
    249 
    250 
    251 LOCAL_FDO_SUPPORT_Debug := false
    252 
    253 # Flags passed to both C and C++ files.
    254 MY_CFLAGS_Release := \
    255 	-fstack-protector \
    256 	--param=ssp-buffer-size=4 \
    257 	-pthread \
    258 	-fno-exceptions \
    259 	-fno-strict-aliasing \
    260 	-Wno-unused-parameter \
    261 	-Wno-missing-field-initializers \
    262 	-fvisibility=hidden \
    263 	-pipe \
    264 	-fPIC \
    265 	-Wno-unused-local-typedefs \
    266 	-Wno-deprecated-declarations \
    267 	-fno-builtin-sin \
    268 	-Wno-format \
    269 	-m32 \
    270 	-Os \
    271 	-fno-ident \
    272 	-fdata-sections \
    273 	-ffunction-sections \
    274 	-fomit-frame-pointer \
    275 	-funwind-tables
    276 
    277 MY_DEFS_Release := \
    278 	'-DU_USING_ICU_NAMESPACE=0' \
    279 	'-DV8_DEPRECATION_WARNINGS' \
    280 	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
    281 	'-D_FILE_OFFSET_BITS=64' \
    282 	'-DNO_TCMALLOC' \
    283 	'-DDISABLE_NACL' \
    284 	'-DU_STATIC_IMPLEMENTATION' \
    285 	'-DCHROMIUM_BUILD' \
    286 	'-DUSE_LIBJPEG_TURBO=1' \
    287 	'-DENABLE_WEBRTC=1' \
    288 	'-DUSE_PROPRIETARY_CODECS' \
    289 	'-DENABLE_BROWSER_CDMS' \
    290 	'-DENABLE_CONFIGURATION_POLICY' \
    291 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    292 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    293 	'-DENABLE_EGLIMAGE=1' \
    294 	'-DCLD_VERSION=1' \
    295 	'-DENABLE_PRINTING=1' \
    296 	'-DENABLE_MANAGED_USERS=1' \
    297 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    298 	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
    299 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    300 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    301 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    302 	'-DVIDEO_HOLE=1' \
    303 	'-DU_I18N_IMPLEMENTATION' \
    304 	'-DUSE_OPENSSL=1' \
    305 	'-DUSE_OPENSSL_CERTS=1' \
    306 	'-DNDEBUG' \
    307 	'-DNVALGRIND' \
    308 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0'
    309 
    310 
    311 # Include paths placed before CFLAGS/CPPFLAGS
    312 LOCAL_C_INCLUDES_Release := \
    313 	$(LOCAL_PATH)/third_party/icu/source/common \
    314 	$(LOCAL_PATH)/third_party/icu/source/i18n \
    315 	$(gyp_shared_intermediate_dir)
    316 
    317 
    318 # Flags passed to only C++ (and not C) files.
    319 LOCAL_CPPFLAGS_Release := \
    320 	-fno-rtti \
    321 	-fno-threadsafe-statics \
    322 	-fvisibility-inlines-hidden \
    323 	-frtti \
    324 	-Wno-deprecated
    325 
    326 
    327 LOCAL_FDO_SUPPORT_Release := false
    328 
    329 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    330 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION))
    331 # Undefine ANDROID for host modules
    332 LOCAL_CFLAGS += -UANDROID
    333 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    334 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    335 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    336 ### Rules for final target.
    337 
    338 LOCAL_LDFLAGS_Debug := \
    339 	-Wl,-z,now \
    340 	-Wl,-z,relro \
    341 	-pthread \
    342 	-fPIC \
    343 	-m32
    344 
    345 
    346 LOCAL_LDFLAGS_Release := \
    347 	-Wl,-z,now \
    348 	-Wl,-z,relro \
    349 	-pthread \
    350 	-fPIC \
    351 	-m32
    352 
    353 
    354 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
    355 
    356 LOCAL_STATIC_LIBRARIES :=
    357 
    358 # Enable grouping to fix circular references
    359 LOCAL_GROUP_STATIC_LIBRARIES := true
    360 
    361 LOCAL_SHARED_LIBRARIES :=
    362 
    363 # Add target alias to "gyp_all_modules" target.
    364 .PHONY: gyp_all_modules
    365 gyp_all_modules: third_party_icu_icui18n_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp
    366 
    367 # Alias gyp target name.
    368 .PHONY: icui18n
    369 icui18n: third_party_icu_icui18n_$(TARGET_$(GYP_VAR_PREFIX)ARCH)_host_gyp
    370 
    371 include $(BUILD_HOST_STATIC_LIBRARY)
    372