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

Side by Side Diff: dbus/BUILD.gn

Issue 2009983002: Guard dbus component and config with assert(use_dbus) (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Remove unnecessary //dbus when //dbus:test_support exists Created 4 years, 6 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 | « chrome/test/BUILD.gn ('k') | device/media_transfer_protocol/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("//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
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 }
OLDNEW
« no previous file with comments | « chrome/test/BUILD.gn ('k') | device/media_transfer_protocol/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698