OLD | NEW |
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 gyp_file = "//out/gn_gyp/third_party/re2/re2.gyp" | 5 gyp_file = "//$gyp_output_dir/gn_gyp/third_party/re2/re2.gyp" |
6 | 6 |
7 config("re2_config") { | 7 config("re2_config") { |
8 include_dirs = [ "." ] | 8 include_dirs = [ "." ] |
9 } | 9 } |
10 | 10 |
11 static_library("re2") { | 11 static_library("re2") { |
12 sources = [ | 12 sources = [ |
13 "mswin/stdint.h", | 13 "mswin/stdint.h", |
14 "re2/bitstate.cc", | 14 "re2/bitstate.cc", |
15 "re2/compile.cc", | 15 "re2/compile.cc", |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 deps = [ | 66 deps = [ |
67 "//base/third_party/dynamic_annotations", | 67 "//base/third_party/dynamic_annotations", |
68 ] | 68 ] |
69 | 69 |
70 if (is_win) { | 70 if (is_win) { |
71 include_dirs = [ "mswin" ] | 71 include_dirs = [ "mswin" ] |
72 } else { | 72 } else { |
73 sources -= [ "mswin/stdint.h" ] | 73 sources -= [ "mswin/stdint.h" ] |
74 } | 74 } |
75 } | 75 } |
OLD | NEW |