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 source_set("utility") { | 5 source_set("utility") { |
6 sources = [ | 6 sources = [ |
7 "mutex.h", | 7 "mutex.h", |
8 "run_loop.h", | 8 "run_loop.h", |
9 "run_loop_handler.h", | 9 "run_loop_handler.h", |
10 "thread.h", | 10 "thread.h", |
11 "lib/mutex.cc", | 11 "lib/mutex.cc", |
12 "lib/run_loop.cc", | 12 "lib/run_loop.cc", |
13 "lib/thread.cc", | 13 "lib/thread.cc", |
14 "lib/thread_local.h", | 14 "lib/thread_local.h", |
15 "lib/thread_local_posix.cc", | 15 "lib/thread_local_posix.cc", |
16 "lib/thread_local_win.cc", | 16 "lib/thread_local_win.cc", |
17 ] | 17 ] |
18 | 18 |
| 19 deps = [ |
| 20 "//mojo/public/cpp/bindings:callback", |
| 21 "//mojo/public/cpp/system", |
| 22 ] |
| 23 |
19 if (is_win) { | 24 if (is_win) { |
20 # See crbug.com/342893: | 25 # See crbug.com/342893: |
21 sources -= [ | 26 sources -= [ |
22 "mutex.h", | 27 "mutex.h", |
23 "thread.h", | 28 "thread.h", |
24 "lib/mutex.cc", | 29 "lib/mutex.cc", |
25 "lib/thread.cc", | 30 "lib/thread.cc", |
26 ] | 31 ] |
27 } | 32 } |
28 } | 33 } |
OLD | NEW |