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 '../../resources/ui_resources.gyp:ui_resources',
23 '../../resources/ui_resources.gyp:ui_test_pak',
30 'VIEWS_EXAMPLES_IMPLEMENTATION',
33 # Note: sources list duplicated in GN build.
38 'checkbox_example.cc',
40 'combobox_example.cc',
42 'double_split_view_example.cc',
43 'double_split_view_example.h',
46 'example_combobox_model.cc',
47 'example_combobox_model.h',
56 'message_box_example.cc',
57 'message_box_example.h',
58 'multiline_example.cc',
59 'multiline_example.h',
60 'progress_bar_example.cc',
61 'progress_bar_example.h',
62 'radio_button_example.cc',
63 'radio_button_example.h',
64 'scroll_view_example.cc',
65 'scroll_view_example.h',
66 'single_split_view_example.cc',
67 'single_split_view_example.h',
70 'tabbed_pane_example.cc',
71 'tabbed_pane_example.h',
76 'textfield_example.cc',
77 'textfield_example.h',
78 'throbber_example.cc',
80 'tree_view_example.cc',
81 'tree_view_example.h',
82 'views_examples_export.h',
89 '../../../third_party/wtl/include',
91 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
92 'msvs_disabled_warnings': [ 4267, ],
96 '../../aura/aura.gyp:aura',
100 }, # target_name: views_examples_lib
102 # GN version: //ui/views/examples:views_examples_exe
103 'target_name': 'views_examples_exe',
104 'type': 'executable',
106 '../../../base/base.gyp:base',
107 '../../../base/base.gyp:base_i18n',
108 '../../base/ui_base.gyp:ui_base',
109 '../../compositor/compositor.gyp:compositor',
110 '../../compositor/compositor.gyp:compositor_test_support',
111 '../../gfx/gfx.gyp:gfx',
112 '../../resources/ui_resources.gyp:ui_test_pak',
113 '../views.gyp:views',
114 '../views.gyp:views_test_support',
115 'views_examples_lib',
118 # Note: sources list duplicated in GN build.
124 '../../aura/aura.gyp:aura',
128 }, # target_name: views_examples_exe
130 # GN version: //ui/views/examples:views_examples_with_content_lib
131 'target_name': 'views_examples_with_content_lib',
132 'type': '<(component)',
134 '../../../base/base.gyp:base',
135 '../../../content/content.gyp:content',
136 '../../../skia/skia.gyp:skia',
137 '../../../url/url.gyp:url_lib',
138 '../../events/events.gyp:events',
139 '../controls/webview/webview.gyp:webview',
140 '../views.gyp:views',
141 'views_examples_lib',
144 'VIEWS_EXAMPLES_WITH_CONTENT_IMPLEMENTATION',
147 # Note: sources list duplicated in GN build.
148 'examples_window_with_content.cc',
149 'examples_window_with_content.h',
150 'views_examples_with_content_export.h',
151 'webview_example.cc',
154 }, # target_name: views_examples_with_content_lib
156 # GN version: //ui/views/examples/views_examples_with_content_exe
157 'target_name': 'views_examples_with_content_exe',
158 'type': 'executable',
160 '../../../base/base.gyp:base',
161 '../../../content/content.gyp:content',
162 '../../views_content_client/views_content_client.gyp:views_content_client',
163 'views_examples_with_content_lib',
166 # Note: sources list duplicated in GN build.
167 'examples_with_content_main_exe.cc',
179 'AdditionalManifestFiles': [
180 'views_examples.exe.manifest',
184 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
188 '../../../sandbox/sandbox.gyp:sandbox',
189 '../../../content/content.gyp:content_startup_helper_win',
192 ['OS=="win" and component!="shared_library" and win_use_allocator_shim==1', {
194 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
198 }, # target_name: views_examples_with_content_exe