OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 config("wtf-config") { | 5 config("wtf-config") { |
6 include_dirs = [ ".." ] | 6 include_dirs = [ ".." ] |
7 if (is_win) { | 7 if (is_win) { |
8 include_dirs += [ "os-win32" ] | 8 include_dirs += [ "os-win32" ] |
9 defines = [ | 9 defines = [ |
10 "__STD_C", | 10 "__STD_C", |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 # ] | 294 # ] |
295 } else { | 295 } else { |
296 sources += [ | 296 sources += [ |
297 "ThreadIdentifierDataPthreads.cpp", | 297 "ThreadIdentifierDataPthreads.cpp", |
298 "ThreadIdentifierDataPthreads.h", | 298 "ThreadIdentifierDataPthreads.h", |
299 "ThreadingPthreads.cpp", | 299 "ThreadingPthreads.cpp", |
300 ] | 300 ] |
301 } | 301 } |
302 } | 302 } |
303 | 303 |
304 static_library("run_all_tests") { | 304 source_set("run_all_tests") { |
305 sources = [ "testing/RunAllTests.cpp" ] | 305 sources = [ "testing/RunAllTests.cpp" ] |
306 | 306 |
307 configs -= [ "//build/config/compiler:chromium_code" ] | 307 configs -= [ "//build/config/compiler:chromium_code" ] |
308 configs += [ | 308 configs += [ |
309 "//build/config/compiler:no_chromium_code", | 309 "//build/config/compiler:no_chromium_code", |
310 ":wtf-config", | 310 ":wtf-config", |
311 ] | 311 ] |
312 | 312 |
313 deps = [ | 313 deps = [ |
314 "//base/test:test_support", | 314 "//base/test:test_support", |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 # # Disable c4267 warnings until we fix size_t to int truncations. | 355 # # Disable c4267 warnings until we fix size_t to int truncations. |
356 # 'msvs_disabled_warnings': [4127, 4355, 4510, 4512, 4610, 4706, 4068, 4267], | 356 # 'msvs_disabled_warnings': [4127, 4355, 4510, 4512, 4610, 4706, 4068, 4267], |
357 | 357 |
358 # if (is_linux && use_tcmalloc) { | 358 # if (is_linux && use_tcmalloc) { |
359 # deps += [ | 359 # deps += [ |
360 # "//base:base", | 360 # "//base:base", |
361 # "//base/allocator:allocator", | 361 # "//base/allocator:allocator", |
362 # ], | 362 # ], |
363 # } | 363 # } |
364 } | 364 } |
OLD | NEW |