Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Side by Side Diff: dbus/BUILD.gn

Issue 409493002: Cleanup test_support target names. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/test/BUILD.gn ('k') | gpu/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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("//third_party/protobuf/proto_library.gni") 5 import("//third_party/protobuf/proto_library.gni")
6 6
7 component("dbus") { 7 component("dbus") {
8 sources = [ 8 sources = [
9 "bus.cc", 9 "bus.cc",
10 "bus.h", 10 "bus.h",
(...skipping 28 matching lines...) Expand all
39 deps = [ 39 deps = [
40 "//base", 40 "//base",
41 "//third_party/protobuf:protobuf_lite", 41 "//third_party/protobuf:protobuf_lite",
42 ] 42 ]
43 43
44 direct_dependent_configs = [ 44 direct_dependent_configs = [
45 "//build/config/linux:dbus", 45 "//build/config/linux:dbus",
46 ] 46 ]
47 } 47 }
48 48
49 proto_library("dbus_test_proto") { 49 proto_library("test_proto") {
50 sources = [ "test_proto.proto" ] 50 sources = [ "test_proto.proto" ]
51 } 51 }
52 52
53 # This target contains mocks that can be used to write unit tests without 53 # This target contains mocks that can be used to write unit tests without
54 # issuing actual D-Bus calls. 54 # issuing actual D-Bus calls.
55 source_set("dbus_test_support") { 55 source_set("test_support") {
56 sources = [ 56 sources = [
57 "mock_bus.cc", 57 "mock_bus.cc",
58 "mock_bus.h", 58 "mock_bus.h",
59 "mock_exported_object.cc", 59 "mock_exported_object.cc",
60 "mock_exported_object.h", 60 "mock_exported_object.h",
61 "mock_object_manager.cc", 61 "mock_object_manager.cc",
62 "mock_object_manager.h", 62 "mock_object_manager.h",
63 "mock_object_proxy.cc", 63 "mock_object_proxy.cc",
64 "mock_object_proxy.h", 64 "mock_object_proxy.h",
65 ] 65 ]
(...skipping 22 matching lines...) Expand all
88 "run_all_unittests.cc", 88 "run_all_unittests.cc",
89 "signal_sender_verification_unittest.cc", 89 "signal_sender_verification_unittest.cc",
90 "string_util_unittest.cc", 90 "string_util_unittest.cc",
91 "test_service.cc", 91 "test_service.cc",
92 "test_service.h", 92 "test_service.h",
93 "values_util_unittest.cc", 93 "values_util_unittest.cc",
94 ] 94 ]
95 95
96 deps = [ 96 deps = [
97 ":dbus", 97 ":dbus",
98 ":dbus_test_proto", 98 ":test_proto",
99 ":dbus_test_support", 99 ":test_support",
100 "//base/test:test_support", 100 "//base/test:test_support",
101 "//testing/gmock", 101 "//testing/gmock",
102 "//testing/gtest", 102 "//testing/gtest",
103 "//third_party/protobuf:protobuf_lite", 103 "//third_party/protobuf:protobuf_lite",
104 ] 104 ]
105 105
106 configs += [ 106 configs += [
107 "//build/config/linux:dbus", 107 "//build/config/linux:dbus",
108 ] 108 ]
109 } 109 }
110 110
111 executable("dbus_test_server") { 111 executable("dbus_test_server") {
112 sources = [ 112 sources = [
113 "test_server.cc", 113 "test_server.cc",
114 "test_service.cc", 114 "test_service.cc",
115 "test_service.h", 115 "test_service.h",
116 ] 116 ]
117 117
118 deps = [ 118 deps = [
119 ":dbus", 119 ":dbus",
120 "//base", 120 "//base",
121 "//base/test:test_support", 121 "//base/test:test_support",
122 ] 122 ]
123 123
124 configs += [ 124 configs += [
125 "//build/config/linux:dbus", 125 "//build/config/linux:dbus",
126 ] 126 ]
127 } 127 }
OLDNEW
« no previous file with comments | « content/test/BUILD.gn ('k') | gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698