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 "thread_annotations.h", | 23 "thread_annotations.h", |
24 "waitable_event.cc", | |
25 "waitable_event.h", | |
26 ] | 24 ] |
27 | 25 |
28 mojo_edk_configs = [ "mojo/edk/system:system_config" ] | 26 mojo_edk_configs = [ "mojo/edk/system:system_config" ] |
29 | 27 |
30 mojo_sdk_public_deps = [ "mojo/public/cpp/system" ] | 28 mojo_sdk_public_deps = [ "mojo/public/cpp/system" ] |
31 } | 29 } |
32 | 30 |
33 mojo_edk_source_set("unittests") { | 31 mojo_edk_source_set("unittests") { |
34 testonly = true | 32 testonly = true |
35 mojo_edk_visibility = [ "mojo/edk/system:mojo_system_unittests" ] | 33 mojo_edk_visibility = [ "mojo/edk/system:mojo_system_unittests" ] |
36 | 34 |
37 sources = [ | 35 sources = [ |
38 "command_line_unittest.cc", | 36 "command_line_unittest.cc", |
39 "cond_var_unittest.cc", | 37 "cond_var_unittest.cc", |
40 "mutex_unittest.cc", | 38 "mutex_unittest.cc", |
41 "ref_counted_unittest.cc", | 39 "ref_counted_unittest.cc", |
42 "thread_annotations_unittest.cc", | 40 "thread_annotations_unittest.cc", |
43 "waitable_event_unittest.cc", | |
44 ] | 41 ] |
45 | 42 |
46 deps = [ | 43 deps = [ |
47 ":util", | 44 ":util", |
48 "//testing/gtest", | 45 "//testing/gtest", |
49 ] | 46 ] |
50 | 47 |
51 mojo_sdk_deps = [ "mojo/public/cpp/system" ] | 48 mojo_sdk_deps = [ "mojo/public/cpp/system" ] |
52 | 49 |
53 mojo_edk_deps = [ "mojo/edk/system/test" ] | 50 mojo_edk_deps = [ "mojo/edk/system/test" ] |
(...skipping 10 matching lines...) Expand all Loading... |
64 deps = [ | 61 deps = [ |
65 ":util", | 62 ":util", |
66 "//testing/gtest", | 63 "//testing/gtest", |
67 ] | 64 ] |
68 | 65 |
69 mojo_edk_deps = [ | 66 mojo_edk_deps = [ |
70 "mojo/edk/system/test", | 67 "mojo/edk/system/test", |
71 "mojo/edk/system/test:perf", | 68 "mojo/edk/system/test:perf", |
72 ] | 69 ] |
73 } | 70 } |
OLD | NEW |