OLD | NEW |
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 Loading... |
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 '../../aura/aura.gyp:aura', | 126 '../../aura/aura.gyp:aura', |
127 '../../base/ui_base.gyp:ui_base', | 127 '../../base/ui_base.gyp:ui_base', |
128 '../../events/events.gyp:events', | 128 '../../events/events.gyp:events', |
129 '../../gfx/gfx.gyp:gfx', | 129 '../../gfx/gfx.gyp:gfx', |
130 '../../gfx/gfx.gyp:gfx_geometry', | 130 '../../gfx/gfx.gyp:gfx_geometry', |
131 '../../resources/ui_resources.gyp:ui_resources', | 131 '../../resources/ui_resources.gyp:ui_resources', |
132 '../../resources/ui_resources.gyp:ui_test_pak', | 132 '../../resources/ui_resources.gyp:ui_test_pak', |
133 '../controls/webview/webview.gyp:webview', | |
134 '../views.gyp:views', | |
135 'views_examples_lib', | |
136 ], | 133 ], |
137 'include_dirs': [ | 134 'include_dirs': [ |
138 '../../..', | 135 '../../..', |
139 ], | 136 ], |
140 'defines': [ | 137 'defines': [ |
141 'VIEWS_EXAMPLES_WITH_CONTENT_IMPLEMENTATION', | 138 'VIEWS_EXAMPLES_WITH_CONTENT_IMPLEMENTATION', |
142 ], | 139 ], |
143 'sources': [ | 140 'sources': [ |
144 'examples_window_with_content.cc', | 141 '../../../content/app/startup_helper_win.cc', |
145 'examples_window_with_content.h', | 142 'content_client/examples_browser_main_parts.cc', |
| 143 'content_client/examples_browser_main_parts.h', |
| 144 'content_client/examples_content_browser_client.cc', |
| 145 'content_client/examples_content_browser_client.h', |
| 146 'content_client/examples_main_delegate.cc', |
| 147 'content_client/examples_main_delegate.h', |
| 148 'content_client/examples_main.cc', |
| 149 'content_client/examples_main.h', |
146 'views_examples_with_content_export.h', | 150 'views_examples_with_content_export.h', |
147 'webview_example.cc', | |
148 'webview_example.h', | |
149 ], | 151 ], |
150 'conditions': [ | 152 'conditions': [ |
151 ['OS=="win"', { | 153 ['OS=="win"', { |
152 'include_dirs': [ | 154 'include_dirs': [ |
153 '../../../third_party/wtl/include', | 155 '../../../third_party/wtl/include', |
154 ], | 156 ], |
155 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 157 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
156 'msvs_disabled_warnings': [ 4267, ], | 158 'msvs_disabled_warnings': [ 4267, ], |
157 }], | 159 }], |
158 ], | 160 ], |
159 }, # target_name: views_examples_with_content_lib | 161 }, # target_name: views_examples_with_content_lib |
160 { | 162 { |
| 163 'target_name': 'examples_window_with_content', |
| 164 'type': '<(component)', |
| 165 'sources': [ |
| 166 'examples_window_with_content.cc', |
| 167 'examples_window_with_content.h', |
| 168 'webview_example.cc', |
| 169 'webview_example.h', |
| 170 ], |
| 171 'dependencies': [ |
| 172 '../../../base/base.gyp:base', |
| 173 '../../../content/content.gyp:content', |
| 174 '../../../skia/skia.gyp:skia', |
| 175 '../../../url/url.gyp:url_lib', |
| 176 '../controls/webview/webview.gyp:webview', |
| 177 '../views.gyp:views', |
| 178 'views_examples_lib', |
| 179 ], |
| 180 'defines': [ |
| 181 'VIEWS_EXAMPLES_WITH_CONTENT_IMPLEMENTATION', |
| 182 ], |
| 183 }, # target_name: examples_window_with_content |
| 184 { |
161 'target_name': 'views_examples_with_content_exe', | 185 'target_name': 'views_examples_with_content_exe', |
162 'type': 'executable', | 186 'type': 'executable', |
| 187 'sources': [ |
| 188 'content_client/examples_main_exe.cc', |
| 189 ], |
163 'dependencies': [ | 190 'dependencies': [ |
164 '../../../base/base.gyp:base', | 191 '../../../base/base.gyp:base', |
165 '../../../base/base.gyp:base_i18n', | |
166 '../../../content/content.gyp:content', | 192 '../../../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', | 193 'views_examples_with_content_lib', |
184 ], | 194 'examples_window_with_content', |
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 ], | 195 ], |
198 'conditions': [ | 196 'conditions': [ |
199 ['OS=="win"', { | 197 ['OS=="win"', { |
200 'link_settings': { | 198 'link_settings': { |
201 'libraries': [ | 199 'libraries': [ |
202 '-limm32.lib', | 200 '-limm32.lib', |
203 '-loleacc.lib', | 201 '-loleacc.lib', |
204 ] | 202 ] |
205 }, | 203 }, |
206 'msvs_settings': { | 204 'msvs_settings': { |
207 'VCManifestTool': { | 205 'VCManifestTool': { |
208 'AdditionalManifestFiles': [ | 206 'AdditionalManifestFiles': [ |
209 'views_examples.exe.manifest', | 207 'views_examples.exe.manifest', |
210 ], | 208 ], |
211 }, | 209 }, |
212 'VCLinkerTool': { | 210 'VCLinkerTool': { |
213 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS | 211 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS |
214 }, | 212 }, |
215 }, | 213 }, |
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 }], | 214 }], |
227 ], | 215 ], |
228 }, # target_name: views_examples_with_content_exe | 216 }, # target_name: views_examples_with_content_exe |
229 ], | 217 ], |
230 } | 218 } |
OLD | NEW |