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

Side by Side Diff: chrome/chrome_browser.gypi

Issue 1741010: gyp: unify toolkit_views usage (Closed)
Patch Set: Created 10 years, 8 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) 2010 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2010 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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'browser', 8 'target_name': 'browser',
9 'type': '<(library)', 9 'type': '<(library)',
10 'msvs_guid': '5BF908A7-68FB-4A4B-99E3-8C749F1FE4EA', 10 'msvs_guid': '5BF908A7-68FB-4A4B-99E3-8C749F1FE4EA',
(...skipping 2767 matching lines...) Expand 10 before | Expand all | Expand 10 after
2778 # Exclude parts of password_manager. 2778 # Exclude parts of password_manager.
2779 ['exclude', '^browser/password_manager/ie7_password\\.cc$'], 2779 ['exclude', '^browser/password_manager/ie7_password\\.cc$'],
2780 2780
2781 # Exclude all of rlz. 2781 # Exclude all of rlz.
2782 ['exclude', '^browser/rlz/'], 2782 ['exclude', '^browser/rlz/'],
2783 2783
2784 # Exclude all of views. 2784 # Exclude all of views.
2785 ['exclude', '^browser/views/'], 2785 ['exclude', '^browser/views/'],
2786 ], 2786 ],
2787 'conditions': [ 2787 'conditions': [
2788 ['OS=="linux" and (toolkit_views==1 or chromeos==1)',{ 2788 ['OS=="linux" and toolkit_views==1',{
2789 'dependencies': [ 2789 'dependencies': [
2790 '../views/views.gyp:views', 2790 '../views/views.gyp:views',
2791 ], 2791 ],
2792 'include_dirs': [ 2792 'include_dirs': [
2793 '<(INTERMEDIATE_DIR)', 2793 '<(INTERMEDIATE_DIR)',
2794 '<(INTERMEDIATE_DIR)/chrome', 2794 '<(INTERMEDIATE_DIR)/chrome',
2795 ], 2795 ],
2796 'sources/': [ 2796 'sources/': [
2797 ['exclude', '^browser/cookie_modal_dialog_views.cc'], 2797 ['exclude', '^browser/cookie_modal_dialog_views.cc'],
2798 ['include', '^browser/back_forward_menu_model_views.cc'], 2798 ['include', '^browser/back_forward_menu_model_views.cc'],
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
3070 ['exclude', '^browser/tab_contents/tab_contents_view_gtk.cc'], 3070 ['exclude', '^browser/tab_contents/tab_contents_view_gtk.cc'],
3071 ['exclude', '^browser/tab_contents/tab_contents_view_gtk.h'], 3071 ['exclude', '^browser/tab_contents/tab_contents_view_gtk.h'],
3072 ['exclude', '^browser/tab_contents/render_view_context_menu_gtk. cc'], 3072 ['exclude', '^browser/tab_contents/render_view_context_menu_gtk. cc'],
3073 ['exclude', '^browser/tab_contents/render_view_context_menu_gtk. h'], 3073 ['exclude', '^browser/tab_contents/render_view_context_menu_gtk. h'],
3074 ['exclude', '^browser/browser_list_gtk.cc'], 3074 ['exclude', '^browser/browser_list_gtk.cc'],
3075 ], 3075 ],
3076 }], 3076 }],
3077 # These GTK files haven't been ported to views, while ChromeOS has 3077 # These GTK files haven't been ported to views, while ChromeOS has
3078 # its own separate implementation below. So re-include them only on 3078 # its own separate implementation below. So re-include them only on
3079 # non-ChromeOS views Linux builds. 3079 # non-ChromeOS views Linux builds.
3080 ['OS=="linux" and chromeos==0 and toolkit_views==1', { 3080 ['OS=="linux" and toolkit_views==1 and chromeos==0', {
3081 'sources/': [ 3081 'sources/': [
3082 ['include', '^browser/gtk/dialogs_gtk.cc'], 3082 ['include', '^browser/gtk/dialogs_gtk.cc'],
3083 ['include', '^browser/gtk/external_protocol_dialog_gtk.cc'], 3083 ['include', '^browser/gtk/external_protocol_dialog_gtk.cc'],
3084 ['include', '^browser/gtk/external_protocol_dialog_gtk.h'], 3084 ['include', '^browser/gtk/external_protocol_dialog_gtk.h'],
3085 ['include', '^browser/views/notifications/balloon_view.cc'], 3085 ['include', '^browser/views/notifications/balloon_view.cc'],
3086 ['include', '^browser/views/notifications/balloon_view.h'], 3086 ['include', '^browser/views/notifications/balloon_view.h'],
3087 3087
3088 ['exclude', '^browser/views/select_file_dialog.cc'], 3088 ['exclude', '^browser/views/select_file_dialog.cc'],
3089 ], 3089 ],
3090 }], 3090 }],
3091 # GTK build only 3091 # GTK build only
3092 ['OS=="linux" and chromeos==0 and toolkit_views==0', { 3092 ['OS=="linux" and toolkit_views==0', {
3093 'sources/': [ 3093 'sources/': [
3094 ['include', '^browser/printing/print_dialog_gtk.cc'], 3094 ['include', '^browser/printing/print_dialog_gtk.cc'],
3095 ['include', '^browser/printing/print_dialog_gtk.h'], 3095 ['include', '^browser/printing/print_dialog_gtk.h'],
3096 ['exclude', '^browser/browser_list_stub.cc'], 3096 ['exclude', '^browser/browser_list_stub.cc'],
3097 ['exclude', '^browser/bookmarks/bookmark_drop_info.cc'], 3097 ['exclude', '^browser/bookmarks/bookmark_drop_info.cc'],
3098 ['exclude', '^browser/views/autocomplete/autocomplete_popup_gtk. cc'], 3098 ['exclude', '^browser/views/autocomplete/autocomplete_popup_gtk. cc'],
3099 ['exclude', '^browser/views/autocomplete/autocomplete_popup_gtk. h'], 3099 ['exclude', '^browser/views/autocomplete/autocomplete_popup_gtk. h'],
3100 ], 3100 ],
3101 }], 3101 }],
3102 ['OS=="linux" and chromeos==1',{ 3102 ['OS=="linux" and chromeos==1',{
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
3301 ] 3301 ]
3302 }, 3302 },
3303 ], 3303 ],
3304 } 3304 }
3305 3305
3306 # Local Variables: 3306 # Local Variables:
3307 # tab-width:2 3307 # tab-width:2
3308 # indent-tabs-mode:nil 3308 # indent-tabs-mode:nil
3309 # End: 3309 # End:
3310 # vim: set expandtab tabstop=2 shiftwidth=2: 3310 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | chrome/chrome_exe.gypi » ('j') | chrome/chrome_exe.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698