OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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 assert(!is_ios) | 5 assert(!is_ios) |
6 | 6 |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 import("//third_party/WebKit/Source/config.gni") | 8 import("//third_party/WebKit/Source/config.gni") |
9 | 9 |
10 visibility = [ | 10 visibility = [ |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 "//third_party/icu", | 273 "//third_party/icu", |
274 ] | 274 ] |
275 | 275 |
276 # Rules changing the |sources| list are temporarily commented out, until | 276 # Rules changing the |sources| list are temporarily commented out, until |
277 # those files are actually moved to here. | 277 # those files are actually moved to here. |
278 | 278 |
279 if (is_win) { | 279 if (is_win) { |
280 sources -= [ "ThreadingPthreads.cpp" ] | 280 sources -= [ "ThreadingPthreads.cpp" ] |
281 | 281 |
282 cflags = [ "/wd4068" ] # Unknown pragma. | 282 cflags = [ "/wd4068" ] # Unknown pragma. |
| 283 |
| 284 # Inject Visual Studio debug visualizers for our types into all targets |
| 285 # that reference this. |
| 286 all_dependent_configs = [ "//tools/win/DebugVisualizers:webkit" ] |
283 } else { | 287 } else { |
284 # Non-Windows. | 288 # Non-Windows. |
285 sources -= [ | 289 sources -= [ |
286 "ThreadSpecificWin.cpp", | 290 "ThreadSpecificWin.cpp", |
287 "ThreadingWin.cpp", | 291 "ThreadingWin.cpp", |
288 ] | 292 ] |
289 } | 293 } |
290 | 294 |
291 if (is_android) { | 295 if (is_android) { |
292 libs = [ "log" ] | 296 libs = [ "log" ] |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 ] | 375 ] |
372 | 376 |
373 deps = [ | 377 deps = [ |
374 ":wtf", | 378 ":wtf", |
375 "//base", | 379 "//base", |
376 "//base/test:test_support", | 380 "//base/test:test_support", |
377 "//testing/gmock", | 381 "//testing/gmock", |
378 "//testing/gtest", | 382 "//testing/gtest", |
379 ] | 383 ] |
380 } | 384 } |
OLD | NEW |