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