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

Unified Diff: chrome/test/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/test/BUILD.gn
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
index 227b8aa2d3cd3b5f444a0d5f291d03778d7173f3..97ef7d40b0b268030d0dd46e61b351948090b4a8 100644
--- a/chrome/test/BUILD.gn
+++ b/chrome/test/BUILD.gn
@@ -4089,7 +4089,11 @@ test("unit_tests") {
deps += [ "//build/linux/libgio" ]
}
if (!is_chromeos && !use_ozone && is_linux) {
- deps += [ "//chrome/browser/ui/libgtk2ui" ]
+ if (use_gtk3) {
+ deps += [ "//chrome/browser/ui/libgtk2ui:libgtk3ui" ]
+ } else {
+ deps += [ "//chrome/browser/ui/libgtk2ui:libgtk2ui" ]
+ }
}
if (enable_task_manager) {
« chrome/browser/ui/libgtk2ui/gtk2_ui.cc ('K') | « chrome/browser/ui/libgtk2ui/unity_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698