Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Side by Side Diff: build/config/linux/gtk/BUILD.gn

Issue 969173002: Add remoting and PPAPI tests to GN build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « BUILD.gn ('k') | build/toolchain/win/midl.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 import("//build/config/linux/pkg_config.gni")
6
7 assert(is_linux, "This file should only be referenced on Linux")
8
9 # Depend on //build/config/linux/gtk to use GTK.
10 #
11 # GN doesn't check visibility for configs so we give this an obviously internal
12 # name to discourage random targets from accidentally depending on this and
13 # bypassing the GTK target's visibility.
14 pkg_config("gtk_internal_config") {
15 # Gtk requires gmodule, but it does not list it as a dependency in some
16 # misconfigured systems.
17 packages = [
18 "gmodule-2.0",
19 "gtk+-2.0",
20 "gthread-2.0",
21 ]
22 }
23
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.
26 group("gtk") {
27 visibility = [
28 "//chrome/browser/ui/libgtk2ui",
29 "//remoting/host",
30 ]
31 direct_dependent_configs = [ ":gtk_internal_config" ]
32 }
33
34 # Depend on "gtkprint" to get this.
35 pkg_config("gtkprint_internal_config") {
36 packages = [ "gtk+-unix-print-2.0" ]
37 }
38
39 group("gtkprint") {
40 visibility = [ "//chrome/browser/ui/libgtk2ui" ]
41 direct_dependent_configs = [ ":gtkprint_internal_config" ]
42 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | build/toolchain/win/midl.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698