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/gtk to use GTK. | 9 # Depend on //build/config/linux/gtk to use GTK. |
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("gtk") { | 26 group("gtk") { |
27 visibility = [ | 27 visibility = [ |
28 "//chrome/browser/ui/libgtk2ui", | 28 "//chrome/browser/ui/libgtk2ui", |
29 "//remoting/host", | 29 "//remoting/host", |
30 ] | 30 ] |
31 if (internal_gles2_conform_tests) { | |
Dirk Pranke
2015/03/30 20:38:21
this won't work because that variable isn't in sco
tfarina
2015/03/31 01:00:07
Done.
tfarina
2015/03/31 01:00:07
Done.
| |
32 visibility += | |
33 [ "//gpu/gles2_conform_support:gles2_conform_test_windowless" ] | |
34 } | |
31 public_configs = [ ":gtk_internal_config" ] | 35 public_configs = [ ":gtk_internal_config" ] |
32 } | 36 } |
33 | 37 |
34 # Depend on "gtkprint" to get this. | 38 # Depend on "gtkprint" to get this. |
35 pkg_config("gtkprint_internal_config") { | 39 pkg_config("gtkprint_internal_config") { |
36 packages = [ "gtk+-unix-print-2.0" ] | 40 packages = [ "gtk+-unix-print-2.0" ] |
37 } | 41 } |
38 | 42 |
39 group("gtkprint") { | 43 group("gtkprint") { |
40 visibility = [ "//chrome/browser/ui/libgtk2ui" ] | 44 visibility = [ "//chrome/browser/ui/libgtk2ui" ] |
41 public_configs = [ ":gtkprint_internal_config" ] | 45 public_configs = [ ":gtkprint_internal_config" ] |
42 } | 46 } |
OLD | NEW |