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

Side by Side Diff: ui/ui.gyp

Issue 7942004: Consolidate/cleanup event cracking code; single out GdkEvents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: KeyboardCodeFromNative, Wayland, cleanup and consolidate. Created 9 years, 3 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 | Annotate | Revision Log
OLDNEW
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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 'base/dragdrop/gtk_dnd_util.h', 96 'base/dragdrop/gtk_dnd_util.h',
101 'base/dragdrop/os_exchange_data.cc', 97 'base/dragdrop/os_exchange_data.cc',
102 'base/dragdrop/os_exchange_data.h', 98 'base/dragdrop/os_exchange_data.h',
103 'base/dragdrop/os_exchange_data_provider_gtk.cc', 99 'base/dragdrop/os_exchange_data_provider_gtk.cc',
104 'base/dragdrop/os_exchange_data_provider_gtk.h', 100 'base/dragdrop/os_exchange_data_provider_gtk.h',
105 'base/dragdrop/os_exchange_data_provider_win.cc', 101 'base/dragdrop/os_exchange_data_provider_win.cc',
106 'base/dragdrop/os_exchange_data_provider_win.h', 102 'base/dragdrop/os_exchange_data_provider_win.h',
107 'base/events.h', 103 'base/events.h',
108 'base/gtk/event_synthesis_gtk.cc', 104 'base/gtk/event_synthesis_gtk.cc',
109 'base/gtk/event_synthesis_gtk.h', 105 'base/gtk/event_synthesis_gtk.h',
106 'base/gtk/events_gtk.cc',
110 'base/gtk/g_object_destructor_filo.cc', 107 'base/gtk/g_object_destructor_filo.cc',
111 'base/gtk/g_object_destructor_filo.h', 108 'base/gtk/g_object_destructor_filo.h',
112 'base/gtk/gtk_expanded_container.cc', 109 'base/gtk/gtk_expanded_container.cc',
113 'base/gtk/gtk_expanded_container.h', 110 'base/gtk/gtk_expanded_container.h',
114 'base/gtk/gtk_floating_container.cc', 111 'base/gtk/gtk_floating_container.cc',
115 'base/gtk/gtk_floating_container.h', 112 'base/gtk/gtk_floating_container.h',
116 'base/gtk/gtk_im_context_util.cc', 113 'base/gtk/gtk_im_context_util.cc',
117 'base/gtk/gtk_im_context_util.h', 114 'base/gtk/gtk_im_context_util.h',
118 'base/gtk/gtk_hig_constants.h', 115 'base/gtk/gtk_hig_constants.h',
119 'base/gtk/gtk_signal.h', 116 'base/gtk/gtk_signal.h',
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 'base/resource/resource_bundle_linux.cc', 178 'base/resource/resource_bundle_linux.cc',
182 'base/resource/resource_bundle_mac.mm', 179 'base/resource/resource_bundle_mac.mm',
183 'base/resource/resource_bundle_posix.cc', 180 'base/resource/resource_bundle_posix.cc',
184 'base/resource/resource_bundle_win.cc', 181 'base/resource/resource_bundle_win.cc',
185 'base/text/bytes_formatting.cc', 182 'base/text/bytes_formatting.cc',
186 'base/text/bytes_formatting.h', 183 'base/text/bytes_formatting.h',
187 'base/text/text_elider.cc', 184 'base/text/text_elider.cc',
188 'base/text/text_elider.h', 185 'base/text/text_elider.h',
189 'base/theme_provider.cc', 186 'base/theme_provider.cc',
190 'base/theme_provider.h', 187 'base/theme_provider.h',
188 'base/touchui/touch_factory.cc',
189 'base/touchui/touch_factory.h',
191 'base/ui_base_exports.cc', 190 'base/ui_base_exports.cc',
192 'base/ui_base_paths.cc', 191 'base/ui_base_paths.cc',
193 'base/ui_base_paths.h', 192 'base/ui_base_paths.h',
194 'base/ui_base_switches.cc', 193 'base/ui_base_switches.cc',
195 'base/ui_base_switches.h', 194 'base/ui_base_switches.h',
196 'base/ui_base_types.h', 195 'base/ui_base_types.h',
197 'base/ui_export.h', 196 'base/ui_export.h',
198 'base/view_prop.cc', 197 'base/view_prop.cc',
199 'base/view_prop.h', 198 'base/view_prop.h',
199 'base/wayland/events_wayland.cc',
200 'base/win/events_win.cc',
200 'base/win/hwnd_util.cc', 201 'base/win/hwnd_util.cc',
201 'base/win/hwnd_util.h', 202 'base/win/hwnd_util.h',
202 'base/win/ime_input.cc', 203 'base/win/ime_input.cc',
203 'base/win/ime_input.h', 204 'base/win/ime_input.h',
204 'base/win/mouse_wheel_util.cc', 205 'base/win/mouse_wheel_util.cc',
205 'base/win/mouse_wheel_util.h', 206 'base/win/mouse_wheel_util.h',
206 'base/win/shell.cc', 207 'base/win/shell.cc',
207 'base/win/shell.h', 208 'base/win/shell.h',
208 'base/win/window_impl.cc', 209 'base/win/window_impl.cc',
209 'base/win/window_impl.h', 210 'base/win/window_impl.h',
210 'base/x/active_window_watcher_x.cc', 211 'base/x/active_window_watcher_x.cc',
211 'base/x/active_window_watcher_x.h', 212 'base/x/active_window_watcher_x.h',
213 'base/x/events_x.cc',
212 'base/x/x11_util.cc', 214 'base/x/x11_util.cc',
213 'base/x/x11_util.h', 215 'base/x/x11_util.h',
214 'base/x/x11_util_internal.h', 216 'base/x/x11_util_internal.h',
215 'gfx/blit.cc', 217 'gfx/blit.cc',
216 'gfx/blit.h', 218 'gfx/blit.h',
217 'gfx/brush.h', 219 'gfx/brush.h',
218 'gfx/canvas.cc', 220 'gfx/canvas.cc',
219 'gfx/canvas.h', 221 'gfx/canvas.h',
220 'gfx/canvas_skia.h', 222 'gfx/canvas_skia.h',
221 'gfx/canvas_skia.cc', 223 'gfx/canvas_skia.cc',
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 'gfx/gdi_util.h', 395 'gfx/gdi_util.h',
394 'gfx/icon_util.cc', 396 'gfx/icon_util.cc',
395 'gfx/icon_util.h', 397 'gfx/icon_util.h',
396 'gfx/native_theme_win.cc', 398 'gfx/native_theme_win.cc',
397 'gfx/native_theme_win.h', 399 'gfx/native_theme_win.h',
398 'gfx/win_util.cc', 400 'gfx/win_util.cc',
399 'gfx/win_util.h', 401 'gfx/win_util.h',
400 ], 402 ],
401 'sources!': [ 403 'sources!': [
402 'base/clipboard/clipboard_aura.cc', 404 'base/clipboard/clipboard_aura.cc',
405 'base/touchui/touch_factory.cc',
406 'base/touchui/touch_factory.h',
403 'gfx/pango_util.h', 407 'gfx/pango_util.h',
404 'gfx/pango_util.cc', 408 'gfx/pango_util.cc',
405 'gfx/platform_font_pango.cc', 409 'gfx/platform_font_pango.cc',
406 'gfx/platform_font_pango.h', 410 'gfx/platform_font_pango.h',
407 ], 411 ],
408 'include_dirs': [ 412 'include_dirs': [
409 '../', 413 '../',
410 '../third_party/wtl/include', 414 '../third_party/wtl/include',
411 ], 415 ],
412 'msvs_settings': { 416 'msvs_settings': {
(...skipping 25 matching lines...) Expand all
438 'base/dragdrop/os_exchange_data.cc', 442 'base/dragdrop/os_exchange_data.cc',
439 'base/view_prop.cc', 443 'base/view_prop.cc',
440 'base/view_prop.h', 444 'base/view_prop.h',
441 ], 445 ],
442 'sources/': [ 446 'sources/': [
443 ['exclude', '^base/win/*'], 447 ['exclude', '^base/win/*'],
444 ], 448 ],
445 }], 449 }],
446 ['OS=="mac"', { 450 ['OS=="mac"', {
447 'sources!': [ 451 'sources!': [
452 'base/touchui/touch_factory.cc',
453 'base/touchui/touch_factory.h',
448 'gfx/pango_util.h', 454 'gfx/pango_util.h',
449 'gfx/pango_util.cc', 455 'gfx/pango_util.cc',
450 'gfx/platform_font_pango.h', 456 'gfx/platform_font_pango.h',
451 'gfx/platform_font_pango.cc', 457 'gfx/platform_font_pango.cc',
452 ], 458 ],
453 'link_settings': { 459 'link_settings': {
454 'libraries': [ 460 'libraries': [
455 '$(SDKROOT)/System/Library/Frameworks/Accelerate.framework', 461 '$(SDKROOT)/System/Library/Frameworks/Accelerate.framework',
456 '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework', 462 '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework',
457 ], 463 ],
458 }, 464 },
459 }], 465 }],
460 ['use_x11==1', { 466 ['use_x11==1', {
461 'all_dependent_settings': { 467 'all_dependent_settings': {
462 'ldflags': [ 468 'ldflags': [
463 '-L<(PRODUCT_DIR)', 469 '-L<(PRODUCT_DIR)',
464 ], 470 ],
465 'link_settings': { 471 'link_settings': {
466 'libraries': [ 472 'libraries': [
467 '-lX11', 473 '-lX11',
468 '-ldl', 474 '-ldl',
469 ], 475 ],
470 }, 476 },
471 }, 477 },
472 }, { # use_x11==0 478 }, { # use_x11==0
473 'sources!': [ 479 'sources!': [
474 'base/keycodes/keyboard_code_conversion_x.cc', 480 'base/keycodes/keyboard_code_conversion_x.cc',
475 'base/keycodes/keyboard_code_conversion_x.h', 481 'base/keycodes/keyboard_code_conversion_x.h',
482 'base/x/active_window_watcher_x.cc',
483 'base/x/active_window_watcher_x.h',
484 'base/x/events_x.cc',
485 'base/x/x11_util.cc',
486 'base/x/x11_util.h',
487 'base/x/x11_util_internal.h',
476 ], 488 ],
477 }], 489 }],
478 ['chromeos==1', { 490 ['chromeos==1', {
479 'sources': [ 491 'sources': [
480 'gfx/native_theme_chromeos.cc', 492 'gfx/native_theme_chromeos.cc',
481 'gfx/native_theme_chromeos.h', 493 'gfx/native_theme_chromeos.h',
482 ], 494 ],
483 }], 495 }],
484 ['toolkit_views==0', { 496 ['toolkit_views==0', {
485 'sources!': [ 497 'sources!': [
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 'shutil.copyfile(\'<(ui_copy_target)\', \'<(ui_copy_dest)\'); ' \ 558 'shutil.copyfile(\'<(ui_copy_target)\', \'<(ui_copy_dest)\'); ' \
547 'os.chmod(\'<(ui_copy_dest)\', 0700)' 559 'os.chmod(\'<(ui_copy_dest)\', 0700)'
548 ] 560 ]
549 } 561 }
550 ], 562 ],
551 }, 563 },
552 ], 564 ],
553 }], 565 }],
554 ], 566 ],
555 } 567 }
OLDNEW
« ui/base/events.h ('K') | « ui/base/x/events_x.cc ('k') | ui/ui_views.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698