| 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", |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 "thread_annotations.h", | 23 "thread_annotations.h", |
| 24 "waitable_event.cc", | 24 "waitable_event.cc", |
| 25 "waitable_event.h", | 25 "waitable_event.h", |
| 26 ] | 26 ] |
| 27 | 27 |
| 28 mojo_edk_configs = [ "mojo/edk/system:system_config" ] | 28 mojo_edk_configs = [ "mojo/edk/system:system_config" ] |
| 29 | 29 |
| 30 mojo_sdk_public_deps = [ "mojo/public/cpp/system" ] | 30 mojo_sdk_public_deps = [ "mojo/public/cpp/system" ] |
| 31 } | 31 } |
| 32 | 32 |
| 33 mojo_edk_source_set("unittests") { | 33 mojo_edk_unittests("mojo_edk_util_unittests") { |
| 34 testonly = true | |
| 35 mojo_edk_visibility = [ "mojo/edk/system:mojo_edk_system_unittests" ] | |
| 36 | |
| 37 sources = [ | 34 sources = [ |
| 38 "command_line_unittest.cc", | 35 "command_line_unittest.cc", |
| 39 "cond_var_unittest.cc", | 36 "cond_var_unittest.cc", |
| 40 "mutex_unittest.cc", | 37 "mutex_unittest.cc", |
| 41 "ref_counted_unittest.cc", | 38 "ref_counted_unittest.cc", |
| 42 "thread_annotations_unittest.cc", | 39 "thread_annotations_unittest.cc", |
| 43 "waitable_event_unittest.cc", | 40 "waitable_event_unittest.cc", |
| 44 ] | 41 ] |
| 45 | 42 |
| 46 deps = [ | 43 deps = [ |
| (...skipping 17 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 |