OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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("//testing/test.gni") | 5 import("//testing/test.gni") |
6 import("//third_party/protobuf/proto_library.gni") | 6 import("//third_party/protobuf/proto_library.gni") |
7 | 7 |
8 component("dbus") { | 8 component("dbus") { |
9 sources = [ | 9 sources = [ |
10 "bus.cc", | 10 "bus.cc", |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 "mock_exported_object.cc", | 62 "mock_exported_object.cc", |
63 "mock_exported_object.h", | 63 "mock_exported_object.h", |
64 "mock_object_manager.cc", | 64 "mock_object_manager.cc", |
65 "mock_object_manager.h", | 65 "mock_object_manager.h", |
66 "mock_object_proxy.cc", | 66 "mock_object_proxy.cc", |
67 "mock_object_proxy.h", | 67 "mock_object_proxy.h", |
68 ] | 68 ] |
69 | 69 |
70 public_deps = [ | 70 public_deps = [ |
71 ":dbus", | 71 ":dbus", |
| 72 "//base", |
72 ] | 73 ] |
73 deps = [ | 74 deps = [ |
74 "//testing/gmock", | 75 "//testing/gmock", |
75 ] | 76 ] |
76 | 77 |
77 configs += [ "//build/config/linux:dbus" ] | 78 configs += [ "//build/config/linux:dbus" ] |
78 } | 79 } |
79 | 80 |
80 test("dbus_unittests") { | 81 test("dbus_unittests") { |
81 sources = [ | 82 sources = [ |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 ] | 120 ] |
120 | 121 |
121 deps = [ | 122 deps = [ |
122 ":dbus", | 123 ":dbus", |
123 "//base", | 124 "//base", |
124 "//base/test:test_support", | 125 "//base/test:test_support", |
125 ] | 126 ] |
126 | 127 |
127 configs += [ "//build/config/linux:dbus" ] | 128 configs += [ "//build/config/linux:dbus" ] |
128 } | 129 } |
OLD | NEW |