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

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

Issue 284113011: Repurpose views+content example into a generic multiprocess views runtime (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use sandbox boilerplate for now Created 6 years, 7 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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 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 'targets': [ 8 'targets': [
9 { 9 {
10 'target_name': 'views_examples_lib', 10 'target_name': 'views_examples_lib',
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 'examples_main.cc', 112 'examples_main.cc',
113 ], 113 ],
114 }, # target_name: views_examples_exe 114 }, # target_name: views_examples_exe
115 { 115 {
116 'target_name': 'views_examples_with_content_lib', 116 'target_name': 'views_examples_with_content_lib',
117 'type': '<(component)', 117 'type': '<(component)',
118 'dependencies': [ 118 'dependencies': [
119 '../../../base/base.gyp:base', 119 '../../../base/base.gyp:base',
120 '../../../base/base.gyp:base_i18n', 120 '../../../base/base.gyp:base_i18n',
121 '../../../content/content.gyp:content', 121 '../../../content/content.gyp:content',
122 '../../../skia/skia.gyp:skia', 122 '../../../content/content_shell_and_tests.gyp:content_shell_lib',
123 '../../../third_party/icu/icu.gyp:icui18n', 123 '../../../third_party/icu/icu.gyp:icui18n',
124 '../../../third_party/icu/icu.gyp:icuuc', 124 '../../../third_party/icu/icu.gyp:icuuc',
125 '../../../url/url.gyp:url_lib', 125 '../../../url/url.gyp:url_lib',
126 '../../accessibility/accessibility.gyp:ax_gen',
126 '../../aura/aura.gyp:aura', 127 '../../aura/aura.gyp:aura',
127 '../../base/ui_base.gyp:ui_base', 128 '../../base/ui_base.gyp:ui_base',
128 '../../events/events.gyp:events', 129 '../../events/events.gyp:events',
129 '../../gfx/gfx.gyp:gfx', 130 '../../gfx/gfx.gyp:gfx',
130 '../../gfx/gfx.gyp:gfx_geometry', 131 '../../gfx/gfx.gyp:gfx_geometry',
131 '../../resources/ui_resources.gyp:ui_resources', 132 '../../resources/ui_resources.gyp:ui_resources',
132 '../../resources/ui_resources.gyp:ui_test_pak', 133 '../../resources/ui_resources.gyp:ui_test_pak',
133 '../controls/webview/webview.gyp:webview',
134 '../views.gyp:views',
135 'views_examples_lib',
136 ], 134 ],
137 'include_dirs': [ 135 'include_dirs': [
138 '../../..', 136 '../../..',
139 ], 137 ],
140 'defines': [ 138 'defines': [
141 'VIEWS_EXAMPLES_WITH_CONTENT_IMPLEMENTATION', 139 'VIEWS_EXAMPLES_WITH_CONTENT_IMPLEMENTATION',
142 ], 140 ],
143 'sources': [ 141 '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', 142 'content_client/examples_browser_main_parts.cc',
191 'content_client/examples_browser_main_parts.h', 143 'content_client/examples_browser_main_parts.h',
192 'content_client/examples_content_browser_client.cc', 144 'content_client/examples_content_browser_client.cc',
193 'content_client/examples_content_browser_client.h', 145 'content_client/examples_content_browser_client.h',
194 'content_client/examples_main_delegate.cc', 146 'content_client/examples_main_delegate.cc',
195 'content_client/examples_main_delegate.h', 147 'content_client/examples_main_delegate.h',
196 'content_client/examples_main.cc', 148 'content_client/examples_main.cc',
149 'content_client/examples_main.h',
150 'views_examples_with_content_export.h',
151 ],
152 }, # target_name: views_examples_with_content_lib
153 {
154 'target_name': 'examples_window_with_content',
155 'type': '<(component)',
156 'dependencies': [
157 '../../../base/base.gyp:base',
158 '../../../content/content.gyp:content',
159 '../../../skia/skia.gyp:skia',
160 '../../../url/url.gyp:url_lib',
161 '../../events/events.gyp:events',
162 '../controls/webview/webview.gyp:webview',
163 '../views.gyp:views',
164 'views_examples_lib',
165 ],
166 'defines': [
167 'VIEWS_EXAMPLES_WITH_CONTENT_IMPLEMENTATION',
168 ],
169 'sources': [
170 'examples_window_with_content.cc',
171 'examples_window_with_content.h',
172 'webview_example.cc',
173 'webview_example.h',
174 ],
175 }, # target_name: examples_window_with_content
176 {
177 'target_name': 'views_examples_with_content_exe',
178 'type': 'executable',
179 'dependencies': [
180 '../../../base/base.gyp:base',
181 '../../../content/content.gyp:content',
182 'views_examples_with_content_lib',
183 'examples_window_with_content',
184 ],
185 'sources': [
186 '../../../content/app/startup_helper_win.cc',
187 'content_client/examples_main_exe.cc',
197 ], 188 ],
198 'conditions': [ 189 'conditions': [
199 ['OS=="win"', { 190 ['OS=="win"', {
200 'link_settings': { 191 'link_settings': {
201 'libraries': [ 192 'libraries': [
202 '-limm32.lib', 193 '-limm32.lib',
203 '-loleacc.lib', 194 '-loleacc.lib',
204 ] 195 ]
205 }, 196 },
206 'msvs_settings': { 197 'msvs_settings': {
207 'VCManifestTool': { 198 'VCManifestTool': {
208 'AdditionalManifestFiles': [ 199 'AdditionalManifestFiles': [
209 'views_examples.exe.manifest', 200 'views_examples.exe.manifest',
210 ], 201 ],
211 }, 202 },
212 'VCLinkerTool': { 203 'VCLinkerTool': {
213 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS 204 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
214 }, 205 },
215 }, 206 },
216 'dependencies': [ 207 'dependencies': [
217 '../../../sandbox/sandbox.gyp:sandbox', 208 '../../../sandbox/sandbox.gyp:sandbox',
218 ], 209 ],
219 }], 210 }],
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 ], 211 ],
228 }, # target_name: views_examples_with_content_exe 212 }, # target_name: views_examples_with_content_exe
229 ], 213 ],
230 } 214 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698