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/*" | 11 visibility = [ "//third_party/WebKit/*" ] |
12 | 12 |
13 config("wtf_config") { | 13 config("wtf_config") { |
14 if (is_win) { | 14 if (is_win) { |
15 defines = [ | 15 defines = [ |
16 "__STD_C", | 16 "__STD_C", |
17 "_CRT_SECURE_NO_DEPRECATE", | 17 "_CRT_SECURE_NO_DEPRECATE", |
18 "_SCL_SECURE_NO_DEPRECATE", | 18 "_SCL_SECURE_NO_DEPRECATE", |
19 "CRASH=__debugbreak", | 19 "CRASH=__debugbreak", |
20 ] | 20 ] |
21 include_dirs = [ | 21 include_dirs = [ |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 configs += [ | 129 configs += [ |
130 ":wtf_config", | 130 ":wtf_config", |
131 "//third_party/WebKit/Source:config", | 131 "//third_party/WebKit/Source:config", |
132 "//third_party/WebKit/Source:non_test_config", | 132 "//third_party/WebKit/Source:non_test_config", |
133 ] | 133 ] |
134 | 134 |
135 deps = [ | 135 deps = [ |
136 ":wtf", | 136 ":wtf", |
137 ] | 137 ] |
138 } | 138 } |
OLD | NEW |