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

Unified Diff: chrome/browser/BUILD.gn

Issue 2449243002: Gtk3 ui: Add libgtk3ui as a separate build component (Closed)
Patch Set: Created 4 years, 2 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
Index: chrome/browser/BUILD.gn
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index eeb861e22c622b4defaac1402068d876e2686f2b..fff52aace9ee744024bdd9395d8aa51461833cc1 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -2237,8 +2237,11 @@ split_static_library("browser") {
]
}
if (use_aura && !use_ozone && is_desktop_linux) {
- deps += [ "//chrome/browser/ui/libgtk2ui" ]
- allow_circular_includes_from += [ "//chrome/browser/ui/libgtk2ui" ]
+ if (use_gtk3) {
+ deps += [ "//chrome/browser/ui/libgtk2ui:libgtk3ui" ]
+ } else {
+ deps += [ "//chrome/browser/ui/libgtk2ui:libgtk2ui" ]
+ }
}
if (is_posix && !is_mac) {
sources += [

Powered by Google App Engine
This is Rietveld 408576698