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/linux/gtk/gtk.gni") | 5 import("//build/config/linux/gtk/gtk.gni") |
6 import("//build/config/linux/pkg_config.gni") | 6 import("//build/config/linux/pkg_config.gni") |
7 | 7 |
8 assert(is_linux, "This file should only be referenced on Linux") | 8 assert(is_linux, "This file should only be referenced on Linux") |
9 | 9 |
10 # The target in this file will automatically reference GTK2 or GTK3 depending | 10 # The target in this file will automatically reference GTK2 or GTK3 depending |
11 # on the state of the build flag. Some builds reference both 2 and 3, and some | 11 # on the state of the build flag. Some builds reference both 2 and 3, and some |
12 # builds reference neither, so both need to be available but in different | 12 # builds reference neither, so both need to be available but in different |
13 # directories so pkg-config is only run when necessary. | 13 # directories so pkg-config is only run when necessary. |
14 | 14 |
15 # Basically no parts of Chrome should depend on GTK. To prevent accidents, the | 15 # Basically no parts of Chrome should depend on GTK. To prevent accidents, the |
16 # parts that explicitly need GTK are whitelisted on this target. | 16 # parts that explicitly need GTK are whitelisted on this target. |
17 group("gtk") { | 17 group("gtk") { |
18 visibility = [ | 18 visibility = [ |
19 "//chrome/test:interactive_ui_tests", | 19 "//chrome/test:interactive_ui_tests", |
20 "//gpu/gles2_conform_support:gles2_conform_test_windowless", | 20 "//gpu/gles2_conform_support:gles2_conform_test_windowless", |
21 "//remoting/host", | 21 "//remoting/host", |
22 "//remoting/host/it2me:common", | 22 "//remoting/host/it2me:common", |
23 "//remoting/host/it2me:remote_assistance_host", | 23 "//remoting/host/it2me:remote_assistance_host", |
24 "//remoting/host:remoting_me2me_host_static", | 24 "//remoting/host:remoting_me2me_host_static", |
25 "//remoting/test:it2me_standalone_host_main", | 25 "//remoting/test:it2me_standalone_host_main", |
| 26 "//webrtc/examples:peerconnection_client", |
26 ] | 27 ] |
27 | 28 |
28 if (use_gtk3) { | 29 if (use_gtk3) { |
29 public_deps = [ | 30 public_deps = [ |
30 "//build/config/linux/gtk3", | 31 "//build/config/linux/gtk3", |
31 ] | 32 ] |
32 } else { | 33 } else { |
33 public_deps = [ | 34 public_deps = [ |
34 "//build/config/linux/gtk2", | 35 "//build/config/linux/gtk2", |
35 ] | 36 ] |
36 } | 37 } |
37 } | 38 } |
OLD | NEW |