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

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: 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 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",
81 "favicon_size.cc", 83 "favicon_size.cc",
82 "favicon_size.h", 84 "favicon_size.h",
83 "font.cc", 85 "font.cc",
84 "font.h", 86 "font.h",
85 "font_fallback.h", 87 "font_fallback.h",
86 "font_fallback_linux.cc", 88 "font_fallback_linux.cc",
87 "font_fallback_mac.cc", 89 "font_fallback_mac.cc",
88 "font_fallback_win.cc", 90 "font_fallback_win.cc",
89 "font_fallback_win.h", 91 "font_fallback_win.h",
90 "font_list.cc", 92 "font_list.cc",
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 "transform.cc", 201 "transform.cc",
200 "transform.h", 202 "transform.h",
201 "transform_util.cc", 203 "transform_util.cc",
202 "transform_util.h", 204 "transform_util.h",
203 "ui_gfx_exports.cc", 205 "ui_gfx_exports.cc",
204 "utf16_indexing.cc", 206 "utf16_indexing.cc",
205 "utf16_indexing.h", 207 "utf16_indexing.h",
206 "vsync_provider.h", 208 "vsync_provider.h",
207 "win/direct_write.cc", 209 "win/direct_write.cc",
208 "win/direct_write.h", 210 "win/direct_write.h",
209 "win/dpi.cc",
210 "win/dpi.h",
211 "win/hwnd_util.cc", 211 "win/hwnd_util.cc",
212 "win/hwnd_util.h", 212 "win/hwnd_util.h",
213 "win/scoped_set_map_mode.h", 213 "win/scoped_set_map_mode.h",
214 "win/singleton_hwnd.cc", 214 "win/singleton_hwnd.cc",
215 "win/singleton_hwnd.h", 215 "win/singleton_hwnd.h",
216 "win/window_impl.cc", 216 "win/window_impl.cc",
217 "win/window_impl.h", 217 "win/window_impl.h",
218 ] 218 ]
219 219
220 defines = [ "GFX_IMPLEMENTATION" ] 220 defines = [ "GFX_IMPLEMENTATION" ]
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 "gdi_util.h", 318 "gdi_util.h",
319 "icon_util.cc", 319 "icon_util.cc",
320 "icon_util.h", 320 "icon_util.h",
321 ] 321 ]
322 } 322 }
323 323
324 # Linux. 324 # Linux.
325 if (is_linux) { 325 if (is_linux) {
326 configs += [ "//build/config/linux:fontconfig" ] 326 configs += [ "//build/config/linux:fontconfig" ]
327 } 327 }
328 if (!is_desktop_linux && !is_win) {
329 sources -= [
330 "dpi.cc",
331 ]
332 }
328 333
329 # Ozone stuff. 334 # Ozone stuff.
330 if (use_ozone) { 335 if (use_ozone) {
331 sources += [ 336 sources += [
332 "platform_font_ozone.cc", 337 "platform_font_ozone.cc",
333 ] 338 ]
334 } 339 }
335 340
336 if (!use_aura) { 341 if (!use_aura) {
337 sources -= [ 342 sources -= [
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 if (is_android) { 569 if (is_android) {
565 generate_jni("gfx_jni_headers") { 570 generate_jni("gfx_jni_headers") {
566 sources = [ 571 sources = [
567 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", 572 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java",
568 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", 573 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java",
569 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", 574 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java",
570 ] 575 ]
571 jni_package = "gfx" 576 jni_package = "gfx"
572 } 577 }
573 } 578 }
OLDNEW
« no previous file with comments | « ui/events/win/events_win.cc ('k') | ui/gfx/canvas_paint_win.h » ('j') | ui/gfx/dpi.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698