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

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

Issue 206813002: Remove GN GYP generator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
« no previous file with comments | « base/third_party/xdg_user_dirs/BUILD.gn ('k') | tools/gn/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # TODO(brettw) use this value when we remove external=true below.
6 #gyp_file = "//$gyp_output_dir/gn_gyp/third_party/re2/re2.gyp"
7
8 config("re2_config") { 5 config("re2_config") {
9 include_dirs = [ "." ] 6 include_dirs = [ "." ]
10 } 7 }
11 8
12 static_library("re2") { 9 static_library("re2") {
13 external = true
14 sources = [ 10 sources = [
15 "mswin/stdint.h", 11 "mswin/stdint.h",
16 "re2/bitstate.cc", 12 "re2/bitstate.cc",
17 "re2/compile.cc", 13 "re2/compile.cc",
18 "re2/dfa.cc", 14 "re2/dfa.cc",
19 "re2/filtered_re2.cc", 15 "re2/filtered_re2.cc",
20 "re2/filtered_re2.h", 16 "re2/filtered_re2.h",
21 "re2/mimics_pcre.cc", 17 "re2/mimics_pcre.cc",
22 "re2/nfa.cc", 18 "re2/nfa.cc",
23 "re2/onepass.cc", 19 "re2/onepass.cc",
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 if (is_win) { 68 if (is_win) {
73 include_dirs = [ "mswin" ] 69 include_dirs = [ "mswin" ]
74 cflags = [ 70 cflags = [
75 "/wd4267", # Conversion from size_t. 71 "/wd4267", # Conversion from size_t.
76 "/wd4722", # Destructor never terminates. 72 "/wd4722", # Destructor never terminates.
77 ] 73 ]
78 } else { 74 } else {
79 sources -= [ "mswin/stdint.h" ] 75 sources -= [ "mswin/stdint.h" ]
80 } 76 }
81 } 77 }
OLDNEW
« no previous file with comments | « base/third_party/xdg_user_dirs/BUILD.gn ('k') | tools/gn/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698