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", | |
73 ] | 72 ] |
74 deps = [ | 73 deps = [ |
75 "//testing/gmock", | 74 "//testing/gmock", |
76 ] | 75 ] |
77 | 76 |
78 configs += [ "//build/config/linux:dbus" ] | 77 configs += [ "//build/config/linux:dbus" ] |
79 } | 78 } |
80 | 79 |
81 test("dbus_unittests") { | 80 test("dbus_unittests") { |
82 sources = [ | 81 sources = [ |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 ] | 119 ] |
121 | 120 |
122 deps = [ | 121 deps = [ |
123 ":dbus", | 122 ":dbus", |
124 "//base", | 123 "//base", |
125 "//base/test:test_support", | 124 "//base/test:test_support", |
126 ] | 125 ] |
127 | 126 |
128 configs += [ "//build/config/linux:dbus" ] | 127 configs += [ "//build/config/linux:dbus" ] |
129 } | 128 } |
OLD | NEW |