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

Side by Side Diff: dbus/BUILD.gn

Issue 2151653003: Convert some GN test support targets to static libs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: crypto Created 4 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
« no previous file with comments | « crypto/BUILD.gn ('k') | device/usb/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("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 import("//third_party/protobuf/proto_library.gni") 7 import("//third_party/protobuf/proto_library.gni")
8 8
9 assert(use_dbus) 9 assert(use_dbus)
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 } 52 }
53 53
54 proto_library("test_proto") { 54 proto_library("test_proto") {
55 sources = [ 55 sources = [
56 "test_proto.proto", 56 "test_proto.proto",
57 ] 57 ]
58 } 58 }
59 59
60 # This target contains mocks that can be used to write unit tests without 60 # This target contains mocks that can be used to write unit tests without
61 # issuing actual D-Bus calls. 61 # issuing actual D-Bus calls.
62 source_set("test_support") { 62 static_library("test_support") {
63 testonly = true 63 testonly = true
64 sources = [ 64 sources = [
65 "mock_bus.cc", 65 "mock_bus.cc",
66 "mock_bus.h", 66 "mock_bus.h",
67 "mock_exported_object.cc", 67 "mock_exported_object.cc",
68 "mock_exported_object.h", 68 "mock_exported_object.h",
69 "mock_object_manager.cc", 69 "mock_object_manager.cc",
70 "mock_object_manager.h", 70 "mock_object_manager.h",
71 "mock_object_proxy.cc", 71 "mock_object_proxy.cc",
72 "mock_object_proxy.h", 72 "mock_object_proxy.h",
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 125
126 deps = [ 126 deps = [
127 ":dbus", 127 ":dbus",
128 "//base", 128 "//base",
129 "//base/test:test_support", 129 "//base/test:test_support",
130 "//build/config/sanitizers:deps", 130 "//build/config/sanitizers:deps",
131 ] 131 ]
132 132
133 configs += [ "//build/config/linux/dbus" ] 133 configs += [ "//build/config/linux/dbus" ]
134 } 134 }
OLDNEW
« no previous file with comments | « crypto/BUILD.gn ('k') | device/usb/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698