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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 ], | 110 ], |
111 'sources': [ | 111 'sources': [ |
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', | |
121 '../../../content/content.gyp:content', | 120 '../../../content/content.gyp:content', |
122 '../../../skia/skia.gyp:skia', | 121 '../../../skia/skia.gyp:skia', |
123 '../../../third_party/icu/icu.gyp:icui18n', | |
124 '../../../third_party/icu/icu.gyp:icuuc', | |
125 '../../../url/url.gyp:url_lib', | 122 '../../../url/url.gyp:url_lib', |
126 '../../aura/aura.gyp:aura', | |
127 '../../base/ui_base.gyp:ui_base', | |
128 '../../events/events.gyp:events', | 123 '../../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', | 124 '../controls/webview/webview.gyp:webview', |
134 '../views.gyp:views', | 125 '../views.gyp:views', |
135 'views_examples_lib', | 126 'views_examples_lib', |
136 ], | 127 ], |
137 'include_dirs': [ | |
138 '../../..', | |
139 ], | |
140 'defines': [ | 128 'defines': [ |
141 'VIEWS_EXAMPLES_WITH_CONTENT_IMPLEMENTATION', | 129 'VIEWS_EXAMPLES_WITH_CONTENT_IMPLEMENTATION', |
142 ], | 130 ], |
143 'sources': [ | 131 'sources': [ |
144 'examples_window_with_content.cc', | 132 'examples_window_with_content.cc', |
145 'examples_window_with_content.h', | 133 'examples_window_with_content.h', |
146 'views_examples_with_content_export.h', | 134 'views_examples_with_content_export.h', |
147 'webview_example.cc', | 135 'webview_example.cc', |
148 'webview_example.h', | 136 'webview_example.h', |
149 ], | 137 ], |
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 | 138 }, # target_name: views_examples_with_content_lib |
160 { | 139 { |
161 'target_name': 'views_examples_with_content_exe', | 140 'target_name': 'views_examples_with_content_exe', |
162 'type': 'executable', | 141 'type': 'executable', |
163 'dependencies': [ | 142 'dependencies': [ |
164 '../../../base/base.gyp:base', | 143 '../../../base/base.gyp:base', |
165 '../../../base/base.gyp:base_i18n', | |
166 '../../../content/content.gyp:content', | 144 '../../../content/content.gyp:content', |
167 '../../../content/content_shell_and_tests.gyp:content_shell_lib', | 145 '../../views_content_client/views_content_client.gyp:views_content_clien
t', |
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', | 146 'views_examples_with_content_lib', |
184 ], | 147 ], |
185 'include_dirs': [ | |
186 '../../..', | |
187 ], | |
188 'sources': [ | 148 'sources': [ |
189 '../../../content/app/startup_helper_win.cc', | 149 '../../../content/app/startup_helper_win.cc', |
190 'content_client/examples_browser_main_parts.cc', | 150 'examples_with_content_main_exe.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 ], | 151 ], |
198 'conditions': [ | 152 'conditions': [ |
199 ['OS=="win"', { | 153 ['OS=="win"', { |
200 'link_settings': { | 154 'link_settings': { |
201 'libraries': [ | 155 'libraries': [ |
202 '-limm32.lib', | 156 '-limm32.lib', |
203 '-loleacc.lib', | 157 '-loleacc.lib', |
204 ] | 158 ] |
205 }, | 159 }, |
206 'msvs_settings': { | 160 'msvs_settings': { |
207 'VCManifestTool': { | 161 'VCManifestTool': { |
208 'AdditionalManifestFiles': [ | 162 'AdditionalManifestFiles': [ |
209 'views_examples.exe.manifest', | 163 'views_examples.exe.manifest', |
210 ], | 164 ], |
211 }, | 165 }, |
212 'VCLinkerTool': { | 166 'VCLinkerTool': { |
213 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS | 167 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS |
214 }, | 168 }, |
215 }, | 169 }, |
216 'dependencies': [ | 170 'dependencies': [ |
217 '../../../sandbox/sandbox.gyp:sandbox', | 171 '../../../sandbox/sandbox.gyp:sandbox', |
218 ], | 172 ], |
219 }], | 173 }], |
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 ], | 174 ], |
228 }, # target_name: views_examples_with_content_exe | 175 }, # target_name: views_examples_with_content_exe |
229 ], | 176 ], |
230 } | 177 } |
OLD | NEW |