commit | 0e234d90efcc17f6f2a8ea886b1380f6c5b26bd7 | [log] [tgz] |
---|---|---|
author | Andrey Kosyakov <[email protected]> | Tue Mar 30 19:00:27 2021 |
committer | Chromium LUCI CQ <[email protected]> | Tue Mar 30 19:00:27 2021 |
tree | 245ba82c3c14c8d238931f022d0d110b296db530 | |
parent | c4acab53c3ed3779e4980b9826f41a0bbbc545b4 [diff] [blame] |
Fix build with gtk and pangocairo disabled This was regressed by https://chromium-review.googlesource.com/c/chromium/src/+/2780505 Bug: 1189902 Change-Id: I2c318ce96caeebc5c1f21b15edfc17d73e3831d2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2794815 Reviewed-by: Thomas Anderson <[email protected]> Reviewed-by: Robert Liao <[email protected]> Reviewed-by: Peter Kvitek <[email protected]> Commit-Queue: Andrey Kosyakov <[email protected]> Cr-Commit-Position: refs/heads/master@{#867709}
diff --git a/BUILD.gn b/BUILD.gn index cfcb80d4..ee5a0a3 100644 --- a/BUILD.gn +++ b/BUILD.gn
@@ -36,6 +36,10 @@ import("//build/config/android/config.gni") } +if (is_linux) { + import("build/config/linux/gtk/gtk.gni") +} + declare_args() { # A list of extra dependencies to add to the root target. This allows a # checkout to add additional targets without explicitly changing any checked- @@ -758,7 +762,7 @@ } } - if (is_linux && !is_chromecast) { + if (is_linux && !is_chromecast && use_gtk) { deps += [ "//ui/gtk:gtk_unittests" ] }