1 # Copyright 2009 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
10 'target_name': 'android_webview_pak',
13 '<(DEPTH)/content/app/resources/content_resources.gyp:content_resources',
14 '<(DEPTH)/net/net.gyp:net_resources',
15 '<(DEPTH)/third_party/WebKit/public/blink_resources.gyp:blink_resources',
16 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources',
20 'action_name': 'repack_android_webview_pack',
23 '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources.pak',
24 '<(SHARED_INTERMEDIATE_DIR)/content/app/resources/content_resources_100_percent.pak',
25 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak',
26 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
27 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.pak',
29 'pak_output': '<(PRODUCT_DIR)/android_webview_assets/webviewchromium.pak',
31 'includes': [ '../build/repack_action.gypi' ],
34 'action_name': 'add_en_US_pak_locale',
36 'pak_inputs': ['<(SHARED_INTERMEDIATE_DIR)/content/app/strings/content_strings_en-US.pak'],
37 'pak_output': '<(PRODUCT_DIR)/android_webview_assets/en-US.pak',
39 'includes': [ '../build/repack_action.gypi' ],
44 'target_name': 'android_webview_strings_grd',
45 'android_unmangled_name': 1,
48 'grd_file': '../android_webview/java/strings/android_webview_strings.grd',
51 '../build/java_strings_grd.gypi',
55 'target_name': 'android_webview_version',
57 'direct_dependent_settings': {
59 '<(SHARED_INTERMEDIATE_DIR)',
62 # Because generate_version generates a header, we must set the
63 # hard_dependency flag.
67 'action_name': 'generate_version',
69 '../build/util/version.gypi',
72 'template_input_path': 'common/aw_version_info_values.h.version',
76 '<(template_input_path)',
81 '<(SHARED_INTERMEDIATE_DIR)/android_webview/common/aw_version_info_values.h',
86 '-f', '<(version_path)',
87 '-f', '<(lastchange_path)',
88 '<(template_input_path)',
91 'message': 'Generating version information',
96 'target_name': 'android_webview_common',
97 'type': 'static_library',
99 '../android_webview/native/webview_native.gyp:webview_native',
100 '../components/components.gyp:auto_login_parser',
101 '../components/components.gyp:autofill_content_renderer',
102 '../components/components.gyp:cdm_browser',
103 '../components/components.gyp:cdm_renderer',
104 '../components/components.gyp:data_reduction_proxy_core_browser',
105 '../components/components.gyp:navigation_interception',
106 '../components/components.gyp:visitedlink_browser',
107 '../components/components.gyp:visitedlink_renderer',
108 '../components/components.gyp:web_contents_delegate_android',
109 '../content/content.gyp:content_app_both',
110 '../content/content.gyp:content_browser',
111 '../gin/gin.gyp:gin',
112 '../gpu/blink/gpu_blink.gyp:gpu_blink',
113 '../gpu/command_buffer/command_buffer.gyp:gles2_utils',
114 '../gpu/gpu.gyp:command_buffer_service',
115 '../gpu/gpu.gyp:gles2_implementation',
116 '../gpu/gpu.gyp:gl_in_process_context',
117 '../media/media.gyp:media',
118 '../printing/printing.gyp:printing',
119 '../skia/skia.gyp:skia',
120 '../third_party/WebKit/public/blink.gyp:blink',
121 '../ui/gl/gl.gyp:gl',
122 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs',
123 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu',
124 'android_webview_pak',
125 'android_webview_version',
130 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/',
133 'browser/aw_browser_context.cc',
134 'browser/aw_browser_context.h',
135 'browser/aw_browser_main_parts.cc',
136 'browser/aw_browser_main_parts.h',
137 'browser/aw_browser_permission_request_delegate.h',
138 'browser/aw_contents_client_bridge_base.cc',
139 'browser/aw_contents_client_bridge_base.h',
140 'browser/aw_content_browser_client.cc',
141 'browser/aw_content_browser_client.h',
142 'browser/aw_contents_io_thread_client.h',
143 'browser/aw_cookie_access_policy.cc',
144 'browser/aw_cookie_access_policy.h',
145 'browser/aw_dev_tools_manager_delegate.cc',
146 'browser/aw_dev_tools_manager_delegate.h',
147 'browser/aw_download_manager_delegate.cc',
148 'browser/aw_download_manager_delegate.h',
149 'browser/aw_form_database_service.cc',
150 'browser/aw_form_database_service.h',
151 'browser/aw_gl_surface.cc',
152 'browser/aw_gl_surface.h',
153 'browser/aw_http_auth_handler_base.cc',
154 'browser/aw_http_auth_handler_base.h',
155 'browser/aw_javascript_dialog_manager.cc',
156 'browser/aw_javascript_dialog_manager.h',
157 'browser/aw_login_delegate.cc',
158 'browser/aw_login_delegate.h',
159 'browser/aw_pref_store.cc',
160 'browser/aw_pref_store.h',
161 'browser/aw_printing_message_filter.cc',
162 'browser/aw_printing_message_filter.h',
163 'browser/aw_quota_manager_bridge.cc',
164 'browser/aw_quota_manager_bridge.h',
165 'browser/aw_quota_permission_context.cc',
166 'browser/aw_quota_permission_context.h',
167 'browser/aw_request_interceptor.cc',
168 'browser/aw_request_interceptor.h',
169 'browser/aw_resource_context.cc',
170 'browser/aw_resource_context.h',
171 'browser/aw_ssl_host_state_delegate.cc',
172 'browser/aw_ssl_host_state_delegate.h',
173 'browser/aw_result_codes.h',
174 'browser/aw_web_preferences_populater.cc',
175 'browser/aw_web_preferences_populater.h',
176 'browser/aw_web_resource_response.cc',
177 'browser/aw_web_resource_response.h',
178 'browser/browser_view_renderer.cc',
179 'browser/browser_view_renderer.h',
180 'browser/browser_view_renderer_client.h',
181 'browser/deferred_gpu_command_service.cc',
182 'browser/deferred_gpu_command_service.h',
183 'browser/find_helper.cc',
184 'browser/find_helper.h',
185 'browser/hardware_renderer.cc',
186 'browser/hardware_renderer.h',
187 'browser/icon_helper.cc',
188 'browser/icon_helper.h',
189 'browser/input_stream.h',
190 'browser/jni_dependency_factory.h',
191 'browser/gl_view_renderer_manager.cc',
192 'browser/gl_view_renderer_manager.h',
193 'browser/net/android_stream_reader_url_request_job.cc',
194 'browser/net/android_stream_reader_url_request_job.h',
195 'browser/net/aw_network_delegate.cc',
196 'browser/net/aw_network_delegate.h',
197 'browser/net/aw_url_request_context_getter.cc',
198 'browser/net/aw_url_request_context_getter.h',
199 'browser/net/aw_url_request_job_factory.cc',
200 'browser/net/aw_url_request_job_factory.h',
201 'browser/net_disk_cache_remover.cc',
202 'browser/net_disk_cache_remover.h',
203 'browser/net/init_native_callback.h',
204 'browser/net/input_stream_reader.cc',
205 'browser/net/input_stream_reader.h',
206 'browser/parent_compositor_draw_constraints.cc',
207 'browser/parent_compositor_draw_constraints.h',
208 'browser/parent_output_surface.cc',
209 'browser/parent_output_surface.h',
210 'browser/renderer_host/aw_render_view_host_ext.cc',
211 'browser/renderer_host/aw_render_view_host_ext.h',
212 'browser/renderer_host/aw_resource_dispatcher_host_delegate.cc',
213 'browser/renderer_host/aw_resource_dispatcher_host_delegate.h',
214 'browser/renderer_host/print_manager.cc',
215 'browser/renderer_host/print_manager.h',
216 'browser/scoped_allow_wait_for_legacy_web_view_api.h',
217 'browser/scoped_app_gl_state_restore.cc',
218 'browser/scoped_app_gl_state_restore.h',
219 'browser/shared_renderer_state.cc',
220 'browser/shared_renderer_state.h',
221 'common/android_webview_message_generator.cc',
222 'common/android_webview_message_generator.h',
223 'common/aw_content_client.cc',
224 'common/aw_content_client.h',
225 'common/aw_crash_handler.cc',
226 'common/aw_crash_handler.h',
227 'common/aw_hit_test_data.cc',
228 'common/aw_hit_test_data.h',
229 'common/aw_resource.h',
230 'common/aw_switches.cc',
231 'common/aw_switches.h',
232 'common/devtools_instrumentation.h',
233 'common/print_messages.cc',
234 'common/print_messages.h',
235 'common/render_view_messages.cc',
236 'common/render_view_messages.h',
237 'common/url_constants.cc',
238 'common/url_constants.h',
239 'lib/aw_browser_dependency_factory_impl.cc',
240 'lib/aw_browser_dependency_factory_impl.h',
241 'lib/main/aw_main_delegate.cc',
242 'lib/main/aw_main_delegate.h',
243 'public/browser/draw_gl.h',
244 'renderer/aw_content_renderer_client.cc',
245 'renderer/aw_content_renderer_client.h',
246 'renderer/aw_key_systems.cc',
247 'renderer/aw_key_systems.h',
248 'renderer/aw_permission_client.cc',
249 'renderer/aw_permission_client.h',
250 'renderer/aw_render_process_observer.cc',
251 'renderer/aw_render_process_observer.h',
252 'renderer/aw_render_frame_ext.cc',
253 'renderer/aw_render_frame_ext.h',
254 'renderer/aw_render_view_ext.cc',
255 'renderer/aw_render_view_ext.h',
256 'renderer/print_web_view_helper.cc',
257 'renderer/print_web_view_helper.h',
258 'renderer/print_web_view_helper_android.cc',
259 'renderer/print_web_view_helper_linux.cc',
260 'renderer/print_render_frame_observer.cc',
261 'renderer/print_render_frame_observer.h',
265 'target_name': 'libwebviewchromium',
267 'libwebviewchromium.gypi',
272 ['android_webview_build==0', {
274 'android_webview_tests.gypi',
278 'target_name': 'android_webview_java',
281 '../components/components.gyp:navigation_interception_java',
282 '../components/components.gyp:web_contents_delegate_android_java',
283 '../content/content.gyp:content_java',
284 '../ui/android/ui_android.gyp:ui_java',
285 'android_webview_strings_grd',
288 'java_in_dir': '../android_webview/java',
289 'has_java_resources': 1,
290 'R_package': 'org.chromium.android_webview',
291 'R_package_relpath': 'org/chromium/android_webview',
293 'includes': [ '../build/java.gypi' ],
296 'target_name': 'system_webview_apk',
298 'android_sdk_jar': '<(DEPTH)/third_party/android_platform/webview/frameworks_1622219.jar',
299 'apk_name': 'SystemWebView',
300 'android_manifest_path': 'apk/java/AndroidManifest.xml',
301 'java_in_dir': '../android_webview/glue/java',
302 'resource_dir': 'apk/java/res',
303 'shared_resources': 1,
305 'includes': [ 'apk/system_webview_apk_common.gypi' ],
308 }, { # android_webview_build==1
311 'target_name': 'android_webview_jarjar_ui_resources',
312 'android_unmangled_name': 1,
315 'res_dir': '../ui/android/java/res',
316 'rules_file': '../android_webview/build/jarjar-rules.txt',
318 'includes': ['../android_webview/build/jarjar_resources.gypi'],
321 'target_name': 'android_webview_jarjar_content_resources',
322 'android_unmangled_name': 1,
325 'res_dir': '../content/public/android/java/res',
326 'rules_file': '../android_webview/build/jarjar-rules.txt',
328 'includes': ['../android_webview/build/jarjar_resources.gypi'],
331 'target_name': 'android_webview_resources',
333 'android_unmangled_name': 1,
335 '../content/content.gyp:content_strings_grd',
336 '../ui/android/ui_android.gyp:ui_strings_grd',
337 'android_webview_jarjar_content_resources',
338 'android_webview_jarjar_ui_resources',
339 'android_webview_strings_grd',