OLD | NEW |
| (Empty) |
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 'variables': { | |
7 'build_for_tool%': '', | |
8 }, | |
9 'targets': [ | |
10 { | |
11 'target_name': 're2', | |
12 'type': 'static_library', | |
13 'include_dirs': [ | |
14 'src', | |
15 '<(DEPTH)', | |
16 ], | |
17 'direct_dependent_settings': { | |
18 'include_dirs': [ | |
19 'src', | |
20 '<(DEPTH)', | |
21 ], | |
22 }, | |
23 'sources': [ | |
24 'src/re2/bitstate.cc', | |
25 'src/re2/compile.cc', | |
26 'src/re2/dfa.cc', | |
27 'src/re2/filtered_re2.cc', | |
28 'src/re2/filtered_re2.h', | |
29 'src/re2/mimics_pcre.cc', | |
30 'src/re2/nfa.cc', | |
31 'src/re2/onepass.cc', | |
32 'src/re2/parse.cc', | |
33 'src/re2/perl_groups.cc', | |
34 'src/re2/prefilter.cc', | |
35 'src/re2/prefilter.h', | |
36 'src/re2/prefilter_tree.cc', | |
37 'src/re2/prefilter_tree.h', | |
38 'src/re2/prog.cc', | |
39 'src/re2/prog.h', | |
40 'src/re2/re2.cc', | |
41 'src/re2/re2.h', | |
42 'src/re2/regexp.cc', | |
43 'src/re2/regexp.h', | |
44 'src/re2/set.cc', | |
45 'src/re2/set.h', | |
46 'src/re2/simplify.cc', | |
47 'src/re2/stringpiece.cc', | |
48 'src/re2/stringpiece.h', | |
49 'src/re2/tostring.cc', | |
50 'src/re2/unicode_casefold.cc', | |
51 'src/re2/unicode_casefold.h', | |
52 'src/re2/unicode_groups.cc', | |
53 'src/re2/unicode_groups.h', | |
54 'src/re2/variadic_function.h', | |
55 'src/re2/walker-inl.h', | |
56 'src/util/atomicops.h', | |
57 'src/util/flags.h', | |
58 'src/util/hash.cc', | |
59 'src/util/logging.cc', | |
60 'src/util/logging.h', | |
61 'src/util/mutex.h', | |
62 'src/util/rune.cc', | |
63 'src/util/sparse_array.h', | |
64 'src/util/sparse_set.h', | |
65 'src/util/stringprintf.cc', | |
66 'src/util/strutil.cc', | |
67 'src/util/utf.h', | |
68 'src/util/util.h', | |
69 'src/util/valgrind.cc', | |
70 'src/util/valgrind.h', | |
71 ], | |
72 'conditions': [ | |
73 ['build_for_tool=="drmemory"', { | |
74 # Treat builds for Dr. Memory as builds for MSAN to prevent false | |
75 # positives created by lazily initialized memory. | |
76 # See crbug.com/568119#3 . | |
77 'defines': [ | |
78 'MEMORY_SANITIZER' | |
79 ], | |
80 }], | |
81 ] | |
82 }, | |
83 ], | |
84 } | |
OLD | NEW |