Add/resurrect support for bundles of WebStore items.
[chromium-blink-merge.git] / android_webview / native / webview_native.gyp
blob121a876becf88c76b3038563c287ce2e7b6e2a1d
1 # Copyright (c) 2012 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.
5   'variables': {
6     'chromium_code': 1,
7   },
8   'targets': [
9     {
10       'target_name': 'webview_native',
11       'type': 'static_library',
12       'dependencies': [
13         '../../base/base.gyp:base_static',
14         '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
15         '../../cc/cc.gyp:cc',
16         '../../components/components.gyp:autofill_content_browser',
17         '../../components/components.gyp:web_contents_delegate_android',
18         '../../content/content.gyp:content_common',
19         '../../media/media.gyp:player_android',
20         '../../net/net.gyp:net',
21         '../../skia/skia.gyp:skia',
22         '../../storage/storage_browser.gyp:storage',
23         '../../storage/storage_common.gyp:storage_common',
24         '../../ui/base/ui_base.gyp:ui_base',
25         '../../ui/gfx/gfx.gyp:gfx',
26         '../../ui/gfx/gfx.gyp:gfx_geometry',
27         '../../third_party/boringssl/boringssl.gyp:boringssl',
28         'android_webview_native_jni',
29       ],
30       'include_dirs': [
31         '../..',
32         '../../skia/config',
33       ],
34       'sources': [
35         'android_protocol_handler.cc',
36         'android_protocol_handler.h',
37         'android_webview_jni_registrar.cc',
38         'android_webview_jni_registrar.h',
39         'aw_autofill_client.cc',
40         'aw_autofill_client.h',
41         'aw_browser_dependency_factory.cc',
42         'aw_browser_dependency_factory.h',
43         'aw_contents.cc',
44         'aw_contents.h',
45         'aw_contents_client_bridge.cc',
46         'aw_contents_client_bridge.h',
47         'aw_contents_io_thread_client_impl.cc',
48         'aw_contents_io_thread_client_impl.h',
49         'aw_contents_statics.cc',
50         'aw_contents_statics.h',
51         'aw_dev_tools_server.cc',
52         'aw_dev_tools_server.h',
53         'aw_form_database.cc',
54         'aw_form_database.h',
55         'aw_http_auth_handler.cc',
56         'aw_http_auth_handler.h',
57         'aw_media_url_interceptor.cc',
58         'aw_media_url_interceptor.h',
59         'aw_message_port_service_impl.cc',
60         'aw_messagE_port_service_impl.h',
61         'aw_pdf_exporter.cc',
62         'aw_pdf_exporter.h',
63         'aw_picture.cc',
64         'aw_picture.h',
65         'aw_quota_manager_bridge_impl.cc',
66         'aw_quota_manager_bridge_impl.h',
67         'aw_resource.cc',
68         'aw_resource.h',
69         'aw_settings.cc',
70         'aw_settings.h',
71         'aw_web_contents_delegate.cc',
72         'aw_web_contents_delegate.h',
73         'aw_web_contents_view_delegate.cc',
74         'aw_web_contents_view_delegate.h',
75         'aw_web_preferences_populater_impl.cc',
76         'aw_web_preferences_populater_impl.h',
77         'aw_web_resource_response_impl.cc',
78         'aw_web_resource_response_impl.h',
79         'cookie_manager.cc',
80         'cookie_manager.h',
81         'input_stream_impl.cc',
82         'input_stream_impl.h',
83         'java_browser_view_renderer_helper.cc',
84         'java_browser_view_renderer_helper.h',
85         'net_init_native_callback.cc',
86         'permission/aw_permission_request.cc',
87         'permission/aw_permission_request.h',
88         'permission/aw_permission_request_delegate.cc',
89         'permission/aw_permission_request_delegate.h',
90         'permission/media_access_permission_request.cc',
91         'permission/media_access_permission_request.h',
92         'permission/permission_request_handler.cc',
93         'permission/permission_request_handler.h',
94         'permission/permission_request_handler_client.cc',
95         'permission/permission_request_handler_client.h',
96         'permission/simple_permission_request.cc',
97         'permission/simple_permission_request.h',
98         'public/aw_assets.cc',
99         'public/aw_assets.h',
100         'state_serializer.cc',
101         'state_serializer.h',
102       ],
103       'conditions': [
104         ['video_hole==1', {
105           'sources': [
106             'external_video_surface_container_impl.cc',
107             'external_video_surface_container_impl.h',
108           ],
109         }],
110       ],
111     },
112     {
113       'target_name': 'cancellation_signal_android_jar_jni_headers',
114       'type': 'none',
115       'variables': {
116         'jni_gen_package': 'android_webview',
117         'input_java_class': 'android/os/CancellationSignal.class',
118       },
119       'includes': [ '../../build/jar_file_jni_generator.gypi' ],
120     },
121     {
122       'target_name': 'android_webview_native_jni',
123       'type': 'none',
124       'sources': [
125           '../java/src/org/chromium/android_webview/AndroidProtocolHandler.java',
126           '../java/src/org/chromium/android_webview/AwAssets.java',
127           '../java/src/org/chromium/android_webview/AwAutofillClient.java',
128           '../java/src/org/chromium/android_webview/AwContents.java',
129           '../java/src/org/chromium/android_webview/AwContentsClientBridge.java',
130           '../java/src/org/chromium/android_webview/AwContentsIoThreadClient.java',
131           '../java/src/org/chromium/android_webview/AwContentsStatics.java',
132           '../java/src/org/chromium/android_webview/AwCookieManager.java',
133           '../java/src/org/chromium/android_webview/AwDevToolsServer.java',
134           '../java/src/org/chromium/android_webview/AwFormDatabase.java',
135           '../java/src/org/chromium/android_webview/AwHttpAuthHandler.java',
136           '../java/src/org/chromium/android_webview/AwMessagePortService.java',
137           '../java/src/org/chromium/android_webview/AwPdfExporter.java',
138           '../java/src/org/chromium/android_webview/AwPicture.java',
139           '../java/src/org/chromium/android_webview/AwQuotaManagerBridge.java',
140           '../java/src/org/chromium/android_webview/AwResource.java',
141           '../java/src/org/chromium/android_webview/AwSettings.java',
142           '../java/src/org/chromium/android_webview/AwWebContentsDelegate.java',
143           '../java/src/org/chromium/android_webview/AwWebResourceResponse.java',
144           '../java/src/org/chromium/android_webview/ExternalVideoSurfaceContainer.java',
145           '../java/src/org/chromium/android_webview/InputStreamUtil.java',
146           '../java/src/org/chromium/android_webview/JavaBrowserViewRendererHelper.java',
147           '../java/src/org/chromium/android_webview/permission/AwPermissionRequest.java',
148       ],
149       'variables': {
150         'jni_gen_package': 'android_webview',
151       },
152       'includes': [ '../../build/jni_generator.gypi' ],
153       'dependencies': [
154         'cancellation_signal_android_jar_jni_headers',
155       ],
156     },
157   ],