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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'ios_web', | 11 'target_name': 'ios_web', |
12 'type': 'static_library', | 12 'type': 'static_library', |
13 'include_dirs': [ | 13 'include_dirs': [ |
14 '../..', | 14 '../..', |
15 ], | 15 ], |
16 'dependencies': [ | 16 'dependencies': [ |
17 'ios_web_core', | 17 'ios_web_core', |
| 18 'js_resources', |
18 'user_agent', | 19 'user_agent', |
19 '../../base/base.gyp:base', | 20 '../../base/base.gyp:base', |
20 '../../content/content.gyp:content_browser', | 21 '../../content/content.gyp:content_browser', |
21 '../../net/net.gyp:net', | 22 '../../net/net.gyp:net', |
22 '../../ui/base/ui_base.gyp:ui_base', | 23 '../../ui/base/ui_base.gyp:ui_base', |
23 '../../ui/gfx/gfx.gyp:gfx', | 24 '../../ui/gfx/gfx.gyp:gfx', |
24 ], | 25 ], |
25 'sources': [ | 26 'sources': [ |
26 'browser_state.cc', | 27 'browser_state.cc', |
27 'load_committed_details.cc', | 28 'load_committed_details.cc', |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 '../..', | 142 '../..', |
142 ], | 143 ], |
143 'sources': [ | 144 'sources': [ |
144 'crw_network_activity_indicator_manager.h', | 145 'crw_network_activity_indicator_manager.h', |
145 'crw_network_activity_indicator_manager.mm', | 146 'crw_network_activity_indicator_manager.mm', |
146 'history_state_util.h', | 147 'history_state_util.h', |
147 'history_state_util.mm', | 148 'history_state_util.mm', |
148 ], | 149 ], |
149 }, | 150 }, |
150 { | 151 { |
| 152 'target_name': 'ios_web_js_bundle_ui', |
| 153 'type': 'none', |
| 154 'variables': { |
| 155 'closure_entry_point': '__crWeb.webBundle', |
| 156 'js_bundle_files': [ |
| 157 'web_state/js/resources/base.js', |
| 158 'web_state/js/resources/common.js', |
| 159 'web_state/js/resources/console.js', |
| 160 'web_state/js/resources/core.js', |
| 161 'web_state/js/resources/core_dynamic_ui.js', |
| 162 'web_state/js/resources/dialog_overrides.js', |
| 163 'web_state/js/resources/message.js', |
| 164 'web_state/js/resources/message_dynamic_ui.js', |
| 165 'web_state/js/resources/web_bundle_ui.js', |
| 166 'web_state/js/resources/window_open_ui.js', |
| 167 ], |
| 168 }, |
| 169 'sources': [ |
| 170 'web_state/js/resources/web_bundle_ui.js', |
| 171 ], |
| 172 'link_settings': { |
| 173 'mac_bundle_resources': [ |
| 174 '<(SHARED_INTERMEDIATE_DIR)/web_bundle_ui.js', |
| 175 ], |
| 176 }, |
| 177 'includes': [ |
| 178 'js_compile_bundle.gypi' |
| 179 ], |
| 180 }, |
| 181 { |
| 182 'target_name': 'ios_web_js_bundle_wk', |
| 183 'type': 'none', |
| 184 'variables': { |
| 185 'closure_entry_point': '__crWeb.webBundle', |
| 186 'js_bundle_files': [ |
| 187 'web_state/js/resources/base.js', |
| 188 'web_state/js/resources/common.js', |
| 189 'web_state/js/resources/console.js', |
| 190 'web_state/js/resources/core.js', |
| 191 'web_state/js/resources/core_dynamic_wk.js', |
| 192 'web_state/js/resources/dialog_overrides.js', |
| 193 'web_state/js/resources/message.js', |
| 194 'web_state/js/resources/message_dynamic_wk.js', |
| 195 'web_state/js/resources/web_bundle_wk.js', |
| 196 'web_state/js/resources/window_open_wk.js', |
| 197 ], |
| 198 }, |
| 199 'sources': [ |
| 200 'web_state/js/resources/web_bundle_wk.js', |
| 201 ], |
| 202 'link_settings': { |
| 203 'mac_bundle_resources': [ |
| 204 '<(SHARED_INTERMEDIATE_DIR)/web_bundle_wk.js', |
| 205 ], |
| 206 }, |
| 207 'includes': [ |
| 208 'js_compile_bundle.gypi' |
| 209 ], |
| 210 }, |
| 211 { |
151 'target_name': 'js_resources', | 212 'target_name': 'js_resources', |
152 'type': 'none', | 213 'type': 'none', |
| 214 'dependencies': [ |
| 215 'ios_web_js_bundle_ui', |
| 216 'ios_web_js_bundle_wk', |
| 217 ], |
153 'sources': [ | 218 'sources': [ |
154 'web_state/js/resources/base.js', | 219 'web_state/js/resources/plugin_placeholder.js', |
155 'web_state/js/resources/common.js', | 220 'web_state/js/resources/window_id.js', |
156 'web_state/js/resources/message.js', | |
157 'web_state/js/resources/message_dynamic_ui.js', | |
158 'web_state/js/resources/message_dynamic_wk.js', | |
159 ], | 221 ], |
160 'link_settings': { | 222 'link_settings': { |
161 'mac_bundle_resources': [ | 223 'mac_bundle_resources': [ |
162 '<(SHARED_INTERMEDIATE_DIR)/base.js', | 224 '<(SHARED_INTERMEDIATE_DIR)/plugin_placeholder.js', |
163 '<(SHARED_INTERMEDIATE_DIR)/common.js', | 225 '<(SHARED_INTERMEDIATE_DIR)/window_id.js', |
164 '<(SHARED_INTERMEDIATE_DIR)/message.js', | |
165 '<(SHARED_INTERMEDIATE_DIR)/message_dynamic_ui.js', | |
166 '<(SHARED_INTERMEDIATE_DIR)/message_dynamic_wk.js', | |
167 ], | 226 ], |
168 }, | 227 }, |
169 'includes': [ | 228 'includes': [ |
170 'js_compile.gypi' | 229 'js_compile.gypi' |
171 ], | 230 ], |
172 }, | 231 }, |
173 { | 232 { |
174 'target_name': 'test_support_ios_web', | 233 'target_name': 'test_support_ios_web', |
175 'type': 'static_library', | 234 'type': 'static_library', |
176 'dependencies': [ | 235 'dependencies': [ |
(...skipping 27 matching lines...) Expand all Loading... |
204 'dependencies': [ | 263 'dependencies': [ |
205 '../../base/base.gyp:base' | 264 '../../base/base.gyp:base' |
206 ], | 265 ], |
207 'sources': [ | 266 'sources': [ |
208 'public/user_agent.h', | 267 'public/user_agent.h', |
209 'public/user_agent.mm', | 268 'public/user_agent.mm', |
210 ], | 269 ], |
211 }, | 270 }, |
212 ], | 271 ], |
213 } | 272 } |
OLD | NEW |