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 25 matching lines...) Expand all Loading... |
36 | 36 |
37 defines = [ | 37 defines = [ |
38 "DBUS_IMPLEMENTATION", | 38 "DBUS_IMPLEMENTATION", |
39 ] | 39 ] |
40 | 40 |
41 deps = [ | 41 deps = [ |
42 "//base", | 42 "//base", |
43 "//third_party/protobuf:protobuf_lite", | 43 "//third_party/protobuf:protobuf_lite", |
44 ] | 44 ] |
45 | 45 |
46 direct_dependent_configs = [ | 46 public_configs = [ |
47 "//build/config/linux:dbus", | 47 "//build/config/linux:dbus", |
48 ] | 48 ] |
49 } | 49 } |
50 | 50 |
51 proto_library("test_proto") { | 51 proto_library("test_proto") { |
52 sources = [ "test_proto.proto" ] | 52 sources = [ "test_proto.proto" ] |
53 } | 53 } |
54 | 54 |
55 # This target contains mocks that can be used to write unit tests without | 55 # This target contains mocks that can be used to write unit tests without |
56 # issuing actual D-Bus calls. | 56 # issuing actual D-Bus calls. |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 deps = [ | 123 deps = [ |
124 ":dbus", | 124 ":dbus", |
125 "//base", | 125 "//base", |
126 "//base/test:test_support", | 126 "//base/test:test_support", |
127 ] | 127 ] |
128 | 128 |
129 configs += [ | 129 configs += [ |
130 "//build/config/linux:dbus", | 130 "//build/config/linux:dbus", |
131 ] | 131 ] |
132 } | 132 } |
OLD | NEW |