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

Unified Diff: chrome/browser/ui/libgtk2ui/BUILD.gn

Issue 970443002: Revert of Add remoting and PPAPI tests to GN build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/linux/gtk/BUILD.gn ('k') | ppapi/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/libgtk2ui/BUILD.gn
diff --git a/chrome/browser/ui/libgtk2ui/BUILD.gn b/chrome/browser/ui/libgtk2ui/BUILD.gn
index 272f8bb91496ec5f80b0efe38ff0a9d4aa85711a..a8455bebd4c528ccd8676aa8e708bc0d6c6eb22e 100644
--- a/chrome/browser/ui/libgtk2ui/BUILD.gn
+++ b/chrome/browser/ui/libgtk2ui/BUILD.gn
@@ -5,6 +5,21 @@
assert(is_linux, "This file should only be referenced on Linux")
import("//build/config/features.gni")
+import("//build/config/linux/pkg_config.gni")
+
+pkg_config("gtk") {
+ # Gtk requires gmodule, but it does not list it as a dependency in some
+ # misconfigured systems.
+ packages = [
+ "gmodule-2.0",
+ "gtk+-2.0",
+ "gthread-2.0",
+ ]
+}
+
+pkg_config("gtkprint") {
+ packages = [ "gtk+-unix-print-2.0" ]
+}
component("libgtk2ui") {
sources = [
@@ -64,6 +79,8 @@
defines = [ "LIBGTK2UI_IMPLEMENTATION" ]
configs += [
+ ":gtk",
+ ":gtkprint",
"//build/config/linux:gconf",
"//printing:cups",
]
@@ -92,8 +109,6 @@
"//base",
"//base/third_party/dynamic_annotations",
"//base:i18n",
- "//build/config/linux/gtk",
- "//build/config/linux/gtk:gtkprint",
"//chrome/app/theme:theme_resources",
"//chrome:extra_resources",
"//chrome:resources",
« no previous file with comments | « build/config/linux/gtk/BUILD.gn ('k') | ppapi/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698