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

Side by Side Diff: ui/gfx/BUILD.gn

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: constants Created 6 years, 1 month 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 if (is_android) { 7 if (is_android) {
8 import("//build/config/android/config.gni") 8 import("//build/config/android/config.gni")
9 import("//build/config/android/rules.gni") 9 import("//build/config/android/rules.gni")
10 } 10 }
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 "color_profile_mac.mm", 71 "color_profile_mac.mm",
72 "color_profile_win.cc", 72 "color_profile_win.cc",
73 "color_utils.cc", 73 "color_utils.cc",
74 "color_utils.h", 74 "color_utils.h",
75 "display.cc", 75 "display.cc",
76 "display.h", 76 "display.h",
77 "display_change_notifier.cc", 77 "display_change_notifier.cc",
78 "display_change_notifier.h", 78 "display_change_notifier.h",
79 "display_observer.cc", 79 "display_observer.cc",
80 "display_observer.h", 80 "display_observer.h",
81 "dpi.cc",
82 "dpi.h",
83 "dpi_linux.cc",
84 "dpi_win.cc",
81 "favicon_size.cc", 85 "favicon_size.cc",
82 "favicon_size.h", 86 "favicon_size.h",
83 "font.cc", 87 "font.cc",
84 "font.h", 88 "font.h",
85 "font_fallback.h", 89 "font_fallback.h",
86 "font_fallback_linux.cc", 90 "font_fallback_linux.cc",
87 "font_fallback_mac.cc", 91 "font_fallback_mac.cc",
88 "font_fallback_win.cc", 92 "font_fallback_win.cc",
89 "font_fallback_win.h", 93 "font_fallback_win.h",
90 "font_list.cc", 94 "font_list.cc",
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 "transform.cc", 203 "transform.cc",
200 "transform.h", 204 "transform.h",
201 "transform_util.cc", 205 "transform_util.cc",
202 "transform_util.h", 206 "transform_util.h",
203 "ui_gfx_exports.cc", 207 "ui_gfx_exports.cc",
204 "utf16_indexing.cc", 208 "utf16_indexing.cc",
205 "utf16_indexing.h", 209 "utf16_indexing.h",
206 "vsync_provider.h", 210 "vsync_provider.h",
207 "win/direct_write.cc", 211 "win/direct_write.cc",
208 "win/direct_write.h", 212 "win/direct_write.h",
209 "win/dpi.cc",
210 "win/dpi.h",
211 "win/hwnd_util.cc", 213 "win/hwnd_util.cc",
212 "win/hwnd_util.h", 214 "win/hwnd_util.h",
213 "win/scoped_set_map_mode.h", 215 "win/scoped_set_map_mode.h",
214 "win/singleton_hwnd.cc", 216 "win/singleton_hwnd.cc",
215 "win/singleton_hwnd.h", 217 "win/singleton_hwnd.h",
216 "win/window_impl.cc", 218 "win/window_impl.cc",
217 "win/window_impl.h", 219 "win/window_impl.h",
218 ] 220 ]
219 221
220 defines = [ "GFX_IMPLEMENTATION" ] 222 defines = [ "GFX_IMPLEMENTATION" ]
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 "gdi_util.h", 319 "gdi_util.h",
318 "icon_util.cc", 320 "icon_util.cc",
319 "icon_util.h", 321 "icon_util.h",
320 ] 322 ]
321 } 323 }
322 324
323 # Linux. 325 # Linux.
324 if (is_linux) { 326 if (is_linux) {
325 configs += [ "//build/config/linux:fontconfig" ] 327 configs += [ "//build/config/linux:fontconfig" ]
326 } 328 }
329 if (!is_desktop_linux && !is_win) {
330 sources -= [
331 "dpi.cc",
332 ]
333 }
327 334
328 # Ozone stuff. 335 # Ozone stuff.
329 if (use_ozone) { 336 if (use_ozone) {
330 sources += [ 337 sources += [
331 "platform_font_ozone.cc", 338 "platform_font_ozone.cc",
332 ] 339 ]
333 } 340 }
334 341
335 if (!use_aura) { 342 if (!use_aura) {
336 sources -= [ 343 sources -= [
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 if (is_android) { 570 if (is_android) {
564 generate_jni("gfx_jni_headers") { 571 generate_jni("gfx_jni_headers") {
565 sources = [ 572 sources = [
566 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", 573 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java",
567 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", 574 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java",
568 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", 575 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java",
569 ] 576 ]
570 jni_package = "gfx" 577 jni_package = "gfx"
571 } 578 }
572 } 579 }
OLDNEW
« no previous file with comments | « ui/events/win/events_win.cc ('k') | ui/gfx/canvas_paint_win.h » ('j') | ui/gfx/dpi.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698