| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/linux/pkg_config.gni") | 5 import("//build/config/linux/pkg_config.gni") |
| 6 | 6 |
| 7 assert(is_linux, "This file should only be referenced on Linux") | 7 assert(is_linux, "This file should only be referenced on Linux") |
| 8 | 8 |
| 9 # Depend on //build/config/linux/gtk3 to use GTKv3. | 9 # Depend on //build/config/linux/gtk3 to use GTKv3. |
| 10 # | 10 # |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 ] | 21 ] |
| 22 } | 22 } |
| 23 | 23 |
| 24 # Basically no parts of Chrome should depend on GTK. To prevent accidents, the | 24 # Basically no parts of Chrome should depend on GTK. To prevent accidents, the |
| 25 # parts that explicitly need GTK are whitelisted on this target. | 25 # parts that explicitly need GTK are whitelisted on this target. |
| 26 group("gtk3") { | 26 group("gtk3") { |
| 27 visibility = [ | 27 visibility = [ |
| 28 "//chrome/browser/ui/libgtk2ui", | 28 "//chrome/browser/ui/libgtk2ui", |
| 29 "//gpu/gles2_conform_support:gles2_conform_test_windowless", | 29 "//gpu/gles2_conform_support:gles2_conform_test_windowless", |
| 30 "//remoting/host", | 30 "//remoting/host", |
| 31 "//remoting/host/it2me:common", |
| 31 "//remoting/host/it2me:remote_assistance_host", | 32 "//remoting/host/it2me:remote_assistance_host", |
| 32 "//remoting/host:remoting_me2me_host_static", | 33 "//remoting/host:remoting_me2me_host_static", |
| 34 "//remoting/test:it2me_standalone_host_main", |
| 33 ] | 35 ] |
| 34 public_configs = [ ":gtk3_internal_config" ] | 36 public_configs = [ ":gtk3_internal_config" ] |
| 35 } | 37 } |
| 36 | 38 |
| 37 # Depend on "gtkprint" to get this. | 39 # Depend on "gtkprint" to get this. |
| 38 pkg_config("gtkprint3_internal_config") { | 40 pkg_config("gtkprint3_internal_config") { |
| 39 packages = [ "gtk+-unix-print-3.0" ] | 41 packages = [ "gtk+-unix-print-3.0" ] |
| 40 } | 42 } |
| 41 | 43 |
| 42 group("gtkprint3") { | 44 group("gtkprint3") { |
| 43 visibility = [ "//chrome/browser/ui/libgtk2ui" ] | 45 visibility = [ "//chrome/browser/ui/libgtk2ui" ] |
| 44 public_configs = [ ":gtkprint3_internal_config" ] | 46 public_configs = [ ":gtkprint3_internal_config" ] |
| 45 } | 47 } |
| OLD | NEW |