Home | History | Annotate | Download | only in re2
      1 # Copyright 2014 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': 're2',
      9       'type': 'static_library',
     10       'include_dirs': [
     11         '.',
     12         '<(DEPTH)',
     13       ],
     14       'direct_dependent_settings': {
     15         'include_dirs': [
     16           '.',
     17           '<(DEPTH)',
     18         ],
     19       },
     20       'dependencies': [
     21         '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
     22       ],
     23       'sources': [
     24         're2/bitstate.cc',
     25         're2/compile.cc',
     26         're2/dfa.cc',
     27         're2/filtered_re2.cc',
     28         're2/filtered_re2.h',
     29         're2/mimics_pcre.cc',
     30         're2/nfa.cc',
     31         're2/onepass.cc',
     32         're2/parse.cc',
     33         're2/perl_groups.cc',
     34         're2/prefilter.cc',
     35         're2/prefilter.h',
     36         're2/prefilter_tree.cc',
     37         're2/prefilter_tree.h',
     38         're2/prog.cc',
     39         're2/prog.h',
     40         're2/re2.cc',
     41         're2/re2.h',
     42         're2/regexp.cc',
     43         're2/regexp.h',
     44         're2/set.cc',
     45         're2/set.h',
     46         're2/simplify.cc',
     47         're2/stringpiece.h',
     48         're2/tostring.cc',
     49         're2/unicode_casefold.cc',
     50         're2/unicode_casefold.h',
     51         're2/unicode_groups.cc',
     52         're2/unicode_groups.h',
     53         're2/variadic_function.h',
     54         're2/walker-inl.h',
     55         'util/arena.cc',
     56         'util/arena.h',
     57         'util/atomicops.h',
     58         'util/flags.h',
     59         'util/hash.cc',
     60         'util/logging.h',
     61         'util/mutex.h',
     62         'util/rune.cc',
     63         'util/sparse_array.h',
     64         'util/sparse_set.h',
     65         'util/stringpiece.cc',
     66         'util/stringprintf.cc',
     67         'util/strutil.cc',
     68         'util/utf.h',
     69         'util/util.h',
     70       ],
     71       'conditions': [
     72         ['OS=="win"', {
     73           'sources': [
     74             'mswin/stdint.h'
     75           ],
     76           'include_dirs': [
     77             'mswin'
     78           ],
     79           'msvs_disabled_warnings': [ 4018, 4722, 4267 ],
     80         }]
     81       ]
     82     },
     83   ],
     84 }
     85