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

Unified Diff: chrome/test/BUILD.gn

Issue 2449243002: Gtk3 ui: Add libgtk3ui as a separate build component (Closed)
Patch Set: Add theme_properties dep to //chrome/browser/ui 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..d6824bd7f9d99f3d33edd2302d6403b4745fef85 100644
--- a/chrome/test/BUILD.gn
+++ b/chrome/test/BUILD.gn
@@ -572,7 +572,7 @@ if (!is_android) {
"../browser/ui/views/keyboard_access_browsertest.cc",
]
if (!use_ozone) {
- sources += [ "../browser/ui/libgtk2ui/select_file_dialog_interactive_uitest.cc" ]
+ sources += [ "../browser/ui/libgtkui/select_file_dialog_interactive_uitest.cc" ]
if (use_gtk3) {
configs += [ "//build/config/linux/gtk3:gtk3_internal_config" ]
} else {
@@ -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/libgtkui:libgtk3ui" ]
+ } else {
+ deps += [ "//chrome/browser/ui/libgtkui:libgtk2ui" ]
+ }
}
if (enable_task_manager) {
« no previous file with comments | « chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc ('k') | third_party/harfbuzz-ng/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698