| 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 import("//testing/test.gni") | 5 import("//testing/test.gni") |
| 6 import("//third_party/WebKit/Source/config.gni") | 6 import("//third_party/WebKit/Source/config.gni") |
| 7 | 7 |
| 8 # The list of files is kept in the .gypi. | 8 # The list of files is kept in the .gypi. |
| 9 gypi_values = exec_script("//build/gypi_to_gn.py", | 9 gypi_values = exec_script("//build/gypi_to_gn.py", |
| 10 [ rebase_path("wtf.gypi") ], | 10 [ rebase_path("wtf.gypi") ], |
| 11 "scope", | 11 "scope", |
| 12 [ "wtf.gypi" ]) | 12 [ "wtf.gypi" ]) |
| 13 | 13 |
| 14 visibility = [ "//third_party/WebKit/*" ] | 14 visibility = [ |
| 15 "//mojo/public/cpp/bindings/*", |
| 16 "//third_party/WebKit/*", |
| 17 ] |
| 15 | 18 |
| 16 config("wtf_config") { | 19 config("wtf_config") { |
| 17 if (is_win) { | 20 if (is_win) { |
| 18 defines = [ | 21 defines = [ |
| 19 "__STD_C", | 22 "__STD_C", |
| 20 "_CRT_SECURE_NO_DEPRECATE", | 23 "_CRT_SECURE_NO_DEPRECATE", |
| 21 "_SCL_SECURE_NO_DEPRECATE", | 24 "_SCL_SECURE_NO_DEPRECATE", |
| 22 ] | 25 ] |
| 23 include_dirs = [ "os-win32" ] | 26 include_dirs = [ "os-win32" ] |
| 24 | 27 |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 142 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 140 "//build/config/compiler:no_size_t_to_int_warning", | 143 "//build/config/compiler:no_size_t_to_int_warning", |
| 141 "//third_party/WebKit/Source:config", | 144 "//third_party/WebKit/Source:config", |
| 142 "//third_party/WebKit/Source:non_test_config", | 145 "//third_party/WebKit/Source:non_test_config", |
| 143 ] | 146 ] |
| 144 | 147 |
| 145 deps = [ | 148 deps = [ |
| 146 ":wtf", | 149 ":wtf", |
| 147 ] | 150 ] |
| 148 } | 151 } |
| OLD | NEW |