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