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

Side by Side Diff: ui/ui.gyp

Issue 24788002: events: Make it a separate component from ui. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 2 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
« no previous file with comments | « ui/surface/surface.gyp ('k') | ui/ui_unittests.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 'includes': [ 9 'includes': [
10 'shell_dialogs.gypi', 10 'shell_dialogs.gypi',
(...skipping 10 matching lines...) Expand all
21 '../base/base.gyp:base_static', 21 '../base/base.gyp:base_static',
22 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 22 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
23 '../net/net.gyp:net', 23 '../net/net.gyp:net',
24 '../skia/skia.gyp:skia', 24 '../skia/skia.gyp:skia',
25 '../third_party/icu/icu.gyp:icui18n', 25 '../third_party/icu/icu.gyp:icui18n',
26 '../third_party/icu/icu.gyp:icuuc', 26 '../third_party/icu/icu.gyp:icuuc',
27 '../third_party/libpng/libpng.gyp:libpng', 27 '../third_party/libpng/libpng.gyp:libpng',
28 '../third_party/zlib/zlib.gyp:zlib', 28 '../third_party/zlib/zlib.gyp:zlib',
29 '../url/url.gyp:url_lib', 29 '../url/url.gyp:url_lib',
30 'base/strings/ui_strings.gyp:ui_strings', 30 'base/strings/ui_strings.gyp:ui_strings',
31 'events/events.gyp:events',
31 'gfx/gfx.gyp:gfx', 32 'gfx/gfx.gyp:gfx',
32 'ui_resources', 33 'ui_resources',
33 ], 34 ],
34 'defines': [ 35 'defines': [
35 'UI_IMPLEMENTATION', 36 'UI_IMPLEMENTATION',
36 ], 37 ],
37 # Export these dependencies since text_elider.h includes ICU headers. 38 # Export these dependencies since text_elider.h includes ICU headers.
38 'export_dependent_settings': [ 39 'export_dependent_settings': [
39 '../net/net.gyp:net', 40 '../net/net.gyp:net',
40 '../third_party/icu/icu.gyp:icui18n', 41 '../third_party/icu/icu.gyp:icui18n',
41 '../third_party/icu/icu.gyp:icuuc', 42 '../third_party/icu/icu.gyp:icuuc',
43 'events/events.gyp:events',
42 'gfx/gfx.gyp:gfx', 44 'gfx/gfx.gyp:gfx',
43 ], 45 ],
44 'sources' : [ 46 'sources' : [
45 'android/ui_jni_registrar.cc', 47 'android/ui_jni_registrar.cc',
46 'android/ui_jni_registrar.h', 48 'android/ui_jni_registrar.h',
47 'android/view_android.cc', 49 'android/view_android.cc',
48 'android/view_android.h', 50 'android/view_android.h',
49 'android/window_android.cc', 51 'android/window_android.cc',
50 'android/window_android.h', 52 'android/window_android.h',
51 'base/accelerators/accelerator.cc', 53 'base/accelerators/accelerator.cc',
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 'base/cocoa/base_view.h', 92 'base/cocoa/base_view.h',
91 'base/cocoa/base_view.mm', 93 'base/cocoa/base_view.mm',
92 'base/cocoa/cocoa_event_utils.h', 94 'base/cocoa/cocoa_event_utils.h',
93 'base/cocoa/cocoa_event_utils.mm', 95 'base/cocoa/cocoa_event_utils.mm',
94 'base/cocoa/controls/hover_image_menu_button.h', 96 'base/cocoa/controls/hover_image_menu_button.h',
95 'base/cocoa/controls/hover_image_menu_button.mm', 97 'base/cocoa/controls/hover_image_menu_button.mm',
96 'base/cocoa/controls/hover_image_menu_button_cell.h', 98 'base/cocoa/controls/hover_image_menu_button_cell.h',
97 'base/cocoa/controls/hover_image_menu_button_cell.mm', 99 'base/cocoa/controls/hover_image_menu_button_cell.mm',
98 'base/cocoa/controls/hyperlink_button_cell.h', 100 'base/cocoa/controls/hyperlink_button_cell.h',
99 'base/cocoa/controls/hyperlink_button_cell.mm', 101 'base/cocoa/controls/hyperlink_button_cell.mm',
100 'base/cocoa/events_mac.mm',
101 'base/cocoa/find_pasteboard.h', 102 'base/cocoa/find_pasteboard.h',
102 'base/cocoa/find_pasteboard.mm', 103 'base/cocoa/find_pasteboard.mm',
103 'base/cocoa/flipped_view.h', 104 'base/cocoa/flipped_view.h',
104 'base/cocoa/flipped_view.mm', 105 'base/cocoa/flipped_view.mm',
105 'base/cocoa/focus_tracker.h', 106 'base/cocoa/focus_tracker.h',
106 'base/cocoa/focus_tracker.mm', 107 'base/cocoa/focus_tracker.mm',
107 'base/cocoa/focus_window_set.h', 108 'base/cocoa/focus_window_set.h',
108 'base/cocoa/focus_window_set.mm', 109 'base/cocoa/focus_window_set.mm',
109 'base/cocoa/fullscreen_window_manager.h', 110 'base/cocoa/fullscreen_window_manager.h',
110 'base/cocoa/fullscreen_window_manager.mm', 111 'base/cocoa/fullscreen_window_manager.mm',
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 'base/dragdrop/gtk_dnd_util.cc', 161 'base/dragdrop/gtk_dnd_util.cc',
161 'base/dragdrop/gtk_dnd_util.h', 162 'base/dragdrop/gtk_dnd_util.h',
162 'base/dragdrop/os_exchange_data.cc', 163 'base/dragdrop/os_exchange_data.cc',
163 'base/dragdrop/os_exchange_data.h', 164 'base/dragdrop/os_exchange_data.h',
164 'base/dragdrop/os_exchange_data_provider_aurax11.cc', 165 'base/dragdrop/os_exchange_data_provider_aurax11.cc',
165 'base/dragdrop/os_exchange_data_provider_aurax11.h', 166 'base/dragdrop/os_exchange_data_provider_aurax11.h',
166 'base/dragdrop/os_exchange_data_provider_aura.cc', 167 'base/dragdrop/os_exchange_data_provider_aura.cc',
167 'base/dragdrop/os_exchange_data_provider_aura.h', 168 'base/dragdrop/os_exchange_data_provider_aura.h',
168 'base/dragdrop/os_exchange_data_provider_win.cc', 169 'base/dragdrop/os_exchange_data_provider_win.cc',
169 'base/dragdrop/os_exchange_data_provider_win.h', 170 'base/dragdrop/os_exchange_data_provider_win.h',
170 'events/gestures/gesture_configuration.cc',
171 'events/gestures/gesture_configuration.h',
172 'events/gestures/gesture_point.cc',
173 'events/gestures/gesture_point.h',
174 'events/gestures/gesture_recognizer.h',
175 'events/gestures/gesture_recognizer_impl.cc',
176 'events/gestures/gesture_recognizer_impl.h',
177 'events/gestures/gesture_sequence.cc',
178 'events/gestures/gesture_sequence.h',
179 'events/gestures/gesture_types.cc',
180 'events/gestures/gesture_types.h',
181 'events/gestures/gesture_util.cc',
182 'events/gestures/gesture_util.h',
183 'events/gestures/velocity_calculator.cc',
184 'events/gestures/velocity_calculator.h',
185 'base/gtk/event_synthesis_gtk.cc', 171 'base/gtk/event_synthesis_gtk.cc',
186 'base/gtk/event_synthesis_gtk.h', 172 'base/gtk/event_synthesis_gtk.h',
187 'base/gtk/focus_store_gtk.cc', 173 'base/gtk/focus_store_gtk.cc',
188 'base/gtk/focus_store_gtk.h', 174 'base/gtk/focus_store_gtk.h',
189 'base/gtk/g_object_destructor_filo.cc', 175 'base/gtk/g_object_destructor_filo.cc',
190 'base/gtk/g_object_destructor_filo.h', 176 'base/gtk/g_object_destructor_filo.h',
191 'base/gtk/gtk_expanded_container.cc', 177 'base/gtk/gtk_expanded_container.cc',
192 'base/gtk/gtk_expanded_container.h', 178 'base/gtk/gtk_expanded_container.h',
193 'base/gtk/gtk_floating_container.cc', 179 'base/gtk/gtk_floating_container.cc',
194 'base/gtk/gtk_floating_container.h', 180 'base/gtk/gtk_floating_container.h',
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 'base/x/selection_owner.h', 310 'base/x/selection_owner.h',
325 'base/x/selection_requestor.cc', 311 'base/x/selection_requestor.cc',
326 'base/x/selection_requestor.h', 312 'base/x/selection_requestor.h',
327 'base/x/selection_utils.cc', 313 'base/x/selection_utils.cc',
328 'base/x/selection_utils.h', 314 'base/x/selection_utils.h',
329 'base/x/work_area_watcher_x.cc', 315 'base/x/work_area_watcher_x.cc',
330 'base/x/work_area_watcher_x.h', 316 'base/x/work_area_watcher_x.h',
331 'base/x/x11_util.cc', 317 'base/x/x11_util.cc',
332 'base/x/x11_util.h', 318 'base/x/x11_util.h',
333 'base/x/x11_util_internal.h', 319 'base/x/x11_util_internal.h',
334 'events/event.cc',
335 'events/event.h',
336 'events/event_constants.h',
337 'events/event_dispatcher.cc',
338 'events/event_dispatcher.h',
339 'events/event_handler.cc',
340 'events/event_handler.h',
341 'events/event_switches.cc',
342 'events/event_switches.h',
343 'events/event_target.cc',
344 'events/event_target.h',
345 'events/event_utils.cc',
346 'events/event_utils.h',
347 'events/events_export.h',
348 'events/keycodes/keyboard_code_conversion.cc',
349 'events/keycodes/keyboard_code_conversion.h',
350 'events/keycodes/keyboard_code_conversion_android.cc',
351 'events/keycodes/keyboard_code_conversion_android.h',
352 'events/keycodes/keyboard_code_conversion_gtk.cc',
353 'events/keycodes/keyboard_code_conversion_gtk.h',
354 'events/keycodes/keyboard_code_conversion_mac.h',
355 'events/keycodes/keyboard_code_conversion_mac.mm',
356 'events/keycodes/keyboard_code_conversion_win.cc',
357 'events/keycodes/keyboard_code_conversion_win.h',
358 'events/keycodes/keyboard_code_conversion_x.cc',
359 'events/keycodes/keyboard_code_conversion_x.h',
360 'events/keycodes/keyboard_codes.h',
361 'events/latency_info.cc',
362 'events/latency_info.h',
363 'events/ozone/evdev/key_event_converter_ozone.cc',
364 'events/ozone/evdev/key_event_converter_ozone.h',
365 'events/ozone/evdev/touch_event_converter_ozone.cc',
366 'events/ozone/evdev/touch_event_converter_ozone.h',
367 'events/ozone/event_converter_ozone.cc',
368 'events/ozone/event_converter_ozone.h',
369 'events/ozone/event_factory_delegate_ozone.h',
370 'events/ozone/event_factory_ozone.cc',
371 'events/ozone/event_factory_ozone.h',
372 'events/ozone/events_ozone.cc',
373 'events/win/events_win.cc',
374 'events/x/device_data_manager.cc',
375 'events/x/device_data_manager.h',
376 'events/x/device_list_cache_x.cc',
377 'events/x/device_list_cache_x.h',
378 'events/x/events_x.cc',
379 'events/x/events_x_utils.cc',
380 'events/x/events_x_utils.h',
381 'events/x/touch_factory_x11.cc',
382 'events/x/touch_factory_x11.h',
383 'webui/jstemplate_builder.cc', 320 'webui/jstemplate_builder.cc',
384 'webui/jstemplate_builder.h', 321 'webui/jstemplate_builder.h',
385 'webui/web_ui_util.cc', 322 'webui/web_ui_util.cc',
386 'webui/web_ui_util.h', 323 'webui/web_ui_util.h',
387 ], 324 ],
388 'target_conditions': [ 325 'target_conditions': [
389 ['OS == "ios"', { 326 ['OS == "ios"', {
390 'sources/': [ 327 'sources/': [
391 ['include', '^base/l10n/l10n_util_mac\\.mm$'], 328 ['include', '^base/l10n/l10n_util_mac\\.mm$'],
392 ], 329 ],
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 ['use_aura==0 or OS!="linux"', { 381 ['use_aura==0 or OS!="linux"', {
445 'sources!': [ 382 'sources!': [
446 'base/resource/resource_bundle_auralinux.cc', 383 'base/resource/resource_bundle_auralinux.cc',
447 ], 384 ],
448 }], 385 }],
449 ['use_aura==1 and OS=="win"', { 386 ['use_aura==1 and OS=="win"', {
450 'sources/': [ 387 'sources/': [
451 ['exclude', 'base/dragdrop/drag_utils_aura.cc'], 388 ['exclude', 'base/dragdrop/drag_utils_aura.cc'],
452 ], 389 ],
453 }], 390 }],
454 ['use_aura==0 and toolkit_views==0', {
455 'sources/': [
456 ['exclude', '^events/gestures/*'],
457 ]
458 }],
459 ['use_glib == 1', { 391 ['use_glib == 1', {
460 'dependencies': [ 392 'dependencies': [
461 # font_gtk.cc uses fontconfig. 393 # font_gtk.cc uses fontconfig.
462 '../build/linux/system.gyp:fontconfig', 394 '../build/linux/system.gyp:fontconfig',
463 '../build/linux/system.gyp:glib', 395 '../build/linux/system.gyp:glib',
464 ], 396 ],
465 'conditions': [ 397 'conditions': [
466 ['toolkit_views==0', { 398 ['toolkit_views==0', {
467 # Note: because of gyp predence rules this has to be defined as 399 # Note: because of gyp predence rules this has to be defined as
468 # 'sources/' rather than 'sources!'. 400 # 'sources/' rather than 'sources!'.
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 '-lX11', 514 '-lX11',
583 '-lXcursor', 515 '-lXcursor',
584 '-lXrender', # For XRender* function calls in x11_util.cc. 516 '-lXrender', # For XRender* function calls in x11_util.cc.
585 ], 517 ],
586 }, 518 },
587 'dependencies': [ 519 'dependencies': [
588 '../build/linux/system.gyp:x11', 520 '../build/linux/system.gyp:x11',
589 '../build/linux/system.gyp:xext', 521 '../build/linux/system.gyp:xext',
590 '../build/linux/system.gyp:xfixes', 522 '../build/linux/system.gyp:xfixes',
591 ], 523 ],
592 }, { # use_x11==0
593 'sources/': [
594 ['exclude', 'events/keycodes/keyboard_code_conversion_x.*'],
595 ['exclude', 'base/x/*'],
596 ['exclude', 'events/x/*'],
597 ],
598 }], 524 }],
599 ['use_ozone==0', { 525 ['use_ozone==0', {
600 'sources!': [ 526 'sources!': [
601 'base/cursor/cursor_null.cc', 527 'base/cursor/cursor_null.cc',
602 'base/cursor/cursor_loader_null.cc', 528 'base/cursor/cursor_loader_null.cc',
603 'base/cursor/cursor_loader_null.h', 529 'base/cursor/cursor_loader_null.h',
604 ], 530 ],
605 }], 531 }],
606 ['toolkit_views==0', { 532 ['toolkit_views==0', {
607 'sources!': [ 533 'sources!': [
608 'base/dragdrop/drop_target_event.cc', 534 'base/dragdrop/drop_target_event.cc',
609 'base/dragdrop/drop_target_event.h', 535 'base/dragdrop/drop_target_event.h',
610 'events/event.cc',
611 'events/event.h',
612 'events/event_dispatcher.cc',
613 'events/event_dispatcher.h',
614 'events/event_handler.cc',
615 'events/event_handler.h',
616 'events/event_target.cc',
617 'events/event_target.h',
618 'events/x/events_x.cc',
619 ], 536 ],
620 }], 537 }],
621 ['OS=="android"', { 538 ['OS=="android"', {
622 'sources!': [ 539 'sources!': [
623 'base/accessibility/accessible_text_utils.cc', 540 'base/accessibility/accessible_text_utils.cc',
624 'base/accessibility/accessible_view_state.cc', 541 'base/accessibility/accessible_view_state.cc',
625 'base/default_theme_provider.cc', 542 'base/default_theme_provider.cc',
626 'base/dragdrop/drag_utils.cc', 543 'base/dragdrop/drag_utils.cc',
627 'base/dragdrop/drag_utils.h', 544 'base/dragdrop/drag_utils.h',
628 'events/event_utils.cc',
629 'events/keycodes/keyboard_code_conversion.cc',
630 'base/l10n/l10n_font_util.cc', 545 'base/l10n/l10n_font_util.cc',
631 'base/models/button_menu_item_model.cc', 546 'base/models/button_menu_item_model.cc',
632 'base/models/dialog_model.cc', 547 'base/models/dialog_model.cc',
633 'base/theme_provider.cc', 548 'base/theme_provider.cc',
634 'base/touch/touch_device.cc', 549 'base/touch/touch_device.cc',
635 'base/touch/touch_editing_controller.cc', 550 'base/touch/touch_editing_controller.cc',
636 'base/ui_base_types.cc', 551 'base/ui_base_types.cc',
637 ], 552 ],
638 'dependencies': [ 553 'dependencies': [
639 'ui_jni_headers', 554 'ui_jni_headers',
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
805 'xcode_settings': { 720 'xcode_settings': {
806 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO', 721 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO',
807 }, 722 },
808 }], 723 }],
809 ], 724 ],
810 }, 725 },
811 ], 726 ],
812 }], 727 }],
813 ], 728 ],
814 } 729 }
OLDNEW
« no previous file with comments | « ui/surface/surface.gyp ('k') | ui/ui_unittests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698