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

Unified Diff: ui/gfx/gfx.gyp

Issue 659883002: Enable hidpi on Linux, refactor a bit on Windows to share Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resource bundle loading Created 6 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: ui/gfx/gfx.gyp
diff --git a/ui/gfx/gfx.gyp b/ui/gfx/gfx.gyp
index edd439487f98ab4684b56c52b71dd84761673db9..e2dccfd67ed706b80215dc98f3d13d19835cf3ba 100644
--- a/ui/gfx/gfx.gyp
+++ b/ui/gfx/gfx.gyp
@@ -160,6 +160,8 @@
'display_change_notifier.h',
'display_observer.cc',
'display_observer.h',
+ 'dpi.cc',
+ 'dpi.h',
'favicon_size.cc',
'favicon_size.h',
'font.cc',
@@ -303,8 +305,6 @@
'vsync_provider.h',
'win/direct_write.cc',
'win/direct_write.h',
- 'win/dpi.cc',
- 'win/dpi.h',
'win/hwnd_util.cc',
'win/hwnd_util.h',
'win/scoped_set_map_mode.h',
@@ -420,6 +420,11 @@
'<(DEPTH)/build/linux/system.gyp:fontconfig',
],
}],
+ ['desktop_linux!=1 and OS!="win"', {
+ 'sources!': [
+ 'dpi.cc',
+ ],
+ }],
],
'target_conditions': [
# Need 'target_conditions' to override default filename_rules to include

Powered by Google App Engine
This is Rietveld 408576698