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("//build/config/features.gni") |
5 import("//testing/test.gni") | 6 import("//testing/test.gni") |
6 import("//third_party/protobuf/proto_library.gni") | 7 import("//third_party/protobuf/proto_library.gni") |
7 | 8 |
| 9 assert(use_dbus) |
| 10 |
8 component("dbus") { | 11 component("dbus") { |
9 sources = [ | 12 sources = [ |
10 "bus.cc", | 13 "bus.cc", |
11 "bus.h", | 14 "bus.h", |
12 "dbus_export.h", | 15 "dbus_export.h", |
13 "dbus_statistics.cc", | 16 "dbus_statistics.cc", |
14 "dbus_statistics.h", | 17 "dbus_statistics.h", |
15 "exported_object.cc", | 18 "exported_object.cc", |
16 "exported_object.h", | 19 "exported_object.h", |
17 "file_descriptor.cc", | 20 "file_descriptor.cc", |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 | 125 |
123 deps = [ | 126 deps = [ |
124 ":dbus", | 127 ":dbus", |
125 "//base", | 128 "//base", |
126 "//base/test:test_support", | 129 "//base/test:test_support", |
127 "//build/config/sanitizers:deps", | 130 "//build/config/sanitizers:deps", |
128 ] | 131 ] |
129 | 132 |
130 configs += [ "//build/config/linux/dbus" ] | 133 configs += [ "//build/config/linux/dbus" ] |
131 } | 134 } |
OLD | NEW |