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 # The list of files is kept in the .gypi. | 5 # The list of files is kept in the .gypi. |
6 gypi_values = exec_script("//build/gypi_to_gn.py", | 6 gypi_values = exec_script("//build/gypi_to_gn.py", |
7 [ rebase_path("wtf.gypi") ], | 7 [ rebase_path("wtf.gypi") ], |
8 "scope", | 8 "scope", |
9 [ "wtf.gypi" ]) | 9 [ "wtf.gypi" ]) |
10 | 10 |
| 11 visibility = "//third_party/WebKit/*" |
| 12 |
11 config("wtf_config") { | 13 config("wtf_config") { |
12 if (is_win) { | 14 if (is_win) { |
13 defines = [ | 15 defines = [ |
14 "__STD_C", | 16 "__STD_C", |
15 "_CRT_SECURE_NO_DEPRECATE", | 17 "_CRT_SECURE_NO_DEPRECATE", |
16 "_SCL_SECURE_NO_DEPRECATE", | 18 "_SCL_SECURE_NO_DEPRECATE", |
17 "CRASH=__debugbreak", | 19 "CRASH=__debugbreak", |
18 ] | 20 ] |
19 include_dirs = [ | 21 include_dirs = [ |
20 "os-win32", | 22 "os-win32", |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 configs += [ | 142 configs += [ |
141 ":wtf_config", | 143 ":wtf_config", |
142 "//third_party/WebKit/Source:config", | 144 "//third_party/WebKit/Source:config", |
143 "//third_party/WebKit/Source:non_test_config", | 145 "//third_party/WebKit/Source:non_test_config", |
144 ] | 146 ] |
145 | 147 |
146 deps = [ | 148 deps = [ |
147 ":wtf", | 149 ":wtf", |
148 ] | 150 ] |
149 } | 151 } |
OLD | NEW |