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

Side by Side 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: 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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 'color_profile_mac.mm', 148 'color_profile_mac.mm',
149 'color_profile_win.cc', 149 'color_profile_win.cc',
150 'color_utils.cc', 150 'color_utils.cc',
151 'color_utils.h', 151 'color_utils.h',
152 'display.cc', 152 'display.cc',
153 'display.h', 153 'display.h',
154 'display_change_notifier.cc', 154 'display_change_notifier.cc',
155 'display_change_notifier.h', 155 'display_change_notifier.h',
156 'display_observer.cc', 156 'display_observer.cc',
157 'display_observer.h', 157 'display_observer.h',
158 'dpi.cc',
159 'dpi.h',
160 'dpi_linux.cc',
sky 2014/10/22 21:11:18 I suspect dpi_linux should not be present on chrom
scottmg 2014/10/22 23:56:18 Done.
161 'dpi_win.cc',
158 'favicon_size.cc', 162 'favicon_size.cc',
159 'favicon_size.h', 163 'favicon_size.h',
160 'font.cc', 164 'font.cc',
161 'font.h', 165 'font.h',
162 'font_fallback.h', 166 'font_fallback.h',
163 'font_fallback_linux.cc', 167 'font_fallback_linux.cc',
164 'font_fallback_mac.cc', 168 'font_fallback_mac.cc',
165 'font_fallback_win.cc', 169 'font_fallback_win.cc',
166 'font_fallback_win.h', 170 'font_fallback_win.h',
167 'font_list.cc', 171 'font_list.cc',
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 'transform.cc', 295 'transform.cc',
292 'transform.h', 296 'transform.h',
293 'transform_util.cc', 297 'transform_util.cc',
294 'transform_util.h', 298 'transform_util.h',
295 'ui_gfx_exports.cc', 299 'ui_gfx_exports.cc',
296 'utf16_indexing.cc', 300 'utf16_indexing.cc',
297 'utf16_indexing.h', 301 'utf16_indexing.h',
298 'vsync_provider.h', 302 'vsync_provider.h',
299 'win/direct_write.cc', 303 'win/direct_write.cc',
300 'win/direct_write.h', 304 'win/direct_write.h',
301 'win/dpi.cc',
302 'win/dpi.h',
303 'win/hwnd_util.cc', 305 'win/hwnd_util.cc',
304 'win/hwnd_util.h', 306 'win/hwnd_util.h',
305 'win/scoped_set_map_mode.h', 307 'win/scoped_set_map_mode.h',
306 'win/singleton_hwnd.cc', 308 'win/singleton_hwnd.cc',
307 'win/singleton_hwnd.h', 309 'win/singleton_hwnd.h',
308 'win/window_impl.cc', 310 'win/window_impl.cc',
309 'win/window_impl.h', 311 'win/window_impl.h',
310 ], 312 ],
311 'includes': [ 313 'includes': [
312 '../../build/android/increase_size_for_speed.gypi', 314 '../../build/android/increase_size_for_speed.gypi',
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 'platform_font_ozone.cc', 410 'platform_font_ozone.cc',
409 'render_text_ozone.cc', 411 'render_text_ozone.cc',
410 ], 412 ],
411 }], 413 }],
412 ['desktop_linux==1 or chromeos==1', { 414 ['desktop_linux==1 or chromeos==1', {
413 'dependencies': [ 415 'dependencies': [
414 # font_render_params_linux.cc uses fontconfig 416 # font_render_params_linux.cc uses fontconfig
415 '<(DEPTH)/build/linux/system.gyp:fontconfig', 417 '<(DEPTH)/build/linux/system.gyp:fontconfig',
416 ], 418 ],
417 }], 419 }],
420 ['desktop_linux!=1 and OS!="win"', {
421 'sources!': [
422 'dpi.cc',
423 ],
424 }],
418 ], 425 ],
419 'target_conditions': [ 426 'target_conditions': [
420 # Need 'target_conditions' to override default filename_rules to include 427 # Need 'target_conditions' to override default filename_rules to include
421 # the file on iOS. 428 # the file on iOS.
422 ['OS == "ios"', { 429 ['OS == "ios"', {
423 'sources/': [ 430 'sources/': [
424 ['include', '^scoped_cg_context_save_gstate_mac\\.h$'], 431 ['include', '^scoped_cg_context_save_gstate_mac\\.h$'],
425 ], 432 ],
426 }], 433 }],
427 ], 434 ],
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 ], 488 ],
482 'variables': { 489 'variables': {
483 'jni_gen_package': 'ui/gfx', 490 'jni_gen_package': 'ui/gfx',
484 }, 491 },
485 'includes': [ '../../build/jni_generator.gypi' ], 492 'includes': [ '../../build/jni_generator.gypi' ],
486 }, 493 },
487 ], 494 ],
488 }], 495 }],
489 ], 496 ],
490 } 497 }
OLDNEW
« ui/gfx/dpi_linux.cc ('K') | « ui/gfx/dpi_win.cc ('k') | ui/gfx/pango_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698