| 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") ], |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 "//base", | 66 "//base", |
| 67 "//third_party/icu", | 67 "//third_party/icu", |
| 68 ] | 68 ] |
| 69 | 69 |
| 70 if (is_win) { | 70 if (is_win) { |
| 71 sources -= [ "ThreadingPthreads.cpp" ] | 71 sources -= [ "ThreadingPthreads.cpp" ] |
| 72 | 72 |
| 73 cflags = [ "/wd4068" ] # Unknown pragma. | 73 cflags = [ "/wd4068" ] # Unknown pragma. |
| 74 } else { | 74 } else { |
| 75 # Non-Windows. | 75 # Non-Windows. |
| 76 sources -= [ | 76 sources -= [ "ThreadingWin.cpp" ] |
| 77 "ThreadSpecificWin.cpp", | |
| 78 "ThreadingWin.cpp", | |
| 79 ] | |
| 80 } | 77 } |
| 81 | 78 |
| 82 if (is_android) { | 79 if (is_android) { |
| 83 libs = [ "log" ] | 80 libs = [ "log" ] |
| 84 } | 81 } |
| 85 if (is_linux) { | 82 if (is_linux) { |
| 86 libs = [ "dl" ] | 83 libs = [ "dl" ] |
| 87 } | 84 } |
| 88 | 85 |
| 89 if (is_mac) { | 86 if (is_mac) { |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 configs += [ "//third_party/WebKit/Source:config" ] | 119 configs += [ "//third_party/WebKit/Source:config" ] |
| 123 | 120 |
| 124 deps = [ | 121 deps = [ |
| 125 ":wtf", | 122 ":wtf", |
| 126 "//base", | 123 "//base", |
| 127 "//base/test:test_support", | 124 "//base/test:test_support", |
| 128 "//testing/gmock", | 125 "//testing/gmock", |
| 129 "//testing/gtest", | 126 "//testing/gtest", |
| 130 ] | 127 ] |
| 131 } | 128 } |
| OLD | NEW |