| 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", |
| 24 ] | 26 ] |
| 25 | 27 |
| 26 mojo_edk_configs = [ "mojo/edk/system:system_config" ] | 28 mojo_edk_configs = [ "mojo/edk/system:system_config" ] |
| 27 | 29 |
| 28 mojo_sdk_public_deps = [ "mojo/public/cpp/system" ] | 30 mojo_sdk_public_deps = [ "mojo/public/cpp/system" ] |
| 29 } | 31 } |
| 30 | 32 |
| 31 mojo_edk_source_set("unittests") { | 33 mojo_edk_source_set("unittests") { |
| 32 testonly = true | 34 testonly = true |
| 33 mojo_edk_visibility = [ "mojo/edk/system:mojo_system_unittests" ] | 35 mojo_edk_visibility = [ "mojo/edk/system:mojo_system_unittests" ] |
| 34 | 36 |
| 35 sources = [ | 37 sources = [ |
| 36 "command_line_unittest.cc", | 38 "command_line_unittest.cc", |
| 37 "cond_var_unittest.cc", | 39 "cond_var_unittest.cc", |
| 38 "mutex_unittest.cc", | 40 "mutex_unittest.cc", |
| 39 "ref_counted_unittest.cc", | 41 "ref_counted_unittest.cc", |
| 40 "thread_annotations_unittest.cc", | 42 "thread_annotations_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 |
| 48 mojo_sdk_deps = [ "mojo/public/cpp/system" ] | 51 mojo_sdk_deps = [ "mojo/public/cpp/system" ] |
| 49 | 52 |
| 50 mojo_edk_deps = [ "mojo/edk/system/test" ] | 53 mojo_edk_deps = [ "mojo/edk/system/test" ] |
| (...skipping 10 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 |