OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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_edk.gni") | 5 import("../mojo_edk.gni") |
6 | 6 |
7 mojo_edk_source_set("util") { | 7 mojo_edk_source_set("util") { |
8 sources = [ | 8 sources = [ |
9 "command_line.cc", | 9 "command_line.cc", |
10 "command_line.h", | 10 "command_line.h", |
11 "cond_var.cc", | 11 "cond_var.cc", |
12 "cond_var.h", | 12 "cond_var.h", |
13 "logging_internal.cc", | 13 "logging_internal.cc", |
14 "logging_internal.h", | 14 "logging_internal.h", |
15 "make_unique.h", | 15 "make_unique.h", |
16 "mutex.cc", | 16 "mutex.cc", |
17 "mutex.h", | 17 "mutex.h", |
18 "ref_counted.h", | 18 "ref_counted.h", |
19 "ref_counted_internal.h", | 19 "ref_counted_internal.h", |
20 "ref_ptr.h", | 20 "ref_ptr.h", |
21 "ref_ptr_internal.h", | 21 "ref_ptr_internal.h", |
22 "scoped_file.h", | 22 "scoped_file.h", |
| 23 "string_printf.cc", |
| 24 "string_printf.h", |
23 "thread_annotations.h", | 25 "thread_annotations.h", |
24 "thread_checker.h", | 26 "thread_checker.h", |
25 "waitable_event.cc", | 27 "waitable_event.cc", |
26 "waitable_event.h", | 28 "waitable_event.h", |
27 ] | 29 ] |
28 | 30 |
29 mojo_sdk_public_deps = [ "mojo/public/cpp/system" ] | 31 mojo_sdk_public_deps = [ "mojo/public/cpp/system" ] |
30 } | 32 } |
31 | 33 |
32 mojo_edk_unittests("mojo_edk_util_unittests") { | 34 mojo_edk_unittests("mojo_edk_util_unittests") { |
33 sources = [ | 35 sources = [ |
34 "command_line_unittest.cc", | 36 "command_line_unittest.cc", |
35 "cond_var_unittest.cc", | 37 "cond_var_unittest.cc", |
36 "mutex_unittest.cc", | 38 "mutex_unittest.cc", |
37 "ref_counted_unittest.cc", | 39 "ref_counted_unittest.cc", |
| 40 "string_printf_unittest.cc", |
38 "thread_annotations_unittest.cc", | 41 "thread_annotations_unittest.cc", |
39 "thread_checker_unittest.cc", | 42 "thread_checker_unittest.cc", |
40 "waitable_event_unittest.cc", | 43 "waitable_event_unittest.cc", |
41 ] | 44 ] |
42 | 45 |
43 deps = [ | 46 deps = [ |
44 ":util", | 47 ":util", |
45 "//testing/gtest", | 48 "//testing/gtest", |
46 ] | 49 ] |
47 | 50 |
(...skipping 13 matching lines...) Expand all Loading... |
61 deps = [ | 64 deps = [ |
62 ":util", | 65 ":util", |
63 "//testing/gtest", | 66 "//testing/gtest", |
64 ] | 67 ] |
65 | 68 |
66 mojo_edk_deps = [ | 69 mojo_edk_deps = [ |
67 "mojo/edk/system/test", | 70 "mojo/edk/system/test", |
68 "mojo/edk/system/test:perf", | 71 "mojo/edk/system/test:perf", |
69 ] | 72 ] |
70 } | 73 } |
OLD | NEW |