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

Side by Side Diff: build/config/linux/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: 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
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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("//build/config/linux/pkg_config.gni") 6 import("//build/config/linux/pkg_config.gni")
6 7
7 # Note: if your target also depends on //dbus, you don't need to add this 8 # Note: if your target also depends on //dbus, you don't need to add this
8 # config (it will get added automatically if you depend on //dbus). 9 # config (it will get added automatically if you depend on //dbus).
9 pkg_config("dbus") { 10 if (use_dbus) {
mbjorge 2016/05/31 20:38:39 Changed this to an assert also
10 packages = [ "dbus-1" ] 11 pkg_config("dbus") {
12 packages = [ "dbus-1" ]
13 }
11 } 14 }
OLDNEW
« no previous file with comments | « build/config/linux/BUILD.gn ('k') | chrome/browser/BUILD.gn » ('j') | chrome/browser/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698