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': { |
11 'conditions': [ | 11 'conditions': [ |
12 ['OS=="win"', | 12 ['OS=="win"', |
13 {'variables': {'toolkit_views2': 1}}, | 13 {'variables': {'toolkit_views2': 1}}, |
14 ], | 14 ], |
15 ['toolkit_views2==0', {'sources/': [ | 15 ['toolkit_views2==0', {'sources/': [ |
16 ['exclude', 'views/'], | 16 ['exclude', 'views/'], |
17 ]}], | 17 ]}], |
18 ['touchui==0', {'sources/': [ | 18 ['touchui==0', {'sources/': [ |
19 ['exclude', 'event_x.cc$'], | |
20 ['exclude', 'native_menu_x.cc$'], | |
21 ['exclude', 'native_menu_x.h$'], | |
22 ['exclude', 'touchui/'], | |
23 ['exclude', '_(touch)\\.cc$'], | 19 ['exclude', '_(touch)\\.cc$'], |
24 ]}], | 20 ]}], |
25 ], | 21 ], |
26 }, | 22 }, |
27 'includes': [ | 23 'includes': [ |
28 'ui_resources.gypi', | 24 'ui_resources.gypi', |
29 ], | 25 ], |
30 'targets': [ | 26 'targets': [ |
31 { | 27 { |
32 'target_name': 'ui', | 28 'target_name': 'ui', |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 'base/resource/resource_bundle_linux.cc', | 178 'base/resource/resource_bundle_linux.cc', |
183 'base/resource/resource_bundle_mac.mm', | 179 'base/resource/resource_bundle_mac.mm', |
184 'base/resource/resource_bundle_posix.cc', | 180 'base/resource/resource_bundle_posix.cc', |
185 'base/resource/resource_bundle_win.cc', | 181 'base/resource/resource_bundle_win.cc', |
186 'base/text/bytes_formatting.cc', | 182 'base/text/bytes_formatting.cc', |
187 'base/text/bytes_formatting.h', | 183 'base/text/bytes_formatting.h', |
188 'base/text/text_elider.cc', | 184 'base/text/text_elider.cc', |
189 'base/text/text_elider.h', | 185 'base/text/text_elider.h', |
190 'base/theme_provider.cc', | 186 'base/theme_provider.cc', |
191 'base/theme_provider.h', | 187 'base/theme_provider.h', |
| 188 'base/touch/touch_factory.cc', |
| 189 'base/touch/touch_factory.h', |
192 'base/ui_base_exports.cc', | 190 'base/ui_base_exports.cc', |
193 'base/ui_base_paths.cc', | 191 'base/ui_base_paths.cc', |
194 'base/ui_base_paths.h', | 192 'base/ui_base_paths.h', |
195 'base/ui_base_switches.cc', | 193 'base/ui_base_switches.cc', |
196 'base/ui_base_switches.h', | 194 'base/ui_base_switches.h', |
197 'base/ui_base_types.h', | 195 'base/ui_base_types.h', |
198 'base/ui_export.h', | 196 'base/ui_export.h', |
199 'base/view_prop.cc', | 197 'base/view_prop.cc', |
200 'base/view_prop.h', | 198 'base/view_prop.h', |
| 199 'base/wayland/events_wayland.cc', |
| 200 'base/win/events_win.cc', |
201 'base/win/hwnd_util.cc', | 201 'base/win/hwnd_util.cc', |
202 'base/win/hwnd_util.h', | 202 'base/win/hwnd_util.h', |
203 'base/win/ime_input.cc', | 203 'base/win/ime_input.cc', |
204 'base/win/ime_input.h', | 204 'base/win/ime_input.h', |
205 'base/win/mouse_wheel_util.cc', | 205 'base/win/mouse_wheel_util.cc', |
206 'base/win/mouse_wheel_util.h', | 206 'base/win/mouse_wheel_util.h', |
207 'base/win/shell.cc', | 207 'base/win/shell.cc', |
208 'base/win/shell.h', | 208 'base/win/shell.h', |
209 'base/win/window_impl.cc', | 209 'base/win/window_impl.cc', |
210 'base/win/window_impl.h', | 210 'base/win/window_impl.h', |
211 'base/x/active_window_watcher_x.cc', | 211 'base/x/active_window_watcher_x.cc', |
212 'base/x/active_window_watcher_x.h', | 212 'base/x/active_window_watcher_x.h', |
| 213 'base/x/events_x.cc', |
213 'base/x/x11_util.cc', | 214 'base/x/x11_util.cc', |
214 'base/x/x11_util.h', | 215 'base/x/x11_util.h', |
215 'base/x/x11_util_internal.h', | 216 'base/x/x11_util_internal.h', |
216 'gfx/blit.cc', | 217 'gfx/blit.cc', |
217 'gfx/blit.h', | 218 'gfx/blit.h', |
218 'gfx/brush.h', | 219 'gfx/brush.h', |
219 'gfx/canvas.cc', | 220 'gfx/canvas.cc', |
220 'gfx/canvas.h', | 221 'gfx/canvas.h', |
221 'gfx/canvas_skia.h', | 222 'gfx/canvas_skia.h', |
222 'gfx/canvas_skia.cc', | 223 'gfx/canvas_skia.cc', |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 'gfx/gdi_util.h', | 402 'gfx/gdi_util.h', |
402 'gfx/icon_util.cc', | 403 'gfx/icon_util.cc', |
403 'gfx/icon_util.h', | 404 'gfx/icon_util.h', |
404 'gfx/native_theme_win.cc', | 405 'gfx/native_theme_win.cc', |
405 'gfx/native_theme_win.h', | 406 'gfx/native_theme_win.h', |
406 'gfx/win_util.cc', | 407 'gfx/win_util.cc', |
407 'gfx/win_util.h', | 408 'gfx/win_util.h', |
408 ], | 409 ], |
409 'sources!': [ | 410 'sources!': [ |
410 'base/clipboard/clipboard_aura.cc', | 411 'base/clipboard/clipboard_aura.cc', |
| 412 'base/touch/touch_factory.cc', |
| 413 'base/touch/touch_factory.h', |
411 'gfx/pango_util.h', | 414 'gfx/pango_util.h', |
412 'gfx/pango_util.cc', | 415 'gfx/pango_util.cc', |
413 'gfx/platform_font_pango.cc', | 416 'gfx/platform_font_pango.cc', |
414 'gfx/platform_font_pango.h', | 417 'gfx/platform_font_pango.h', |
415 ], | 418 ], |
416 'include_dirs': [ | 419 'include_dirs': [ |
417 '../', | 420 '../', |
418 '../third_party/wtl/include', | 421 '../third_party/wtl/include', |
419 ], | 422 ], |
420 'msvs_settings': { | 423 'msvs_settings': { |
(...skipping 25 matching lines...) Expand all Loading... |
446 'base/dragdrop/os_exchange_data.cc', | 449 'base/dragdrop/os_exchange_data.cc', |
447 'base/view_prop.cc', | 450 'base/view_prop.cc', |
448 'base/view_prop.h', | 451 'base/view_prop.h', |
449 ], | 452 ], |
450 'sources/': [ | 453 'sources/': [ |
451 ['exclude', '^base/win/*'], | 454 ['exclude', '^base/win/*'], |
452 ], | 455 ], |
453 }], | 456 }], |
454 ['OS=="mac"', { | 457 ['OS=="mac"', { |
455 'sources!': [ | 458 'sources!': [ |
| 459 'base/touch/touch_factory.cc', |
| 460 'base/touch/touch_factory.h', |
456 'gfx/pango_util.h', | 461 'gfx/pango_util.h', |
457 'gfx/pango_util.cc', | 462 'gfx/pango_util.cc', |
458 'gfx/platform_font_pango.h', | 463 'gfx/platform_font_pango.h', |
459 'gfx/platform_font_pango.cc', | 464 'gfx/platform_font_pango.cc', |
460 ], | 465 ], |
461 'link_settings': { | 466 'link_settings': { |
462 'libraries': [ | 467 'libraries': [ |
463 '$(SDKROOT)/System/Library/Frameworks/Accelerate.framework', | 468 '$(SDKROOT)/System/Library/Frameworks/Accelerate.framework', |
464 '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework', | 469 '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework', |
465 ], | 470 ], |
466 }, | 471 }, |
467 }], | 472 }], |
468 ['use_x11==1', { | 473 ['use_x11==1', { |
469 'all_dependent_settings': { | 474 'all_dependent_settings': { |
470 'ldflags': [ | 475 'ldflags': [ |
471 '-L<(PRODUCT_DIR)', | 476 '-L<(PRODUCT_DIR)', |
472 ], | 477 ], |
473 'link_settings': { | 478 'link_settings': { |
474 'libraries': [ | 479 'libraries': [ |
475 '-lX11', | 480 '-lX11', |
476 '-ldl', | 481 '-ldl', |
477 ], | 482 ], |
478 }, | 483 }, |
479 }, | 484 }, |
480 }, { # use_x11==0 | 485 }, { # use_x11==0 |
481 'sources!': [ | 486 'sources!': [ |
482 'base/keycodes/keyboard_code_conversion_x.cc', | 487 'base/keycodes/keyboard_code_conversion_x.cc', |
483 'base/keycodes/keyboard_code_conversion_x.h', | 488 'base/keycodes/keyboard_code_conversion_x.h', |
| 489 'base/x/active_window_watcher_x.cc', |
| 490 'base/x/active_window_watcher_x.h', |
| 491 'base/x/events_x.cc', |
| 492 'base/x/x11_util.cc', |
| 493 'base/x/x11_util.h', |
| 494 'base/x/x11_util_internal.h', |
484 ], | 495 ], |
485 }], | 496 }], |
486 ['chromeos==1', { | 497 ['chromeos==1', { |
487 'sources': [ | 498 'sources': [ |
488 'gfx/native_theme_chromeos.cc', | 499 'gfx/native_theme_chromeos.cc', |
489 'gfx/native_theme_chromeos.h', | 500 'gfx/native_theme_chromeos.h', |
490 ], | 501 ], |
491 }], | 502 }], |
492 ['toolkit_views==0', { | 503 ['toolkit_views==0', { |
493 'sources!': [ | 504 'sources!': [ |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
562 'shutil.copyfile(\'<(ui_copy_target)\', \'<(ui_copy_dest)\'); '
\ | 573 'shutil.copyfile(\'<(ui_copy_target)\', \'<(ui_copy_dest)\'); '
\ |
563 'os.chmod(\'<(ui_copy_dest)\', 0700)' | 574 'os.chmod(\'<(ui_copy_dest)\', 0700)' |
564 ] | 575 ] |
565 } | 576 } |
566 ], | 577 ], |
567 }, | 578 }, |
568 ], | 579 ], |
569 }], | 580 }], |
570 ], | 581 ], |
571 } | 582 } |
OLD | NEW |