Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: tools/gn/secondary/third_party/re2/BUILD.gn

Issue 141053003: Convert the re2 GYP targets to be generated by GN (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« third_party/re2/BUILD.gn ('K') | « third_party/re2/re2.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 config("re2_config") {
6 include_dirs = [ "." ]
7 }
8
9 gyp_file = "re2.gyp"
10 external = true
11
12 static_library("re2") {
13 sources = [
14 "mswin/stdint.h",
15 "re2/bitstate.cc",
16 "re2/compile.cc",
17 "re2/dfa.cc",
18 "re2/filtered_re2.cc",
19 "re2/filtered_re2.h",
20 "re2/mimics_pcre.cc",
21 "re2/nfa.cc",
22 "re2/onepass.cc",
23 "re2/parse.cc",
24 "re2/perl_groups.cc",
25 "re2/prefilter.cc",
26 "re2/prefilter.h",
27 "re2/prefilter_tree.cc",
28 "re2/prefilter_tree.h",
29 "re2/prog.cc",
30 "re2/prog.h",
31 "re2/re2.cc",
32 "re2/re2.h",
33 "re2/regexp.cc",
34 "re2/regexp.h",
35 "re2/set.cc",
36 "re2/set.h",
37 "re2/simplify.cc",
38 "re2/stringpiece.h",
39 "re2/tostring.cc",
40 "re2/unicode_casefold.cc",
41 "re2/unicode_casefold.h",
42 "re2/unicode_groups.cc",
43 "re2/unicode_groups.h",
44 "re2/variadic_function.h",
45 "re2/walker-inl.h",
46 "util/arena.cc",
47 "util/arena.h",
48 "util/atomicops.h",
49 "util/flags.h",
50 "util/hash.cc",
51 "util/logging.h",
52 "util/mutex.h",
53 "util/rune.cc",
54 "util/sparse_array.h",
55 "util/sparse_set.h",
56 "util/stringpiece.cc",
57 "util/stringprintf.cc",
58 "util/strutil.cc",
59 "util/utf.h",
60 "util/util.h",
61 ]
62
63 configs -= "//build/config/compiler:chromium_code"
64 configs += "//build/config/compiler:no_chromium_code"
65 direct_dependent_configs = [ ":re2_config" ]
66
67 deps = [
68 "//base/third_party/dynamic_annotations",
69 ]
70
71 if (is_win) {
72 include_dirs = [ "mswin" ]
73 # TODO(brettw) 'msvs_disabled_warnings': [ 4018, 4722, 4267 ],
74 } else {
75 sources -= "mswin/stdint.h"
76 }
77 }
OLDNEW
« third_party/re2/BUILD.gn ('K') | « third_party/re2/re2.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698