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("//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 23 matching lines...) Expand all Loading... |
34 | 34 |
35 defines = [ | 35 defines = [ |
36 "DBUS_IMPLEMENTATION", | 36 "DBUS_IMPLEMENTATION", |
37 ] | 37 ] |
38 | 38 |
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 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("dbus_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. |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 } |
OLD | NEW |