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

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

Issue 201093002: Break cycles between views, content and webview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert ash changes Created 6 years, 9 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/controls/webview/webview_tests.gyp ('k') | ui/views/views.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4 {
5 'variables': {
6 'chromium_code': 1,
7 },
8 'targets': [
9 {
10 'target_name': 'views_examples_lib',
11 'type': '<(component)',
12 'dependencies': [
13 '../../../base/base.gyp:base',
14 '../../../skia/skia.gyp:skia',
15 '../../../third_party/icu/icu.gyp:icui18n',
16 '../../../third_party/icu/icu.gyp:icuuc',
17 '../../aura/aura.gyp:aura',
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',
24 '../views.gyp:views',
25 ],
26 'include_dirs': [
27 '../../..',
28 ],
29 'defines': [
30 'VIEWS_EXAMPLES_IMPLEMENTATION',
31 ],
32 'sources': [
33 'bubble_example.cc',
34 'bubble_example.h',
35 'button_example.cc',
36 'button_example.h',
37 'checkbox_example.cc',
38 'checkbox_example.h',
39 'combobox_example.cc',
40 'combobox_example.h',
41 'double_split_view_example.cc',
42 'double_split_view_example.h',
43 'example_base.cc',
44 'example_base.h',
45 'example_combobox_model.cc',
46 'example_combobox_model.h',
47 'examples_window.cc',
48 'examples_window.h',
49 'label_example.cc',
50 'label_example.h',
51 'link_example.cc',
52 'link_example.h',
53 'message_box_example.cc',
54 'message_box_example.h',
55 'menu_example.cc',
56 'menu_example.h',
57 'multiline_example.cc',
58 'multiline_example.h',
59 'progress_bar_example.cc',
60 'progress_bar_example.h',
61 'radio_button_example.cc',
62 'radio_button_example.h',
63 'scroll_view_example.cc',
64 'scroll_view_example.h',
65 'single_split_view_example.cc',
66 'single_split_view_example.h',
67 'slider_example.cc',
68 'slider_example.h',
69 'tabbed_pane_example.cc',
70 'tabbed_pane_example.h',
71 'table_example.cc',
72 'table_example.h',
73 'text_example.cc',
74 'text_example.h',
75 'textfield_example.cc',
76 'textfield_example.h',
77 'throbber_example.cc',
78 'throbber_example.h',
79 'tree_view_example.cc',
80 'tree_view_example.h',
81 'views_examples_export.h',
82 'widget_example.cc',
83 'widget_example.h',
84 ],
85 'conditions': [
86 ['OS=="win"', {
87 'include_dirs': [
88 '../../../third_party/wtl/include',
89 ],
90 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
91 'msvs_disabled_warnings': [ 4267, ],
92 }],
93 ],
94 }, # target_name: views_examples_lib
95 {
96 'target_name': 'views_examples_exe',
97 'type': 'executable',
98 'dependencies': [
99 '../../../base/base.gyp:base',
100 '../../../base/base.gyp:base_i18n',
101 '../../aura/aura.gyp:aura',
102 '../../base/ui_base.gyp:ui_base',
103 '../../compositor/compositor.gyp:compositor',
104 '../../compositor/compositor.gyp:compositor_test_support',
105 '../../gfx/gfx.gyp:gfx',
106 '../../resources/ui_resources.gyp:ui_test_pak',
107 '../views.gyp:views',
108 '../views.gyp:views_test_support',
109 'views_examples_lib',
110 ],
111 'sources': [
112 'examples_main.cc',
113 ],
114 }, # target_name: views_examples_exe
115 {
116 'target_name': 'views_examples_with_content_lib',
117 'type': '<(component)',
118 'dependencies': [
119 '../../../base/base.gyp:base',
120 '../../../base/base.gyp:base_i18n',
121 '../../../content/content.gyp:content',
122 '../../../skia/skia.gyp:skia',
123 '../../../third_party/icu/icu.gyp:icui18n',
124 '../../../third_party/icu/icu.gyp:icuuc',
125 '../../../url/url.gyp:url_lib',
126 '../../aura/aura.gyp:aura',
127 '../../base/ui_base.gyp:ui_base',
128 '../../events/events.gyp:events',
129 '../../gfx/gfx.gyp:gfx',
130 '../../gfx/gfx.gyp:gfx_geometry',
131 '../../resources/ui_resources.gyp:ui_resources',
132 '../../resources/ui_resources.gyp:ui_test_pak',
133 '../controls/webview/webview.gyp:webview',
134 '../views.gyp:views',
135 'views_examples_lib',
136 ],
137 'include_dirs': [
138 '../../..',
139 ],
140 'defines': [
141 'VIEWS_EXAMPLES_WITH_CONTENT_IMPLEMENTATION',
142 ],
143 'sources': [
144 'examples_window_with_content.cc',
145 'examples_window_with_content.h',
146 'views_examples_with_content_export.h',
147 'webview_example.cc',
148 'webview_example.h',
149 ],
150 'conditions': [
151 ['OS=="win"', {
152 'include_dirs': [
153 '../../../third_party/wtl/include',
154 ],
155 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
156 'msvs_disabled_warnings': [ 4267, ],
157 }],
158 ],
159 }, # target_name: views_examples_with_content_lib
160 {
161 'target_name': 'views_examples_with_content_exe',
162 'type': 'executable',
163 'dependencies': [
164 '../../../base/base.gyp:base',
165 '../../../base/base.gyp:base_i18n',
166 '../../../content/content.gyp:content',
167 '../../../content/content_shell_and_tests.gyp:content_shell_lib',
168 '../../../content/content_shell_and_tests.gyp:test_support_content',
169 '../../../skia/skia.gyp:skia',
170 '../../../third_party/icu/icu.gyp:icui18n',
171 '../../../third_party/icu/icu.gyp:icuuc',
172 '../../aura/aura.gyp:aura',
173 '../../base/ui_base.gyp:ui_base',
174 '../../compositor/compositor.gyp:compositor',
175 '../../events/events.gyp:events',
176 '../../gfx/gfx.gyp:gfx',
177 '../../gfx/gfx.gyp:gfx_geometry',
178 '../../resources/ui_resources.gyp:ui_resources',
179 '../../resources/ui_resources.gyp:ui_test_pak',
180 '../../wm/wm.gyp:wm_test_support',
181 '../views.gyp:views',
182 '../views.gyp:views_test_support',
183 'views_examples_with_content_lib',
184 ],
185 'include_dirs': [
186 '../../..',
187 ],
188 'sources': [
189 '../../../content/app/startup_helper_win.cc',
190 'content_client/examples_browser_main_parts.cc',
191 'content_client/examples_browser_main_parts.h',
192 'content_client/examples_content_browser_client.cc',
193 'content_client/examples_content_browser_client.h',
194 'content_client/examples_main_delegate.cc',
195 'content_client/examples_main_delegate.h',
196 'content_client/examples_main.cc',
197 ],
198 'conditions': [
199 ['OS=="win"', {
200 'link_settings': {
201 'libraries': [
202 '-limm32.lib',
203 '-loleacc.lib',
204 ]
205 },
206 'msvs_settings': {
207 'VCManifestTool': {
208 'AdditionalManifestFiles': [
209 'views_examples.exe.manifest',
210 ],
211 },
212 'VCLinkerTool': {
213 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
214 },
215 },
216 'dependencies': [
217 '../../../sandbox/sandbox.gyp:sandbox',
218 ],
219 }],
220 ['OS=="win"', {
221 'sources/': [
222 # This is needed because the aura rule strips it from the default
223 # sources list.
224 ['include', '^../../../content/app/startup_helper_win.cc'],
225 ],
226 }],
227 ],
228 }, # target_name: views_examples_with_content_exe
229 ],
230 }
OLDNEW
« no previous file with comments | « ui/views/controls/webview/webview_tests.gyp ('k') | ui/views/views.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698