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

Side by Side Diff: ui/views/views.gyp

Issue 2027943002: [WIP] Make content_shell run under Wayland Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on tonikitoo's CL (included) Created 4 years, 6 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
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 'variables': { 5 'variables': {
6 'chromium_code': 1, 6 'chromium_code': 1,
7 # Sources lists shared with GN build. 7 # Sources lists shared with GN build.
8 'views_sources': [ 8 'views_sources': [
9 'accessibility/native_view_accessibility.cc', 9 'accessibility/native_view_accessibility.cc',
10 'accessibility/native_view_accessibility.h', 10 'accessibility/native_view_accessibility.h',
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 'widget/desktop_aura/desktop_screen_win.h', 485 'widget/desktop_aura/desktop_screen_win.h',
486 'widget/desktop_aura/desktop_window_tree_host_win.cc', 486 'widget/desktop_aura/desktop_window_tree_host_win.cc',
487 'widget/desktop_aura/desktop_window_tree_host_win.h', 487 'widget/desktop_aura/desktop_window_tree_host_win.h',
488 ], 488 ],
489 'views_desktop_aura_ozone_sources': [ 489 'views_desktop_aura_ozone_sources': [
490 'widget/desktop_aura/desktop_factory_ozone.cc', 490 'widget/desktop_aura/desktop_factory_ozone.cc',
491 'widget/desktop_aura/desktop_factory_ozone.h', 491 'widget/desktop_aura/desktop_factory_ozone.h',
492 'widget/desktop_aura/desktop_screen_ozone.cc', 492 'widget/desktop_aura/desktop_screen_ozone.cc',
493 'widget/desktop_aura/desktop_window_tree_host_ozone.cc', 493 'widget/desktop_aura/desktop_window_tree_host_ozone.cc',
494 ], 494 ],
495 'views_desktop_aura_ozone_wayland_sources': [
496 'widget/desktop_aura/desktop_factory_ozone_wayland.cc',
497 'widget/desktop_aura/desktop_factory_ozone_wayland.h',
498 'widget/desktop_aura/desktop_screen_wayland.cc',
499 'widget/desktop_aura/desktop_screen_wayland.h',
500 'widget/desktop_aura/desktop_window_tree_host_wayland.cc',
501 'widget/desktop_aura/desktop_window_tree_host_wayland.h',
502 ],
495 'views_test_support_sources': [ 503 'views_test_support_sources': [
496 'animation/test/flood_fill_ink_drop_ripple_test_api.cc', 504 'animation/test/flood_fill_ink_drop_ripple_test_api.cc',
497 'animation/test/flood_fill_ink_drop_ripple_test_api.h', 505 'animation/test/flood_fill_ink_drop_ripple_test_api.h',
498 'animation/test/ink_drop_highlight_test_api.cc', 506 'animation/test/ink_drop_highlight_test_api.cc',
499 'animation/test/ink_drop_highlight_test_api.h', 507 'animation/test/ink_drop_highlight_test_api.h',
500 'animation/test/ink_drop_impl_test_api.cc', 508 'animation/test/ink_drop_impl_test_api.cc',
501 'animation/test/ink_drop_impl_test_api.h', 509 'animation/test/ink_drop_impl_test_api.h',
502 'animation/test/ink_drop_ripple_test_api.cc', 510 'animation/test/ink_drop_ripple_test_api.cc',
503 'animation/test/ink_drop_ripple_test_api.h', 511 'animation/test/ink_drop_ripple_test_api.h',
504 'animation/test/ink_drop_utils.cc', 512 'animation/test/ink_drop_utils.cc',
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
764 ], 772 ],
765 }, 773 },
766 }, 774 },
767 }, 775 },
768 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 776 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
769 'msvs_disabled_warnings': [ 4267, ], 777 'msvs_disabled_warnings': [ 4267, ],
770 }], 778 }],
771 ['use_ozone==1', { 779 ['use_ozone==1', {
772 'dependencies': [ 780 'dependencies': [
773 '../ozone/ozone.gyp:ozone', 781 '../ozone/ozone.gyp:ozone',
782 '../../third_party/wayland/wayland.gyp:wayland_client',
774 ], 783 ],
775 }], 784 }],
776 ['use_x11==1', { 785 ['use_x11==1', {
777 'dependencies': [ 786 'dependencies': [
778 '../../build/linux/system.gyp:x11', 787 '../../build/linux/system.gyp:x11',
779 '../../build/linux/system.gyp:xrandr', 788 '../../build/linux/system.gyp:xrandr',
780 '../events/devices/events_devices.gyp:events_devices', 789 '../events/devices/events_devices.gyp:events_devices',
781 '../events/devices/x11/events_devices_x11.gyp:events_devices_x11', 790 '../events/devices/x11/events_devices_x11.gyp:events_devices_x11',
782 '../events/keycodes/events_keycodes.gyp:keycodes_x11', 791 '../events/keycodes/events_keycodes.gyp:keycodes_x11',
783 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform' , 792 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform' ,
(...skipping 20 matching lines...) Expand all
804 'sources': [ '<@(views_desktop_aura_x11_sources)' ], 813 'sources': [ '<@(views_desktop_aura_x11_sources)' ],
805 'dependencies': [ 814 'dependencies': [
806 '../../build/linux/system.gyp:xext', 815 '../../build/linux/system.gyp:xext',
807 '../../ui/base/x/ui_base_x.gyp:ui_base_x', 816 '../../ui/base/x/ui_base_x.gyp:ui_base_x',
808 ], 817 ],
809 }], 818 }],
810 ['OS == "win"', { 819 ['OS == "win"', {
811 'sources': [ '<@(views_desktop_aura_win_sources)' ], 820 'sources': [ '<@(views_desktop_aura_win_sources)' ],
812 }], 821 }],
813 ['use_ozone==1', { 822 ['use_ozone==1', {
814 'sources': [ '<@(views_desktop_aura_ozone_sources)' ], 823 'sources': [
824 '<@(views_desktop_aura_ozone_sources)',
825 '<(desktop_factory_ozone_list_cc_file)',
826 ],
827
828 'conditions': [
829 ['ozone_platform_wayland == 1', {
830 'sources': [ '<@(views_desktop_aura_ozone_wayland_sources)' ],
831
832 }],
833 ],
834 'variables': {
835 'platform_list_txt_file': '<(SHARED_INTERMEDIATE_DIR)/ui/ozone/p latform_list.txt',
836 'desktop_factory_ozone_list_cc_file': '<(INTERMEDIATE_DIR)/ui/vi ews/desktop_factory_ozone_list.cc',
837 },
838 'actions': [
839 {
840 # GN version: //ui/views:generate_constructor_list
841 'action_name': 'generate_constructor_list',
842 'variables': {
843 'generator_path': '../ozone/generate_constructor_list.py',
844 },
845 'inputs': [
846 '<(generator_path)',
847 '<(platform_list_txt_file)',
848 ],
849 'outputs': [
850 '<(desktop_factory_ozone_list_cc_file)',
851 ],
852 'action': [
853 'python',
854 '<(generator_path)',
855 '--platform_list=<(platform_list_txt_file)',
856 '--output_cc=<(desktop_factory_ozone_list_cc_file)',
857 '--namespace=views',
858 '--typename=DesktopFactoryOzone',
859 '--include="ui/views/widget/desktop_aura/desktop_factory_ozo ne.h"',
860 ],
861 },
862 ],
815 }], 863 }],
816 ], 864 ],
817 }], 865 }],
818 ['OS=="mac"', { 866 ['OS=="mac"', {
819 'dependencies': [ 867 'dependencies': [
820 '../accelerated_widget_mac/accelerated_widget_mac.gyp:accelerated_wi dget_mac', 868 '../accelerated_widget_mac/accelerated_widget_mac.gyp:accelerated_wi dget_mac',
821 ], 869 ],
822 'link_settings': { 870 'link_settings': {
823 'libraries': [ 871 'libraries': [
824 # Required by bridged_native_widget.mm. 872 # Required by bridged_native_widget.mm.
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
1043 '../aura/aura.gyp:aura', 1091 '../aura/aura.gyp:aura',
1044 '../wm/wm.gyp:wm', 1092 '../wm/wm.gyp:wm',
1045 ], 1093 ],
1046 }], 1094 }],
1047 ], 1095 ],
1048 }, # target_name: macviews_interactive_ui_tests 1096 }, # target_name: macviews_interactive_ui_tests
1049 ], # targets 1097 ], # targets
1050 }], 1098 }],
1051 ], # conditions 1099 ], # conditions
1052 } 1100 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698