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 'GFX_VECTOR_ICONS_UNSAFE',
32 'VIEWS_EXAMPLES_IMPLEMENTATION',
35 # Note: sources list duplicated in GN build.
40 'checkbox_example.cc',
42 'combobox_example.cc',
44 'double_split_view_example.cc',
45 'double_split_view_example.h',
48 'example_combobox_model.cc',
49 'example_combobox_model.h',
58 'message_box_example.cc',
59 'message_box_example.h',
60 'multiline_example.cc',
61 'multiline_example.h',
62 'progress_bar_example.cc',
63 'progress_bar_example.h',
64 'radio_button_example.cc',
65 'radio_button_example.h',
66 'scroll_view_example.cc',
67 'scroll_view_example.h',
68 'single_split_view_example.cc',
69 'single_split_view_example.h',
72 'tabbed_pane_example.cc',
73 'tabbed_pane_example.h',
78 'textfield_example.cc',
79 'textfield_example.h',
80 'throbber_example.cc',
82 'tree_view_example.cc',
83 'tree_view_example.h',
84 'views_examples_export.h',
93 '../../../third_party/wtl/include',
95 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
96 'msvs_disabled_warnings': [ 4267, ],
100 '../../aura/aura.gyp:aura',
104 }, # target_name: views_examples_lib
106 # GN version: //ui/views/examples:views_examples_exe
107 'target_name': 'views_examples_exe',
108 'type': 'executable',
110 '../../../base/base.gyp:base',
111 '../../../base/base.gyp:base_i18n',
112 '../../base/ui_base.gyp:ui_base',
113 '../../compositor/compositor.gyp:compositor',
114 '../../compositor/compositor.gyp:compositor_test_support',
115 '../../gfx/gfx.gyp:gfx',
116 '../../resources/ui_resources.gyp:ui_test_pak',
117 '../views.gyp:views',
118 '../views.gyp:views_test_support',
119 'views_examples_lib',
122 # Note: sources list duplicated in GN build.
128 '../../aura/aura.gyp:aura',
132 }, # target_name: views_examples_exe
134 # GN version: //ui/views/examples:views_examples_with_content_lib
135 'target_name': 'views_examples_with_content_lib',
136 'type': '<(component)',
138 '../../../base/base.gyp:base',
139 '../../../content/content.gyp:content',
140 '../../../skia/skia.gyp:skia',
141 '../../../url/url.gyp:url_lib',
142 '../../events/events.gyp:events',
143 '../controls/webview/webview.gyp:webview',
144 '../views.gyp:views',
145 'views_examples_lib',
148 'VIEWS_EXAMPLES_WITH_CONTENT_IMPLEMENTATION',
151 # Note: sources list duplicated in GN build.
152 'examples_window_with_content.cc',
153 'examples_window_with_content.h',
154 'views_examples_with_content_export.h',
155 'webview_example.cc',
158 }, # target_name: views_examples_with_content_lib
160 # GN version: //ui/views/examples/views_examples_with_content_exe
161 'target_name': 'views_examples_with_content_exe',
162 'type': 'executable',
164 '../../../base/base.gyp:base',
165 '../../../content/content.gyp:content',
166 '../../views_content_client/views_content_client.gyp:views_content_client',
167 'views_examples_with_content_lib',
170 # Note: sources list duplicated in GN build.
171 'examples_with_content_main_exe.cc',
183 'AdditionalManifestFiles': [
184 'views_examples.exe.manifest',
188 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
192 '../../../sandbox/sandbox.gyp:sandbox',
193 '../../../content/content.gyp:content_startup_helper_win',
196 ['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
198 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
202 }, # target_name: views_examples_with_content_exe