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.
9 'android_webview_tests.gypi',
13 'target_name': 'libwebviewchromium',
14 'type': 'shared_library',
15 'android_unmangled_name': 1,
17 'android_webview_common',
20 # fix linking to hidden symbols and re-enable this (crbug.com/157326)
21 '-Wl,--no-fatal-warnings'
24 'lib/main/webview_entry_point.cc',
28 'target_name': 'android_webview_pak',
31 '<(DEPTH)/content/browser/devtools/devtools_resources.gyp:devtools_resources',
32 '<(DEPTH)/content/content_resources.gyp:content_resources',
33 '<(DEPTH)/net/net.gyp:net_resources',
34 '<(DEPTH)/ui/ui.gyp:ui_resources',
35 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_resources',
38 'repack_path': '<(DEPTH)/tools/grit/grit/format/repack.py',
42 'action_name': 'repack_android_webview_pack',
45 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak',
46 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
47 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_100_percent.pak',
48 '<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resources.pak',
49 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.pak',
50 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources_100_percent.pak',
58 '<(PRODUCT_DIR)/android_webview_apk/assets/webviewchromium.pak',
60 'action': ['python', '<(repack_path)', '<@(_outputs)',
66 'target_name': 'android_webview_common',
67 'type': 'static_library',
69 '../android_webview/native/webview_native.gyp:webview_native',
70 '../components/components.gyp:auto_login_parser',
71 '../components/components.gyp:navigation_interception',
72 '../components/components.gyp:visitedlink_browser',
73 '../components/components.gyp:visitedlink_renderer',
74 '../components/components.gyp:web_contents_delegate_android',
75 '../content/content.gyp:content',
76 '../skia/skia.gyp:skia',
77 '../gpu/gpu.gyp:gles2_implementation',
79 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu',
80 'android_webview_pak',
85 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/',
88 'browser/aw_autofill_manager_delegate.cc',
89 'browser/aw_autofill_manager_delegate.h',
90 'browser/aw_browser_context.cc',
91 'browser/aw_browser_context.h',
92 'browser/aw_browser_main_parts.cc',
93 'browser/aw_browser_main_parts.h',
94 'browser/aw_contents_client_bridge_base.cc',
95 'browser/aw_contents_client_bridge_base.h',
96 'browser/aw_content_browser_client.cc',
97 'browser/aw_content_browser_client.h',
98 'browser/aw_contents_io_thread_client.h',
99 'browser/aw_cookie_access_policy.cc',
100 'browser/aw_cookie_access_policy.h',
101 'browser/aw_devtools_delegate.cc',
102 'browser/aw_devtools_delegate.h',
103 'browser/aw_download_manager_delegate.cc',
104 'browser/aw_download_manager_delegate.h',
105 'browser/aw_form_database_service.cc',
106 'browser/aw_form_database_service.h',
107 'browser/aw_http_auth_handler_base.cc',
108 'browser/aw_http_auth_handler_base.h',
109 'browser/aw_javascript_dialog_manager.cc',
110 'browser/aw_javascript_dialog_manager.h',
111 'browser/aw_login_delegate.cc',
112 'browser/aw_login_delegate.h',
113 'browser/aw_quota_manager_bridge.cc',
114 'browser/aw_quota_manager_bridge.h',
115 'browser/aw_quota_permission_context.cc',
116 'browser/aw_quota_permission_context.h',
117 'browser/aw_pref_store.cc',
118 'browser/aw_pref_store.h',
119 'browser/aw_request_interceptor.cc',
120 'browser/aw_request_interceptor.h',
121 'browser/aw_result_codes.h',
122 'browser/browser_view_renderer.h',
123 'browser/browser_view_renderer_impl.cc',
124 'browser/browser_view_renderer_impl.h',
125 'browser/find_helper.cc',
126 'browser/find_helper.h',
127 'browser/gpu_memory_buffer_impl.cc',
128 'browser/gpu_memory_buffer_impl.h',
129 'browser/icon_helper.cc',
130 'browser/icon_helper.h',
131 'browser/in_process_view_renderer.cc',
132 'browser/in_process_view_renderer.h',
133 'browser/input_stream.h',
134 'browser/intercepted_request_data.h',
135 'browser/jni_dependency_factory.h',
136 'browser/net/android_stream_reader_url_request_job.cc',
137 'browser/net/android_stream_reader_url_request_job.h',
138 'browser/net/aw_network_delegate.cc',
139 'browser/net/aw_network_delegate.h',
140 'browser/net/aw_url_request_context_getter.cc',
141 'browser/net/aw_url_request_context_getter.h',
142 'browser/net/aw_url_request_job_factory.cc',
143 'browser/net/aw_url_request_job_factory.h',
144 'browser/net_disk_cache_remover.cc',
145 'browser/net_disk_cache_remover.h',
146 'browser/net/init_native_callback.h',
147 'browser/net/input_stream_reader.cc',
148 'browser/net/input_stream_reader.h',
149 'browser/renderer_host/aw_render_view_host_ext.cc',
150 'browser/renderer_host/aw_render_view_host_ext.h',
151 'browser/renderer_host/aw_resource_dispatcher_host_delegate.cc',
152 'browser/renderer_host/aw_resource_dispatcher_host_delegate.h',
153 'browser/renderer_host/view_renderer_host.cc',
154 'browser/renderer_host/view_renderer_host.h',
155 'browser/scoped_allow_wait_for_legacy_web_view_api.h',
156 'browser/scoped_allow_wait_for_legacy_web_view_api.h',
157 'common/android_webview_message_generator.cc',
158 'common/android_webview_message_generator.h',
159 'common/aw_content_client.cc',
160 'common/aw_content_client.h',
161 'common/aw_hit_test_data.cc',
162 'common/aw_hit_test_data.h',
163 'common/aw_resource.h',
164 'common/aw_switches.cc',
165 'common/aw_switches.h',
166 'common/render_view_messages.cc',
167 'common/render_view_messages.h',
168 'common/renderer_picture_map.cc',
169 'common/renderer_picture_map.h',
170 'common/url_constants.cc',
171 'common/url_constants.h',
172 'lib/aw_browser_dependency_factory_impl.cc',
173 'lib/aw_browser_dependency_factory_impl.h',
174 'lib/main/aw_main_delegate.cc',
175 'lib/main/aw_main_delegate.h',
176 'public/browser/draw_gl.h',
177 'renderer/aw_content_renderer_client.cc',
178 'renderer/aw_content_renderer_client.h',
179 'renderer/aw_render_process_observer.cc',
180 'renderer/aw_render_process_observer.h',
181 'renderer/aw_render_view_ext.cc',
182 'renderer/aw_render_view_ext.h',
183 'renderer/view_renderer.cc',
184 'renderer/view_renderer.h',
188 'target_name': 'android_webview_java',
191 '../components/components.gyp:navigation_interception_java',
192 '../components/components.gyp:web_contents_delegate_android_java',
193 '../content/content.gyp:content_java',
194 '../ui/ui.gyp:ui_java',
197 'java_in_dir': '../android_webview/java',
199 'includes': [ '../build/java.gypi' ],