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