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/content_resources.gyp:content_resources',
32 '<(DEPTH)/net/net.gyp:net_resources',
33 '<(DEPTH)/ui/ui.gyp:ui_resources',
34 '<(DEPTH)/webkit/webkit_resources.gyp:webkit_resources',
37 'repack_path': '<(DEPTH)/tools/grit/grit/format/repack.py',
41 'action_name': 'repack_android_webview_pack',
44 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak',
45 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
46 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_100_percent.pak',
47 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.pak',
48 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources_100_percent.pak',
56 '<(PRODUCT_DIR)/android_webview_apk/assets/webviewchromium.pak',
58 'action': ['python', '<(repack_path)', '<@(_outputs)',
64 'target_name': 'android_webview_common',
65 'type': 'static_library',
67 '../android_webview/native/webview_native.gyp:webview_native',
68 '../components/components.gyp:auto_login_parser',
69 '../components/components.gyp:autofill_content_renderer',
70 '../components/components.gyp:navigation_interception',
71 '../components/components.gyp:visitedlink_browser',
72 '../components/components.gyp:visitedlink_renderer',
73 '../components/components.gyp:web_contents_delegate_android',
74 '../content/content.gyp:content',
75 '../skia/skia.gyp:skia',
76 '../gpu/gpu.gyp:gles2_implementation',
78 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu',
79 'android_webview_pak',
84 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/',
87 'browser/aw_browser_context.cc',
88 'browser/aw_browser_context.h',
89 'browser/aw_browser_main_parts.cc',
90 'browser/aw_browser_main_parts.h',
91 'browser/aw_contents_client_bridge_base.cc',
92 'browser/aw_contents_client_bridge_base.h',
93 'browser/aw_content_browser_client.cc',
94 'browser/aw_content_browser_client.h',
95 'browser/aw_contents_io_thread_client.h',
96 'browser/aw_cookie_access_policy.cc',
97 'browser/aw_cookie_access_policy.h',
98 'browser/aw_devtools_delegate.cc',
99 'browser/aw_devtools_delegate.h',
100 'browser/aw_download_manager_delegate.cc',
101 'browser/aw_download_manager_delegate.h',
102 'browser/aw_form_database_service.cc',
103 'browser/aw_form_database_service.h',
104 'browser/aw_http_auth_handler_base.cc',
105 'browser/aw_http_auth_handler_base.h',
106 'browser/aw_javascript_dialog_manager.cc',
107 'browser/aw_javascript_dialog_manager.h',
108 'browser/aw_login_delegate.cc',
109 'browser/aw_login_delegate.h',
110 'browser/aw_quota_manager_bridge.cc',
111 'browser/aw_quota_manager_bridge.h',
112 'browser/aw_quota_permission_context.cc',
113 'browser/aw_quota_permission_context.h',
114 'browser/aw_pref_store.cc',
115 'browser/aw_pref_store.h',
116 'browser/aw_request_interceptor.cc',
117 'browser/aw_request_interceptor.h',
118 'browser/aw_result_codes.h',
119 'browser/browser_view_renderer.h',
120 'browser/find_helper.cc',
121 'browser/find_helper.h',
122 'browser/gpu_memory_buffer_impl.cc',
123 'browser/gpu_memory_buffer_impl.h',
124 'browser/icon_helper.cc',
125 'browser/icon_helper.h',
126 'browser/in_process_view_renderer.cc',
127 'browser/in_process_view_renderer.h',
128 'browser/input_stream.h',
129 'browser/intercepted_request_data.h',
130 'browser/jni_dependency_factory.h',
131 'browser/net/android_stream_reader_url_request_job.cc',
132 'browser/net/android_stream_reader_url_request_job.h',
133 'browser/net/aw_network_delegate.cc',
134 'browser/net/aw_network_delegate.h',
135 'browser/net/aw_url_request_context_getter.cc',
136 'browser/net/aw_url_request_context_getter.h',
137 'browser/net/aw_url_request_job_factory.cc',
138 'browser/net/aw_url_request_job_factory.h',
139 'browser/net_disk_cache_remover.cc',
140 'browser/net_disk_cache_remover.h',
141 'browser/net/init_native_callback.h',
142 'browser/net/input_stream_reader.cc',
143 'browser/net/input_stream_reader.h',
144 'browser/renderer_host/aw_render_view_host_ext.cc',
145 'browser/renderer_host/aw_render_view_host_ext.h',
146 'browser/renderer_host/aw_resource_dispatcher_host_delegate.cc',
147 'browser/renderer_host/aw_resource_dispatcher_host_delegate.h',
148 'browser/scoped_allow_wait_for_legacy_web_view_api.h',
149 'browser/scoped_app_gl_state_restore.cc',
150 'browser/scoped_app_gl_state_restore.h',
151 'common/android_webview_message_generator.cc',
152 'common/android_webview_message_generator.h',
153 'common/aw_content_client.cc',
154 'common/aw_content_client.h',
155 'common/aw_hit_test_data.cc',
156 'common/aw_hit_test_data.h',
157 'common/aw_resource.h',
158 'common/aw_switches.cc',
159 'common/aw_switches.h',
160 'common/render_view_messages.cc',
161 'common/render_view_messages.h',
162 'common/url_constants.cc',
163 'common/url_constants.h',
164 'lib/aw_browser_dependency_factory_impl.cc',
165 'lib/aw_browser_dependency_factory_impl.h',
166 'lib/main/aw_main_delegate.cc',
167 'lib/main/aw_main_delegate.h',
168 'public/browser/draw_gl.h',
169 'renderer/aw_content_renderer_client.cc',
170 'renderer/aw_content_renderer_client.h',
171 'renderer/aw_render_process_observer.cc',
172 'renderer/aw_render_process_observer.h',
173 'renderer/aw_render_view_ext.cc',
174 'renderer/aw_render_view_ext.h',
178 'target_name': 'android_webview_java',
181 '../components/components.gyp:navigation_interception_java',
182 '../components/components.gyp:web_contents_delegate_android_java',
183 '../content/content.gyp:content_java',
184 '../ui/ui.gyp:ui_java',
187 'java_in_dir': '../android_webview/java',
189 'includes': [ '../build/java.gypi' ],