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

Side by Side Diff: dbus/BUILD.gn

Issue 1909273002: 🐳 Move linux pkg_config() calls into separate BUILD.gn files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments & visibility Created 4 years, 7 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 | « content/common/BUILD.gn ('k') | device/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("//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 27 matching lines...) Expand all
38 38
39 defines = [ "DBUS_IMPLEMENTATION" ] 39 defines = [ "DBUS_IMPLEMENTATION" ]
40 40
41 deps = [ 41 deps = [
42 "//third_party/protobuf:protobuf_lite", 42 "//third_party/protobuf:protobuf_lite",
43 ] 43 ]
44 public_deps = [ 44 public_deps = [
45 "//base", 45 "//base",
46 ] 46 ]
47 47
48 public_configs = [ "//build/config/linux:dbus" ] 48 public_configs = [ "//build/config/linux/dbus" ]
49 } 49 }
50 50
51 proto_library("test_proto") { 51 proto_library("test_proto") {
52 sources = [ 52 sources = [
53 "test_proto.proto", 53 "test_proto.proto",
54 ] 54 ]
55 } 55 }
56 56
57 # This target contains mocks that can be used to write unit tests without 57 # This target contains mocks that can be used to write unit tests without
58 # issuing actual D-Bus calls. 58 # issuing actual D-Bus calls.
(...skipping 10 matching lines...) Expand all
69 "mock_object_proxy.h", 69 "mock_object_proxy.h",
70 ] 70 ]
71 71
72 public_deps = [ 72 public_deps = [
73 ":dbus", 73 ":dbus",
74 ] 74 ]
75 deps = [ 75 deps = [
76 "//testing/gmock", 76 "//testing/gmock",
77 ] 77 ]
78 78
79 configs += [ "//build/config/linux:dbus" ] 79 configs += [ "//build/config/linux/dbus" ]
80 } 80 }
81 81
82 test("dbus_unittests") { 82 test("dbus_unittests") {
83 sources = [ 83 sources = [
84 "bus_unittest.cc", 84 "bus_unittest.cc",
85 "dbus_statistics_unittest.cc", 85 "dbus_statistics_unittest.cc",
86 "end_to_end_async_unittest.cc", 86 "end_to_end_async_unittest.cc",
87 "end_to_end_sync_unittest.cc", 87 "end_to_end_sync_unittest.cc",
88 "message_unittest.cc", 88 "message_unittest.cc",
89 "mock_unittest.cc", 89 "mock_unittest.cc",
(...skipping 12 matching lines...) Expand all
102 ":dbus", 102 ":dbus",
103 ":test_proto", 103 ":test_proto",
104 ":test_support", 104 ":test_support",
105 "//base/test:run_all_unittests", 105 "//base/test:run_all_unittests",
106 "//base/test:test_support", 106 "//base/test:test_support",
107 "//testing/gmock", 107 "//testing/gmock",
108 "//testing/gtest", 108 "//testing/gtest",
109 "//third_party/protobuf:protobuf_lite", 109 "//third_party/protobuf:protobuf_lite",
110 ] 110 ]
111 111
112 configs += [ "//build/config/linux:dbus" ] 112 configs += [ "//build/config/linux/dbus" ]
113 } 113 }
114 114
115 executable("dbus_test_server") { 115 executable("dbus_test_server") {
116 testonly = true 116 testonly = true
117 sources = [ 117 sources = [
118 "test_server.cc", 118 "test_server.cc",
119 "test_service.cc", 119 "test_service.cc",
120 "test_service.h", 120 "test_service.h",
121 ] 121 ]
122 122
123 deps = [ 123 deps = [
124 ":dbus", 124 ":dbus",
125 "//base", 125 "//base",
126 "//base/test:test_support", 126 "//base/test:test_support",
127 "//build/config/sanitizers:deps", 127 "//build/config/sanitizers:deps",
128 ] 128 ]
129 129
130 configs += [ "//build/config/linux:dbus" ] 130 configs += [ "//build/config/linux/dbus" ]
131 } 131 }
OLDNEW
« no previous file with comments | « content/common/BUILD.gn ('k') | device/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698