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

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

Issue 138783002: Cleans up gyp file for views example and removes duplicate code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix windows Created 6 years, 11 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/views/examples/widget_example.h ('k') | no next file » | 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 'variables': { 5 'variables': {
6 'chromium_code': 1, 6 'chromium_code': 1,
7 }, 7 },
8 'target_defaults': { 8 'target_defaults': {
9 'conditions': [ 9 'conditions': [
10 ['use_aura==1', { 10 ['use_aura==1', {
(...skipping 975 matching lines...) Expand 10 before | Expand all | Expand 10 after
986 '../../third_party/icu/icu.gyp:icuuc', 986 '../../third_party/icu/icu.gyp:icuuc',
987 '../../url/url.gyp:url_lib', 987 '../../url/url.gyp:url_lib',
988 '../events/events.gyp:events', 988 '../events/events.gyp:events',
989 '../gfx/gfx.gyp:gfx', 989 '../gfx/gfx.gyp:gfx',
990 '../gfx/gfx.gyp:gfx_geometry', 990 '../gfx/gfx.gyp:gfx_geometry',
991 '../resources/ui_resources.gyp:ui_resources', 991 '../resources/ui_resources.gyp:ui_resources',
992 '../resources/ui_resources.gyp:ui_test_pak', 992 '../resources/ui_resources.gyp:ui_test_pak',
993 '../ui.gyp:ui', 993 '../ui.gyp:ui',
994 'controls/webview/webview.gyp:webview', 994 'controls/webview/webview.gyp:webview',
995 'views', 995 'views',
996 'views_examples_lib',
996 ], 997 ],
997 'include_dirs': [ 998 'include_dirs': [
998 '..', 999 '..',
999 ], 1000 ],
1000 'defines': [ 1001 'defines': [
1001 'VIEWS_EXAMPLES_WITH_CONTENT_IMPLEMENTATION', 1002 'VIEWS_EXAMPLES_WITH_CONTENT_IMPLEMENTATION',
1002 ], 1003 ],
1003 'sources': [ 1004 'sources': [
1004 'examples/bubble_example.cc',
1005 'examples/bubble_example.h',
1006 'examples/button_example.cc',
1007 'examples/button_example.h',
1008 'examples/checkbox_example.cc',
1009 'examples/checkbox_example.h',
1010 'examples/combobox_example.cc',
1011 'examples/combobox_example.h',
1012 'examples/double_split_view_example.cc',
1013 'examples/double_split_view_example.h',
1014 'examples/example_base.cc',
1015 'examples/example_base.h',
1016 'examples/example_combobox_model.cc',
1017 'examples/example_combobox_model.h',
1018 'examples/examples_window_with_content.cc', 1005 'examples/examples_window_with_content.cc',
1019 'examples/examples_window_with_content.h', 1006 'examples/examples_window_with_content.h',
1020 'examples/label_example.cc',
1021 'examples/label_example.h',
1022 'examples/link_example.cc',
1023 'examples/link_example.h',
1024 'examples/message_box_example.cc',
1025 'examples/message_box_example.h',
1026 'examples/menu_example.cc',
1027 'examples/menu_example.h',
1028 'examples/multiline_example.cc',
1029 'examples/multiline_example.h',
1030 'examples/progress_bar_example.cc',
1031 'examples/progress_bar_example.h',
1032 'examples/radio_button_example.cc',
1033 'examples/radio_button_example.h',
1034 'examples/scroll_view_example.cc',
1035 'examples/scroll_view_example.h',
1036 'examples/single_split_view_example.cc',
1037 'examples/single_split_view_example.h',
1038 'examples/slider_example.cc',
1039 'examples/slider_example.h',
1040 'examples/tabbed_pane_example.cc',
1041 'examples/tabbed_pane_example.h',
1042 'examples/table_example.cc',
1043 'examples/table_example.h',
1044 'examples/text_example.cc',
1045 'examples/text_example.h',
1046 'examples/textfield_example.cc',
1047 'examples/textfield_example.h',
1048 'examples/throbber_example.cc',
1049 'examples/throbber_example.h',
1050 'examples/tree_view_example.cc',
1051 'examples/tree_view_example.h',
1052 'examples/views_examples_with_content_export.h', 1007 'examples/views_examples_with_content_export.h',
1053 'examples/webview_example.cc', 1008 'examples/webview_example.cc',
1054 'examples/webview_example.h', 1009 'examples/webview_example.h',
1055 'examples/widget_example.cc',
1056 'examples/widget_example.h',
1057 ], 1010 ],
1058 'conditions': [ 1011 'conditions': [
1059 ['OS=="win"', { 1012 ['OS=="win"', {
1060 'include_dirs': [ 1013 'include_dirs': [
1061 '../third_party/wtl/include', 1014 '../third_party/wtl/include',
1062 ], 1015 ],
1063 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 1016 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1064 'msvs_disabled_warnings': [ 4267, ], 1017 'msvs_disabled_warnings': [ 4267, ],
1065 }], 1018 }],
1066 ], 1019 ],
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
1132 'sources/': [ 1085 'sources/': [
1133 # This is needed because the aura rule strips it from the default 1086 # This is needed because the aura rule strips it from the default
1134 # sources list. 1087 # sources list.
1135 ['include', '^../../content/app/startup_helper_win.cc'], 1088 ['include', '^../../content/app/startup_helper_win.cc'],
1136 ], 1089 ],
1137 }], 1090 }],
1138 ], 1091 ],
1139 }, # target_name: views_examples_with_content_exe 1092 }, # target_name: views_examples_with_content_exe
1140 ], 1093 ],
1141 } 1094 }
OLDNEW
« no previous file with comments | « ui/views/examples/widget_example.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698