blob: 262e96aa8e4007be15fd406121c7d0b5b210383c [file] [log] [blame]
Ben Murdoch097c5b22016-05-18 11:27:45 +01001# 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
5import("//build/config/features.gni")
6import("//build/config/linux/pkg_config.gni")
7
8# CrOS doesn't install GTK, gconf or any gnome packages.
9assert(!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.
14assert(current_toolchain == default_toolchain)
15
16pkg_config("gconf") {
17 packages = [ "gconf-2.0" ]
18 defines = [ "USE_GCONF" ]
19}