Ben Murdoch | 097c5b2 | 2016-05-18 11:27:45 +0100 | [diff] [blame^] | 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 |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | import("//build/config/features.gni") |
| 6 | import("//build/config/linux/pkg_config.gni") |
| 7 | |
| 8 | # CrOS doesn't install GTK, gconf or any gnome packages. |
| 9 | assert(!is_chromeos && use_gconf) |
| 10 | |
| 11 | # These packages should _only_ be expected when building for a target. |
| 12 | # If these extra checks are not run, gconf is required when building host |
| 13 | # tools for a CrOS build. |
| 14 | assert(current_toolchain == default_toolchain) |
| 15 | |
| 16 | pkg_config("gconf") { |
| 17 | packages = [ "gconf-2.0" ] |
| 18 | defines = [ "USE_GCONF" ] |
| 19 | } |