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
3 # found in the LICENSE file.
10 # GN version: //ui/views/examples
11 'target_name': 'views_examples_lib',
12 'type': '<(component)',
14 '../../../base/base.gyp:base',
15 '../../../skia/skia.gyp:skia',
16 '../../../third_party/icu/icu.gyp:icui18n',
17 '../../../third_party/icu/icu.gyp:icuuc',
18 '../../base/ui_base.gyp:ui_base',
19 '../../events/events.gyp:events',
20 '../../gfx/gfx.gyp:gfx',
21 '../../gfx/gfx.gyp:gfx_geometry',
22 '../../gfx/gfx.gyp:gfx_vector_icons',
23 '../../resources/ui_resources.gyp:ui_resources',
24 '../../resources/ui_resources.gyp:ui_test_pak',
31 'VIEWS_EXAMPLES_IMPLEMENTATION',
34 # Note: sources list duplicated in GN build.
39 'checkbox_example.cc',
41 'combobox_example.cc',
43 'double_split_view_example.cc',
44 'double_split_view_example.h',
47 'example_combobox_model.cc',
48 'example_combobox_model.h',
57 'message_box_example.cc',
58 'message_box_example.h',
59 'multiline_example.cc',
60 'multiline_example.h',
61 'progress_bar_example.cc',
62 'progress_bar_example.h',
63 'radio_button_example.cc',
64 'radio_button_example.h',
65 'scroll_view_example.cc',
66 'scroll_view_example.h',
67 'single_split_view_example.cc',
68 'single_split_view_example.h',
71 'tabbed_pane_example.cc',
72 'tabbed_pane_example.h',
77 'textfield_example.cc',
78 'textfield_example.h',
79 'throbber_example.cc',
81 'tree_view_example.cc',
82 'tree_view_example.h',
83 'views_examples_export.h',
92 '../../../third_party/wtl/include',
94 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
95 'msvs_disabled_warnings': [ 4267, ],
99 '../../aura/aura.gyp:aura',
103 }, # target_name: views_examples_lib
105 # GN version: //ui/views/examples:views_examples_exe
106 'target_name': 'views_examples_exe',
107 'type': 'executable',
109 '../../../base/base.gyp:base',
110 '../../../base/base.gyp:base_i18n',
111 '../../base/ui_base.gyp:ui_base',
112 '../../compositor/compositor.gyp:compositor',
113 '../../compositor/compositor.gyp:compositor_test_support',
114 '../../gfx/gfx.gyp:gfx',
115 '../../resources/ui_resources.gyp:ui_test_pak',
116 '../views.gyp:views',
117 '../views.gyp:views_test_support',
118 'views_examples_lib',
121 # Note: sources list duplicated in GN build.
127 '../../aura/aura.gyp:aura',
131 }, # target_name: views_examples_exe
133 # GN version: //ui/views/examples:views_examples_with_content_lib
134 'target_name': 'views_examples_with_content_lib',
135 'type': '<(component)',
137 '../../../base/base.gyp:base',
138 '../../../content/content.gyp:content',
139 '../../../skia/skia.gyp:skia',
140 '../../../url/url.gyp:url_lib',
141 '../../events/events.gyp:events',
142 '../controls/webview/webview.gyp:webview',
143 '../views.gyp:views',
144 'views_examples_lib',
147 'VIEWS_EXAMPLES_WITH_CONTENT_IMPLEMENTATION',
150 # Note: sources list duplicated in GN build.
151 'examples_window_with_content.cc',
152 'examples_window_with_content.h',
153 'views_examples_with_content_export.h',
154 'webview_example.cc',
157 }, # target_name: views_examples_with_content_lib
159 # GN version: //ui/views/examples/views_examples_with_content_exe
160 'target_name': 'views_examples_with_content_exe',
161 'type': 'executable',
163 '../../../base/base.gyp:base',
164 '../../../content/content.gyp:content',
165 '../../views_content_client/views_content_client.gyp:views_content_client',
166 'views_examples_with_content_lib',
169 # Note: sources list duplicated in GN build.
170 'examples_with_content_main_exe.cc',
182 'AdditionalManifestFiles': [
183 'views_examples.exe.manifest',
187 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
191 '../../../sandbox/sandbox.gyp:sandbox',
192 '../../../content/content.gyp:content_startup_helper_win',
195 ['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
197 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
201 }, # target_name: views_examples_with_content_exe