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

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

Issue 2579683002: LibGtkUi: Partition NativeThemeGtk into NativeThemeGtk2 and NativeThemeGtk3 (Closed)
Patch Set: Fix lsan error Created 4 years 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 | « no previous file | chrome/browser/ui/libgtkui/gtk_ui.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/libgtkui/BUILD.gn
diff --git a/chrome/browser/ui/libgtkui/BUILD.gn b/chrome/browser/ui/libgtkui/BUILD.gn
index c234e66f8b0d8010c10bd31a6210d52e87364da2..837861558c49e8f0e93aca2ea5d6114413375824 100644
--- a/chrome/browser/ui/libgtkui/BUILD.gn
+++ b/chrome/browser/ui/libgtkui/BUILD.gn
@@ -46,8 +46,6 @@ common_sources = [
"libgtkui_export.h",
"menu_util.cc",
"menu_util.h",
- "native_theme_gtk.cc",
- "native_theme_gtk.h",
"print_dialog_gtk.cc",
"print_dialog_gtk.h",
"printing_gtk_util.cc",
@@ -129,7 +127,10 @@ group("libgtkui") {
}
component("libgtk2ui") {
- sources = common_sources
+ sources = common_sources + [
+ "native_theme_gtk2.cc",
+ "native_theme_gtk2.h",
+ ]
configs += common_configs
defines = [ "LIBGTKUI_IMPLEMENTATION" ]
@@ -152,7 +153,10 @@ component("libgtk2ui") {
# This is compiled with "all" even when it's not referenced to ensure that
# GTK3 continues to build. GTK3 is explicitly specified by some distros.
component("libgtk3ui") {
- sources = common_sources
+ sources = common_sources + [
+ "native_theme_gtk3.cc",
+ "native_theme_gtk3.h",
+ ]
configs += common_configs
defines = [ "LIBGTKUI_IMPLEMENTATION" ]
« no previous file with comments | « no previous file | chrome/browser/ui/libgtkui/gtk_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698