OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'toolkit_views2': 0, # ui/views/ is an experimental framework on Windows. | 8 'toolkit_views2': 0, # ui/views/ is an experimental framework on Windows. |
9 }, | 9 }, |
10 'target_defaults': { | 10 'target_defaults': { |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 'gfx/skia_util.cc', | 287 'gfx/skia_util.cc', |
288 'gfx/skia_util.h', | 288 'gfx/skia_util.h', |
289 'gfx/skia_utils_gtk.cc', | 289 'gfx/skia_utils_gtk.cc', |
290 'gfx/skia_utils_gtk.h', | 290 'gfx/skia_utils_gtk.h', |
291 'gfx/transform.h', | 291 'gfx/transform.h', |
292 'gfx/transform.cc', | 292 'gfx/transform.cc', |
293 ], | 293 ], |
294 'conditions': [ | 294 'conditions': [ |
295 ['use_aura==1', { | 295 ['use_aura==1', { |
296 'sources/': [ | 296 'sources/': [ |
| 297 ['exclude', 'gfx/gtk_'], |
| 298 ['exclude', 'gfx/screen_gtk.cc'], |
297 ['exclude', 'gfx/screen_win.cc'], | 299 ['exclude', 'gfx/screen_win.cc'], |
298 ['exclude', 'base/win/mouse_wheel_util.cc'], | 300 ['exclude', 'base/win/mouse_wheel_util.cc'], |
299 ['exclude', 'base/win/mouse_wheel_util.h'], | 301 ['exclude', 'base/win/mouse_wheel_util.h'], |
300 ], | 302 ], |
301 }], | 303 }], |
302 ['toolkit_uses_gtk == 1', { | 304 ['toolkit_uses_gtk == 1', { |
303 'dependencies': [ | 305 'dependencies': [ |
304 # font_gtk.cc uses fontconfig. | 306 # font_gtk.cc uses fontconfig. |
305 # TODO(evanm): I think this is wrong; it should just use GTK. | 307 # TODO(evanm): I think this is wrong; it should just use GTK. |
306 '../build/linux/system.gyp:fontconfig', | 308 '../build/linux/system.gyp:fontconfig', |
307 '../build/linux/system.gyp:gtk', | 309 '../build/linux/system.gyp:gtk', |
308 '../build/linux/system.gyp:x11', | 310 '../build/linux/system.gyp:x11', |
309 '../build/linux/system.gyp:xext', | 311 '../build/linux/system.gyp:xext', |
310 ], | 312 ], |
311 'sources': [ | 313 'sources': [ |
312 'gfx/gtk_native_view_id_manager.cc', | 314 'gfx/gtk_native_view_id_manager.cc', |
313 'gfx/gtk_native_view_id_manager.h', | 315 'gfx/gtk_native_view_id_manager.h', |
314 'gfx/gtk_preserve_window.cc', | 316 'gfx/gtk_preserve_window.cc', |
315 'gfx/gtk_preserve_window.h', | 317 'gfx/gtk_preserve_window.h', |
316 'gfx/gtk_util.cc', | 318 'gfx/gtk_util.cc', |
317 'gfx/gtk_util.h', | 319 'gfx/gtk_util.h', |
| 320 'gfx/linux_util.cc', |
| 321 'gfx/linux_util.h', |
318 'gfx/native_theme_linux.cc', | 322 'gfx/native_theme_linux.cc', |
319 'gfx/native_theme_linux.h', | 323 'gfx/native_theme_linux.h', |
320 ], | 324 ], |
321 'link_settings': { | 325 'link_settings': { |
322 'libraries': [ | 326 'libraries': [ |
323 '-lXrender', # For XRender* function calls in x11_util.cc. | 327 '-lXrender', # For XRender* function calls in x11_util.cc. |
324 ], | 328 ], |
325 }, | 329 }, |
326 'conditions': [ | 330 'conditions': [ |
327 ['toolkit_views==0', { | 331 ['toolkit_views==0', { |
(...skipping 25 matching lines...) Expand all Loading... |
353 ['include', 'base/dragdrop/os_exchange_data_provider_gtk.h'], | 357 ['include', 'base/dragdrop/os_exchange_data_provider_gtk.h'], |
354 ['include', 'base/keycodes/keyboard_code_conversion_x.cc'], | 358 ['include', 'base/keycodes/keyboard_code_conversion_x.cc'], |
355 ['include', 'base/keycodes/keyboard_code_conversion_x.h'], | 359 ['include', 'base/keycodes/keyboard_code_conversion_x.h'], |
356 ['include', 'base/view_prop.cc'], | 360 ['include', 'base/view_prop.cc'], |
357 ['include', 'base/view_prop.h'], | 361 ['include', 'base/view_prop.h'], |
358 ['include', 'gfx/gtk_util.cc'], | 362 ['include', 'gfx/gtk_util.cc'], |
359 ['include', 'gfx/gtk_util.h'], | 363 ['include', 'gfx/gtk_util.h'], |
360 ['include', 'gfx/path_gtk.cc'], | 364 ['include', 'gfx/path_gtk.cc'], |
361 ['include', 'gfx/platform_font_gtk.cc'], | 365 ['include', 'gfx/platform_font_gtk.cc'], |
362 ['include', 'gfx/platform_font_gtk.h'], | 366 ['include', 'gfx/platform_font_gtk.h'], |
| 367 ['include', 'gfx/linux_util.cc'], |
| 368 ['include', 'gfx/linux_util.h'], |
363 ], | 369 ], |
364 }], | 370 }], |
365 ['OS=="win"', { | 371 ['OS=="win"', { |
366 'sources': [ | 372 'sources': [ |
367 'gfx/canvas_direct2d.cc', | 373 'gfx/canvas_direct2d.cc', |
368 'gfx/canvas_direct2d.h', | 374 'gfx/canvas_direct2d.h', |
369 'gfx/gdi_util.cc', | 375 'gfx/gdi_util.cc', |
370 'gfx/gdi_util.h', | 376 'gfx/gdi_util.h', |
371 'gfx/icon_util.cc', | 377 'gfx/icon_util.cc', |
372 'gfx/icon_util.h', | 378 'gfx/icon_util.h', |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
540 'configurations': { | 546 'configurations': { |
541 'Common_Base': { | 547 'Common_Base': { |
542 'msvs_target_platform': 'x64', | 548 'msvs_target_platform': 'x64', |
543 }, | 549 }, |
544 }, | 550 }, |
545 }, | 551 }, |
546 ], | 552 ], |
547 }], | 553 }], |
548 ], | 554 ], |
549 } | 555 } |
OLD | NEW |