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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 ], | 301 ], |
302 }, { | 302 }, { |
303 # Note: because of gyp predence rules this has to be defined as | 303 # Note: because of gyp predence rules this has to be defined as |
304 # 'sources/' rather than 'sources!'. | 304 # 'sources/' rather than 'sources!'. |
305 'sources/': [ | 305 'sources/': [ |
306 ['include', '^base/dragdrop/os_exchange_data.cc'], | 306 ['include', '^base/dragdrop/os_exchange_data.cc'], |
307 ], | 307 ], |
308 }], | 308 }], |
309 ], | 309 ], |
310 }], | 310 }], |
| 311 ['use_wayland == 1', { |
| 312 'sources/': [ |
| 313 ['exclude', '_(gtk|x)\\.cc$'], |
| 314 ['exclude', '/(gtk|x11)_[^/]*\\.cc$'], |
| 315 ['include', 'base/dragdrop/os_exchange_data_provider_gtk.cc'], |
| 316 ['include', 'base/dragdrop/os_exchange_data_provider_gtk.h'], |
| 317 ['include', 'base/dragdrop/gtk_dnd_util.cc'], |
| 318 ['include', 'base/dragdrop/gtk_dnd_util.h'], |
| 319 ['include', 'base/keycodes/keyboard_code_conversion_x.cc'], |
| 320 ['include', 'base/keycodes/keyboard_code_conversion_x.h'], |
| 321 ['include', 'base/view_prop.cc'], |
| 322 ['include', 'base/view_prop.h'], |
| 323 ['include', 'base/x/x11_util.cc'], |
| 324 ['include', 'base/x/x11_util.h'], |
| 325 ['include', 'base/x/x11_util_internal.h'], |
| 326 ['include', 'gfx/gtk_util.cc'], |
| 327 ['include', 'gfx/gtk_util.h'], |
| 328 ['include', 'gfx/path_gtk.cc'], |
| 329 ['include', 'gfx/platform_font_gtk.cc'], |
| 330 ['include', 'gfx/platform_font_gtk.h'], |
| 331 ], |
| 332 }, { |
| 333 'sources/': [ |
| 334 ['exclude', '_(wayland)\\.cc$'], |
| 335 ['exclude', '/(wayland)_[^/]*\\.cc$'], |
| 336 ], |
| 337 }], |
311 ['OS=="win"', { | 338 ['OS=="win"', { |
312 'sources': [ | 339 'sources': [ |
313 'gfx/canvas_direct2d.cc', | 340 'gfx/canvas_direct2d.cc', |
314 'gfx/canvas_direct2d.h', | 341 'gfx/canvas_direct2d.h', |
315 'gfx/gdi_util.cc', | 342 'gfx/gdi_util.cc', |
316 'gfx/gdi_util.h', | 343 'gfx/gdi_util.h', |
317 'gfx/icon_util.cc', | 344 'gfx/icon_util.cc', |
318 'gfx/icon_util.h', | 345 'gfx/icon_util.h', |
319 'gfx/native_theme_win.cc', | 346 'gfx/native_theme_win.cc', |
320 'gfx/native_theme_win.h', | 347 'gfx/native_theme_win.h', |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
486 'defines': [ | 513 'defines': [ |
487 'UI_IMPLEMENTATION', | 514 'UI_IMPLEMENTATION', |
488 ], | 515 ], |
489 }], | 516 }], |
490 ], | 517 ], |
491 }, | 518 }, |
492 ], | 519 ], |
493 }], | 520 }], |
494 ], | 521 ], |
495 } | 522 } |
OLD | NEW |