| 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/features.gni") |
| 6 import("//build/config/linux/pkg_config.gni") | 6 import("//build/config/linux/pkg_config.gni") |
| 7 | 7 |
| 8 # CrOS doesn't install GTK, gconf or any gnome packages. | 8 # CrOS doesn't install GTK, gconf or any gnome packages. |
| 9 assert(!is_chromeos && use_gconf) | 9 assert(!is_chromeos && use_gconf) |
| 10 | 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 |
| 11 pkg_config("gconf") { | 16 pkg_config("gconf") { |
| 12 packages = [ "gconf-2.0" ] | 17 packages = [ "gconf-2.0" ] |
| 13 defines = [ "USE_GCONF" ] | 18 defines = [ "USE_GCONF" ] |
| 14 } | 19 } |
| OLD | NEW |