OLD | NEW |
---|---|
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 } |
OLD | NEW |