1 # Copyright (c) 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',
27 ['android_build_type != 0', {
29 # The "android" gyp backend doesn't quite handle static libraries'
30 # dependencies correctly; force this to be linked as a workaround.
37 'target_name': 'android_webview_common',
38 'type': 'static_library',
40 '../android_webview/native/webview_native.gyp:webview_native',
41 '../content/content.gyp:content',
42 '../content/content.gyp:navigation_interception',
43 '../content/content.gyp:web_contents_delegate_android',
44 '../ui/ui.gyp:ui_resources',
51 'browser/aw_browser_context.cc',
52 'browser/aw_browser_context.h',
53 'browser/aw_browser_main_parts.cc',
54 'browser/aw_browser_main_parts.h',
55 'browser/aw_content_browser_client.cc',
56 'browser/aw_content_browser_client.h',
57 'browser/aw_contents_io_thread_client.h',
58 'browser/aw_cookie_access_policy.cc',
59 'browser/aw_cookie_access_policy.h',
60 'browser/aw_http_auth_handler_base.cc',
61 'browser/aw_http_auth_handler_base.h',
62 'browser/aw_login_delegate.cc',
63 'browser/aw_login_delegate.h',
64 'browser/aw_quota_permission_context.cc',
65 'browser/aw_quota_permission_context.h',
66 'browser/aw_request_interceptor.cc',
67 'browser/aw_request_interceptor.h',
68 'browser/aw_result_codes.h',
69 'browser/find_helper.cc',
70 'browser/find_helper.h',
71 'browser/input_stream.h',
72 'browser/intercepted_request_data.h',
73 'browser/net/android_stream_reader_url_request_job.cc',
74 'browser/net/android_stream_reader_url_request_job.h',
75 'browser/net/aw_network_delegate.cc',
76 'browser/net/aw_network_delegate.h',
77 'browser/net/aw_url_request_context_getter.cc',
78 'browser/net/aw_url_request_context_getter.h',
79 'browser/net/aw_url_request_job_factory.cc',
80 'browser/net/aw_url_request_job_factory.h',
81 'browser/net/init_native_callback.h',
82 'browser/net/input_stream_reader.cc',
83 'browser/net/input_stream_reader.h',
84 'browser/net_disk_cache_remover.cc',
85 'browser/net_disk_cache_remover.h',
86 'browser/renderer_host/aw_render_view_host_ext.cc',
87 'browser/renderer_host/aw_render_view_host_ext.h',
88 'browser/renderer_host/aw_resource_dispatcher_host_delegate.cc',
89 'browser/renderer_host/aw_resource_dispatcher_host_delegate.h',
90 'browser/scoped_allow_wait_for_legacy_web_view_api.h',
91 'browser/scoped_allow_wait_for_legacy_web_view_api.h',
92 'common/android_webview_message_generator.cc',
93 'common/android_webview_message_generator.h',
94 'common/aw_content_client.cc',
95 'common/aw_content_client.h',
96 'common/aw_hit_test_data.cc',
97 'common/aw_hit_test_data.h',
98 'common/aw_resource.h',
99 'common/render_view_messages.cc',
100 'common/render_view_messages.h',
101 'common/url_constants.cc',
102 'common/url_constants.h',
103 'lib/aw_browser_dependency_factory_impl.cc',
104 'lib/aw_browser_dependency_factory_impl.h',
105 'lib/main/aw_main_delegate.cc',
106 'lib/main/aw_main_delegate.h',
107 'public/browser/draw_gl.h',
108 'renderer/aw_content_renderer_client.cc',
109 'renderer/aw_content_renderer_client.h',
110 'renderer/aw_render_process_observer.cc',
111 'renderer/aw_render_process_observer.h',
112 'renderer/aw_render_view_ext.cc',
113 'renderer/aw_render_view_ext.h',
117 'target_name': 'android_webview_java',
120 '../content/content.gyp:content_java',
121 '../content/content.gyp:navigation_interception_java',
122 '../content/content.gyp:web_contents_delegate_android_java',
123 '../ui/ui.gyp:ui_java',
126 'package_name': 'android_webview_java',
127 'java_in_dir': '../android_webview/java',
129 'includes': [ '../build/java.gypi' ],
132 'target_name': 'android_webview_apk',
135 '../base/base.gyp:base_java',
136 '../chrome/chrome_resources.gyp:packed_extra_resources',
137 '../chrome/chrome_resources.gyp:packed_resources',
138 '../content/content.gyp:content_java',
139 '../content/content.gyp:navigation_interception_java',
140 '../content/content.gyp:web_contents_delegate_android_java',
141 '../media/media.gyp:media_java',
142 '../net/net.gyp:net_java',
143 '../ui/ui.gyp:ui_java',
144 'libwebviewchromium',
147 'package_name': 'android_webview',
148 'apk_name': 'AndroidWebView',
149 'manifest_package_name': 'org.chromium.android_webview',
150 'java_in_dir': '../android_webview/java',
151 'native_libs_paths': ['<(SHARED_LIB_DIR)/libwebviewchromium.so'],
153 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome.pak',
154 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_100_percent.pak',
155 '<(SHARED_INTERMEDIATE_DIR)/repack/en-US.pak',
157 'copied_pak_files': [
158 '<(PRODUCT_DIR)/android_webview/assets/chrome.pak',
159 '<(PRODUCT_DIR)/android_webview/assets/chrome_100_percent.pak',
160 '<(PRODUCT_DIR)/android_webview/assets/en-US.pak',
162 'additional_input_paths': [ '<@(copied_pak_files)' ],
166 'destination': '<(PRODUCT_DIR)/android_webview/assets',
167 'files': [ '<@(input_pak_files)' ]
170 'includes': [ '../build/java_apk.gypi' ],