Home | History | Annotate | Download | only in unbundle
      1 # Copyright 2013 The Chromium Authors. All rights reserved.
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 
      5 {
      6   'targets': [
      7     {
      8       'target_name': 'icudata',
      9       'type': 'none',
     10       'direct_dependent_settings': {
     11         'cflags': [
     12           '<!@(pkg-config --cflags icu-uc)',
     13         ],
     14         'defines': [
     15           'U_USING_ICU_NAMESPACE=0',
     16         ],
     17       },
     18       'link_settings': {
     19         'ldflags': [
     20           '<!@(pkg-config --libs-only-L --libs-only-other icu-uc)',
     21         ],
     22         'libraries': [
     23           '<!@(pkg-config --libs-only-l icu-uc)',
     24         ],
     25       },
     26     },
     27     {
     28       'target_name': 'icui18n',
     29       'type': 'none',
     30       'toolsets': ['host', 'target'],
     31       'direct_dependent_settings': {
     32         'cflags': [
     33           '<!@(pkg-config --cflags icu-i18n)',
     34         ],
     35         'defines': [
     36           'U_USING_ICU_NAMESPACE=0',
     37         ],
     38       },
     39       'link_settings': {
     40         'ldflags': [
     41           '<!@(pkg-config --libs-only-L --libs-only-other icu-i18n)',
     42         ],
     43         'libraries': [
     44           '<!@(pkg-config --libs-only-l icu-i18n)',
     45         ],
     46       },
     47       'variables': {
     48         'headers_root_path': 'source/i18n',
     49         'header_filenames': [
     50           # This list can easily be updated using the command below:
     51           # find third_party/icu/source/i18n/unicode -iname '*.h' \
     52           # -printf "'%p',\n" | \
     53           # sed -e 's|third_party/icu/source/i18n/||' | sort -u
     54           'unicode/basictz.h',
     55           'unicode/bmsearch.h',
     56           'unicode/bms.h',
     57           'unicode/calendar.h',
     58           'unicode/choicfmt.h',
     59           'unicode/coleitr.h',
     60           'unicode/colldata.h',
     61           'unicode/coll.h',
     62           'unicode/curramt.h',
     63           'unicode/currpinf.h',
     64           'unicode/currunit.h',
     65           'unicode/datefmt.h',
     66           'unicode/dcfmtsym.h',
     67           'unicode/decimfmt.h',
     68           'unicode/dtfmtsym.h',
     69           'unicode/dtitvfmt.h',
     70           'unicode/dtitvinf.h',
     71           'unicode/dtptngen.h',
     72           'unicode/dtrule.h',
     73           'unicode/fieldpos.h',
     74           'unicode/fmtable.h',
     75           'unicode/format.h',
     76           'unicode/fpositer.h',
     77           'unicode/gregocal.h',
     78           'unicode/locdspnm.h',
     79           'unicode/measfmt.h',
     80           'unicode/measunit.h',
     81           'unicode/measure.h',
     82           'unicode/msgfmt.h',
     83           'unicode/numfmt.h',
     84           'unicode/numsys.h',
     85           'unicode/plurfmt.h',
     86           'unicode/plurrule.h',
     87           'unicode/rbnf.h',
     88           'unicode/rbtz.h',
     89           'unicode/regex.h',
     90           'unicode/search.h',
     91           'unicode/selfmt.h',
     92           'unicode/simpletz.h',
     93           'unicode/smpdtfmt.h',
     94           'unicode/sortkey.h',
     95           'unicode/stsearch.h',
     96           'unicode/tblcoll.h',
     97           'unicode/timezone.h',
     98           'unicode/tmunit.h',
     99           'unicode/tmutamt.h',
    100           'unicode/tmutfmt.h',
    101           'unicode/translit.h',
    102           'unicode/tzrule.h',
    103           'unicode/tztrans.h',
    104           'unicode/ucal.h',
    105           'unicode/ucoleitr.h',
    106           'unicode/ucol.h',
    107           'unicode/ucsdet.h',
    108           'unicode/ucurr.h',
    109           'unicode/udat.h',
    110           'unicode/udatpg.h',
    111           'unicode/uldnames.h',
    112           'unicode/ulocdata.h',
    113           'unicode/umsg.h',
    114           'unicode/unirepl.h',
    115           'unicode/unum.h',
    116           'unicode/uregex.h',
    117           'unicode/usearch.h',
    118           'unicode/uspoof.h',
    119           'unicode/utmscale.h',
    120           'unicode/utrans.h',
    121           'unicode/vtzone.h',
    122         ],
    123       },
    124       'includes': [
    125         '../../build/shim_headers.gypi',
    126       ],
    127     },
    128     {
    129       'target_name': 'icuuc',
    130       'type': 'none',
    131       'toolsets': ['host', 'target'],
    132       'direct_dependent_settings': {
    133         'cflags': [
    134           '<!@(pkg-config --cflags icu-uc)',
    135         ],
    136         'defines': [
    137           'U_USING_ICU_NAMESPACE=0',
    138         ],
    139       },
    140       'link_settings': {
    141         'ldflags': [
    142           '<!@(pkg-config --libs-only-L --libs-only-other icu-uc)',
    143         ],
    144         'libraries': [
    145           '<!@(pkg-config --libs-only-l icu-uc)',
    146         ],
    147       },
    148       'variables': {
    149         'headers_root_path': 'source/common',
    150         'header_filenames': [
    151           # This list can easily be updated using the command below:
    152           # find third_party/icu/source/common/unicode -iname '*.h' \
    153           # -printf "'%p',\n" | \
    154           # sed -e 's|third_party/icu/source/common/||' | sort -u
    155           'unicode/brkiter.h',
    156           'unicode/bytestream.h',
    157           'unicode/caniter.h',
    158           'unicode/chariter.h',
    159           'unicode/dbbi.h',
    160           'unicode/docmain.h',
    161           'unicode/dtintrv.h',
    162           'unicode/errorcode.h',
    163           'unicode/icudataver.h',
    164           'unicode/icuplug.h',
    165           'unicode/idna.h',
    166           'unicode/localpointer.h',
    167           'unicode/locid.h',
    168           'unicode/normalizer2.h',
    169           'unicode/normlzr.h',
    170           'unicode/pandroid.h',
    171           'unicode/parseerr.h',
    172           'unicode/parsepos.h',
    173           'unicode/pfreebsd.h',
    174           'unicode/plinux.h',
    175           'unicode/pmac.h',
    176           'unicode/popenbsd.h',
    177           'unicode/ppalmos.h',
    178           'unicode/ptypes.h',
    179           'unicode/putil.h',
    180           'unicode/pwin32.h',
    181           'unicode/rbbi.h',
    182           'unicode/rep.h',
    183           'unicode/resbund.h',
    184           'unicode/schriter.h',
    185           'unicode/std_string.h',
    186           'unicode/strenum.h',
    187           'unicode/stringpiece.h',
    188           'unicode/symtable.h',
    189           'unicode/ubidi.h',
    190           'unicode/ubrk.h',
    191           'unicode/ucasemap.h',
    192           'unicode/ucat.h',
    193           'unicode/uchar.h',
    194           'unicode/uchriter.h',
    195           'unicode/uclean.h',
    196           'unicode/ucnv_cb.h',
    197           'unicode/ucnv_err.h',
    198           'unicode/ucnv.h',
    199           'unicode/ucnvsel.h',
    200           'unicode/uconfig.h',
    201           'unicode/udata.h',
    202           'unicode/udeprctd.h',
    203           'unicode/udraft.h',
    204           'unicode/uenum.h',
    205           'unicode/uidna.h',
    206           'unicode/uintrnal.h',
    207           'unicode/uiter.h',
    208           'unicode/uloc.h',
    209           'unicode/umachine.h',
    210           'unicode/umisc.h',
    211           'unicode/unifilt.h',
    212           'unicode/unifunct.h',
    213           'unicode/unimatch.h',
    214           'unicode/uniset.h',
    215           'unicode/unistr.h',
    216           'unicode/unorm2.h',
    217           'unicode/unorm.h',
    218           'unicode/uobject.h',
    219           'unicode/uobslete.h',
    220           'unicode/urename.h',
    221           'unicode/urep.h',
    222           'unicode/ures.h',
    223           'unicode/uscript.h',
    224           'unicode/uset.h',
    225           'unicode/usetiter.h',
    226           'unicode/ushape.h',
    227           'unicode/usprep.h',
    228           'unicode/ustring.h',
    229           'unicode/usystem.h',
    230           'unicode/utext.h',
    231           'unicode/utf16.h',
    232           'unicode/utf32.h',
    233           'unicode/utf8.h',
    234           'unicode/utf.h',
    235           'unicode/utf_old.h',
    236           'unicode/utrace.h',
    237           'unicode/utypeinfo.h',
    238           'unicode/utypes.h',
    239           'unicode/uvernum.h',
    240           'unicode/uversion.h',
    241         ],
    242       },
    243       'includes': [
    244         '../../build/shim_headers.gypi',
    245       ],
    246     },
    247   ],
    248 }
    249