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