| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 'accelerators/platform_accelerator_cocoa.mm', | 49 'accelerators/platform_accelerator_cocoa.mm', |
| 50 'android/system_ui_resource_manager.h', | 50 'android/system_ui_resource_manager.h', |
| 51 'android/ui_base_jni_registrar.cc', | 51 'android/ui_base_jni_registrar.cc', |
| 52 'android/ui_base_jni_registrar.h', | 52 'android/ui_base_jni_registrar.h', |
| 53 'android/view_android.cc', | 53 'android/view_android.cc', |
| 54 'android/view_android.h', | 54 'android/view_android.h', |
| 55 'android/window_android.cc', | 55 'android/window_android.cc', |
| 56 'android/window_android.h', | 56 'android/window_android.h', |
| 57 'android/window_android_compositor.h', | 57 'android/window_android_compositor.h', |
| 58 'android/window_android_observer.h', | 58 'android/window_android_observer.h', |
| 59 'base_window.cc', | |
| 60 'base_window.h', | |
| 61 'clipboard/clipboard.cc', | 59 'clipboard/clipboard.cc', |
| 62 'clipboard/clipboard.h', | 60 'clipboard/clipboard.h', |
| 63 'clipboard/clipboard_android.cc', | 61 'clipboard/clipboard_android.cc', |
| 64 'clipboard/clipboard_android.h', | 62 'clipboard/clipboard_android.h', |
| 65 'clipboard/clipboard_aura.cc', | 63 'clipboard/clipboard_aura.cc', |
| 66 'clipboard/clipboard_aura.h', | 64 'clipboard/clipboard_aura.h', |
| 67 'clipboard/clipboard_aurax11.cc', | 65 'clipboard/clipboard_aurax11.cc', |
| 68 'clipboard/clipboard_aurax11.h', | 66 'clipboard/clipboard_aurax11.h', |
| 69 'clipboard/clipboard_constants.cc', | 67 'clipboard/clipboard_constants.cc', |
| 70 'clipboard/clipboard_mac.h', | 68 'clipboard/clipboard_mac.h', |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 'cocoa/underlay_opengl_hosting_window.h', | 124 'cocoa/underlay_opengl_hosting_window.h', |
| 127 'cocoa/underlay_opengl_hosting_window.mm', | 125 'cocoa/underlay_opengl_hosting_window.mm', |
| 128 'cocoa/view_description.h', | 126 'cocoa/view_description.h', |
| 129 'cocoa/view_description.mm', | 127 'cocoa/view_description.mm', |
| 130 'cocoa/window_size_constants.h', | 128 'cocoa/window_size_constants.h', |
| 131 'cocoa/window_size_constants.mm', | 129 'cocoa/window_size_constants.mm', |
| 132 'cursor/cursor.cc', | 130 'cursor/cursor.cc', |
| 133 'cursor/cursor.h', | 131 'cursor/cursor.h', |
| 134 'cursor/cursor_android.cc', | 132 'cursor/cursor_android.cc', |
| 135 'cursor/cursor_loader.h', | 133 'cursor/cursor_loader.h', |
| 136 'cursor/cursor_loader_ozone.cc', | |
| 137 'cursor/cursor_loader_ozone.h', | |
| 138 'cursor/cursor_loader_win.cc', | 134 'cursor/cursor_loader_win.cc', |
| 139 'cursor/cursor_loader_win.h', | 135 'cursor/cursor_loader_win.h', |
| 140 'cursor/cursor_loader_x11.cc', | 136 'cursor/cursor_loader_x11.cc', |
| 141 'cursor/cursor_loader_x11.h', | 137 'cursor/cursor_loader_x11.h', |
| 142 'cursor/cursor_ozone.cc', | |
| 143 'cursor/cursor_util.cc', | 138 'cursor/cursor_util.cc', |
| 144 'cursor/cursor_util.h', | 139 'cursor/cursor_util.h', |
| 145 'cursor/cursor_win.cc', | 140 'cursor/cursor_win.cc', |
| 146 'cursor/cursor_x11.cc', | 141 'cursor/cursor_x11.cc', |
| 147 'cursor/cursors_aura.cc', | |
| 148 'cursor/cursors_aura.h', | |
| 149 'cursor/image_cursors.cc', | |
| 150 'cursor/image_cursors.h', | |
| 151 'cursor/ozone/bitmap_cursor_factory_ozone.cc', | |
| 152 'cursor/ozone/bitmap_cursor_factory_ozone.h', | |
| 153 'default_theme_provider.cc', | |
| 154 'default_theme_provider.h', | |
| 155 'default_theme_provider_mac.mm', | |
| 156 'device_form_factor_android.cc', | 142 'device_form_factor_android.cc', |
| 157 'device_form_factor_android.h', | 143 'device_form_factor_android.h', |
| 158 'device_form_factor_desktop.cc', | 144 'device_form_factor_desktop.cc', |
| 159 'device_form_factor_ios.mm', | 145 'device_form_factor_ios.mm', |
| 160 'device_form_factor.h', | 146 'device_form_factor.h', |
| 161 'dragdrop/cocoa_dnd_util.h', | 147 'dragdrop/cocoa_dnd_util.h', |
| 162 'dragdrop/cocoa_dnd_util.mm', | 148 'dragdrop/cocoa_dnd_util.mm', |
| 163 'dragdrop/drag_drop_types.h', | 149 'dragdrop/drag_drop_types.h', |
| 164 'dragdrop/drag_drop_types_win.cc', | 150 'dragdrop/drag_drop_types_win.cc', |
| 165 'dragdrop/drag_source_win.cc', | 151 'dragdrop/drag_source_win.cc', |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 'models/simple_combobox_model.h', | 275 'models/simple_combobox_model.h', |
| 290 'models/simple_menu_model.cc', | 276 'models/simple_menu_model.cc', |
| 291 'models/simple_menu_model.h', | 277 'models/simple_menu_model.h', |
| 292 'models/table_model.cc', | 278 'models/table_model.cc', |
| 293 'models/table_model.h', | 279 'models/table_model.h', |
| 294 'models/table_model_observer.h', | 280 'models/table_model_observer.h', |
| 295 'models/tree_model.cc', | 281 'models/tree_model.cc', |
| 296 'models/tree_model.h', | 282 'models/tree_model.h', |
| 297 'models/tree_node_iterator.h', | 283 'models/tree_node_iterator.h', |
| 298 'models/tree_node_model.h', | 284 'models/tree_node_model.h', |
| 299 'nine_image_painter_factory.cc', | |
| 300 'nine_image_painter_factory.h', | |
| 301 'page_transition_types.cc', | 285 'page_transition_types.cc', |
| 302 'page_transition_types.h', | 286 'page_transition_types.h', |
| 303 'page_transition_types_list.h', | 287 'page_transition_types_list.h', |
| 304 'resource/data_pack.cc', | 288 'resource/data_pack.cc', |
| 305 'resource/data_pack.h', | 289 'resource/data_pack.h', |
| 306 'resource/resource_bundle.cc', | 290 'resource/resource_bundle.cc', |
| 307 'resource/resource_bundle.h', | 291 'resource/resource_bundle.h', |
| 308 'resource/resource_bundle_android.cc', | 292 'resource/resource_bundle_android.cc', |
| 309 'resource/resource_bundle_auralinux.cc', | 293 'resource/resource_bundle_auralinux.cc', |
| 310 'resource/resource_bundle_ios.mm', | 294 'resource/resource_bundle_ios.mm', |
| 311 'resource/resource_bundle_mac.mm', | 295 'resource/resource_bundle_mac.mm', |
| 312 'resource/resource_bundle_win.cc', | 296 'resource/resource_bundle_win.cc', |
| 313 'resource/resource_bundle_win.h', | 297 'resource/resource_bundle_win.h', |
| 314 'resource/resource_data_dll_win.cc', | 298 'resource/resource_data_dll_win.cc', |
| 315 'resource/resource_data_dll_win.h', | 299 'resource/resource_data_dll_win.h', |
| 316 'resource/resource_handle.h', | 300 'resource/resource_handle.h', |
| 317 'text/bytes_formatting.cc', | 301 'text/bytes_formatting.cc', |
| 318 'text/bytes_formatting.h', | 302 'text/bytes_formatting.h', |
| 319 'theme_provider.cc', | |
| 320 'theme_provider.h', | |
| 321 'touch/touch_device.cc', | 303 'touch/touch_device.cc', |
| 322 'touch/touch_device.h', | 304 'touch/touch_device.h', |
| 323 'touch/touch_device_android.cc', | 305 'touch/touch_device_android.cc', |
| 324 'touch/touch_device_aurax11.cc', | 306 'touch/touch_device_aurax11.cc', |
| 325 'touch/touch_device_ozone.cc', | |
| 326 'touch/touch_device_win.cc', | 307 'touch/touch_device_win.cc', |
| 327 'touch/touch_editing_controller.cc', | |
| 328 'touch/touch_editing_controller.h', | |
| 329 'touch/touch_enabled.cc', | 308 'touch/touch_enabled.cc', |
| 330 'touch/touch_enabled.h', | 309 'touch/touch_enabled.h', |
| 331 'ui_base_export.h', | 310 'ui_base_export.h', |
| 332 'ui_base_exports.cc', | 311 'ui_base_exports.cc', |
| 333 'ui_base_paths.cc', | 312 'ui_base_paths.cc', |
| 334 'ui_base_paths.h', | 313 'ui_base_paths.h', |
| 335 'ui_base_switches.cc', | 314 'ui_base_switches.cc', |
| 336 'ui_base_switches.h', | 315 'ui_base_switches.h', |
| 337 'ui_base_switches_util.cc', | 316 'ui_base_switches_util.cc', |
| 338 'ui_base_switches_util.h', | 317 'ui_base_switches_util.h', |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 436 'x/selection_requestor.h', | 415 'x/selection_requestor.h', |
| 437 'x/selection_utils.cc', | 416 'x/selection_utils.cc', |
| 438 'x/selection_utils.h', | 417 'x/selection_utils.h', |
| 439 ] | 418 ] |
| 440 }], | 419 }], |
| 441 ['use_aura==0 or OS!="linux"', { | 420 ['use_aura==0 or OS!="linux"', { |
| 442 'sources!': [ | 421 'sources!': [ |
| 443 'resource/resource_bundle_auralinux.cc', | 422 'resource/resource_bundle_auralinux.cc', |
| 444 ], | 423 ], |
| 445 }], | 424 }], |
| 446 ['use_ozone==1', { | |
| 447 'dependencies': [ | |
| 448 '../ozone/ozone.gyp:ozone_base', | |
| 449 ], | |
| 450 }], | |
| 451 ['use_aura==1 and OS=="win"', { | 425 ['use_aura==1 and OS=="win"', { |
| 452 'sources/': [ | 426 'sources/': [ |
| 453 ['exclude', 'dragdrop/drag_utils_aura.cc'], | 427 ['exclude', 'dragdrop/drag_utils_aura.cc'], |
| 454 ], | 428 ], |
| 455 }], | 429 }], |
| 456 ['use_glib == 1', { | 430 ['use_glib == 1', { |
| 457 'dependencies': [ | 431 'dependencies': [ |
| 458 '../../build/linux/system.gyp:fontconfig', | 432 '../../build/linux/system.gyp:fontconfig', |
| 459 '../../build/linux/system.gyp:glib', | 433 '../../build/linux/system.gyp:glib', |
| 460 ], | 434 ], |
| 461 }], | 435 }], |
| 462 ['desktop_linux == 1 or chromeos == 1', { | 436 ['desktop_linux == 1 or chromeos == 1', { |
| 463 'conditions': [ | 437 'conditions': [ |
| 464 ['toolkit_views==0 and use_aura==0', { | 438 ['toolkit_views==0 and use_aura==0', { |
| 465 # Note: because of gyp predence rules this has to be defined as | 439 # Note: because of gyp predence rules this has to be defined as |
| 466 # 'sources/' rather than 'sources!'. | 440 # 'sources/' rather than 'sources!'. |
| 467 'sources/': [ | 441 'sources/': [ |
| 468 ['exclude', '^dragdrop/drag_utils.cc'], | 442 ['exclude', '^dragdrop/drag_utils.cc'], |
| 469 ['exclude', '^dragdrop/drag_utils.h'], | 443 ['exclude', '^dragdrop/drag_utils.h'], |
| 470 ], | 444 ], |
| 471 }, { | 445 }, { |
| 472 'sources/': [ | 446 'sources/': [ |
| 473 ['include', '^dragdrop/os_exchange_data.cc'], | 447 ['include', '^dragdrop/os_exchange_data.cc'], |
| 474 ['include', '^dragdrop/os_exchange_data.h'], | 448 ['include', '^dragdrop/os_exchange_data.h'], |
| 475 ['include', '^nine_image_painter_factory.cc'], | |
| 476 ['include', '^nine_image_painter_factory.h'], | |
| 477 ], | 449 ], |
| 478 }], | 450 }], |
| 479 ], | 451 ], |
| 480 }], | 452 }], |
| 481 ['use_pango==1', { | 453 ['use_pango==1', { |
| 482 'dependencies': [ | 454 'dependencies': [ |
| 483 '../../build/linux/system.gyp:pangocairo', | 455 '../../build/linux/system.gyp:pangocairo', |
| 484 ], | 456 ], |
| 485 }], | 457 }], |
| 486 ['OS=="win" or use_clipboard_aurax11==1', { | 458 ['OS=="win" or use_clipboard_aurax11==1', { |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 546 'view_prop.h', | 518 'view_prop.h', |
| 547 ], | 519 ], |
| 548 }], | 520 }], |
| 549 ], | 521 ], |
| 550 }], | 522 }], |
| 551 ['OS=="mac"', { | 523 ['OS=="mac"', { |
| 552 'dependencies': [ | 524 'dependencies': [ |
| 553 '../../third_party/mozilla/mozilla.gyp:mozilla', | 525 '../../third_party/mozilla/mozilla.gyp:mozilla', |
| 554 ], | 526 ], |
| 555 'sources!': [ | 527 'sources!': [ |
| 556 'cursor/image_cursors.cc', | |
| 557 'cursor/image_cursors.h', | |
| 558 'dragdrop/drag_utils.cc', | 528 'dragdrop/drag_utils.cc', |
| 559 'dragdrop/drag_utils.h', | 529 'dragdrop/drag_utils.h', |
| 560 ], | 530 ], |
| 561 'link_settings': { | 531 'link_settings': { |
| 562 'libraries': [ | 532 'libraries': [ |
| 563 '$(SDKROOT)/System/Library/Frameworks/Accelerate.framework', | 533 '$(SDKROOT)/System/Library/Frameworks/Accelerate.framework', |
| 564 '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework', | 534 '$(SDKROOT)/System/Library/Frameworks/AudioUnit.framework', |
| 565 '$(SDKROOT)/System/Library/Frameworks/CoreVideo.framework', | 535 '$(SDKROOT)/System/Library/Frameworks/CoreVideo.framework', |
| 566 ], | 536 ], |
| 567 }, | 537 }, |
| 568 }], | 538 }], |
| 569 ['use_x11==1', { | 539 ['use_x11==1', { |
| 570 'all_dependent_settings': { | 540 'all_dependent_settings': { |
| 571 'ldflags': [ | 541 'ldflags': [ |
| 572 '-L<(PRODUCT_DIR)', | 542 '-L<(PRODUCT_DIR)', |
| 573 ], | 543 ], |
| 574 }, | 544 }, |
| 575 'dependencies': [ | 545 'dependencies': [ |
| 576 '../../build/linux/system.gyp:x11', | 546 '../../build/linux/system.gyp:x11', |
| 577 '../../build/linux/system.gyp:xcursor', | 547 '../../build/linux/system.gyp:xcursor', |
| 578 '../../build/linux/system.gyp:xext', | 548 '../../build/linux/system.gyp:xext', |
| 579 '../../build/linux/system.gyp:xfixes', | 549 '../../build/linux/system.gyp:xfixes', |
| 580 '../../build/linux/system.gyp:xrender', # For XRender* function cal
ls in x11_util.cc. | 550 '../../build/linux/system.gyp:xrender', # For XRender* function cal
ls in x11_util.cc. |
| 581 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform'
, | 551 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform'
, |
| 582 ], | 552 ], |
| 583 }], | 553 }], |
| 584 ['toolkit_views==0', { | |
| 585 'sources!': [ | |
| 586 'dragdrop/drag_drop_types.h', | |
| 587 'dragdrop/drop_target_event.cc', | |
| 588 'dragdrop/drop_target_event.h', | |
| 589 'dragdrop/os_exchange_data.cc', | |
| 590 'dragdrop/os_exchange_data.h', | |
| 591 'nine_image_painter_factory.cc', | |
| 592 'nine_image_painter_factory.h', | |
| 593 ], | |
| 594 }], | |
| 595 ['OS=="android"', { | 554 ['OS=="android"', { |
| 596 'sources!': [ | 555 'sources!': [ |
| 597 'cursor/image_cursors.cc', | |
| 598 'cursor/image_cursors.h', | |
| 599 'default_theme_provider.cc', | |
| 600 'dragdrop/drag_utils.cc', | |
| 601 'dragdrop/drag_utils.h', | |
| 602 'l10n/l10n_font_util.cc', | 556 'l10n/l10n_font_util.cc', |
| 603 'models/button_menu_item_model.cc', | |
| 604 'models/dialog_model.cc', | |
| 605 'theme_provider.cc', | |
| 606 'touch/touch_device.cc', | 557 'touch/touch_device.cc', |
| 607 'touch/touch_editing_controller.cc', | |
| 608 'ui_base_types.cc', | 558 'ui_base_types.cc', |
| 609 ], | 559 ], |
| 610 'dependencies': [ | 560 'dependencies': [ |
| 611 'ui_base_jni_headers', | 561 'ui_base_jni_headers', |
| 612 ], | 562 ], |
| 613 'link_settings': { | 563 'link_settings': { |
| 614 'libraries': [ | 564 'libraries': [ |
| 615 '-ljnigraphics', | 565 '-ljnigraphics', |
| 616 ], | 566 ], |
| 617 }, | 567 }, |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 665 'dependencies': [ | 615 'dependencies': [ |
| 666 '../../chromeos/chromeos.gyp:chromeos', | 616 '../../chromeos/chromeos.gyp:chromeos', |
| 667 ], | 617 ], |
| 668 }], | 618 }], |
| 669 ['OS!="win"', { | 619 ['OS!="win"', { |
| 670 'sources!': [ | 620 'sources!': [ |
| 671 'ime/input_method_imm32.cc', | 621 'ime/input_method_imm32.cc', |
| 672 'ime/input_method_imm32.h', | 622 'ime/input_method_imm32.h', |
| 673 ], | 623 ], |
| 674 }], | 624 }], |
| 675 ['use_aura==0 or (desktop_linux==0 and use_ozone==0)', { | |
| 676 'sources!': [ | |
| 677 'ime/input_method_auralinux.cc', | |
| 678 'ime/input_method_auralinux.h', | |
| 679 'ime/linux/fake_input_method_context.cc', | |
| 680 'ime/linux/fake_input_method_context.h', | |
| 681 'ime/linux/fake_input_method_context_factory.cc', | |
| 682 'ime/linux/fake_input_method_context_factory.h', | |
| 683 'ime/linux/linux_input_method_context.h', | |
| 684 'ime/linux/linux_input_method_context_factory.cc', | |
| 685 'ime/linux/linux_input_method_context_factory.h', | |
| 686 ], | |
| 687 }], | |
| 688 ['use_x11==0', { | 625 ['use_x11==0', { |
| 689 'sources!': [ | 626 'sources!': [ |
| 690 'ime/composition_text_util_pango.cc', | 627 'ime/composition_text_util_pango.cc', |
| 691 'ime/composition_text_util_pango.h', | 628 'ime/composition_text_util_pango.h', |
| 692 ], | 629 ], |
| 693 }], | 630 }], |
| 694 ], | 631 ], |
| 695 }, | 632 }, |
| 696 { | 633 { |
| 697 # GN version: //ui/base:test_support | 634 # GN version: //ui/base:test_support |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 761 ], | 698 ], |
| 762 'variables': { | 699 'variables': { |
| 763 'jni_gen_package': 'ui', | 700 'jni_gen_package': 'ui', |
| 764 }, | 701 }, |
| 765 'includes': [ '../../build/jni_generator.gypi' ], | 702 'includes': [ '../../build/jni_generator.gypi' ], |
| 766 }, | 703 }, |
| 767 ], | 704 ], |
| 768 }], | 705 }], |
| 769 ], | 706 ], |
| 770 } | 707 } |
| OLD | NEW |