Enable maximize mode when keyboard is open past 180 degrees.
[chromium-blink-merge.git] / android_webview / native / webview_native.gyp
blob27d599a7961f201cfdd25a7e02c619be18fbd8a2
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         '../../net/net.gyp:net',
20         '../../skia/skia.gyp:skia',
21         '../../ui/base/ui_base.gyp:ui_base',
22         '../../ui/gfx/gfx.gyp:gfx',
23         '../../ui/gfx/gfx.gyp:gfx_geometry',
24         '../../webkit/common/webkit_common.gyp:webkit_common',
25         '../../webkit/storage_browser.gyp:webkit_storage_browser',
26         '../../webkit/storage_common.gyp:webkit_storage_common',
27         'android_webview_native_jni',
28       ],
29       'include_dirs': [
30         '../..',
31         '../../skia/config',
32       ],
33       'sources': [
34         'android_protocol_handler.cc',
35         'android_protocol_handler.h',
36         'android_webview_jni_registrar.cc',
37         'android_webview_jni_registrar.h',
38         'aw_autofill_manager_delegate.cc',
39         'aw_autofill_manager_delegate.h',
40         'aw_browser_dependency_factory.cc',
41         'aw_browser_dependency_factory.h',
42         'aw_contents.cc',
43         'aw_contents.h',
44         'aw_contents_client_bridge.cc',
45         'aw_contents_client_bridge.h',
46         'aw_contents_io_thread_client_impl.cc',
47         'aw_contents_io_thread_client_impl.h',
48         'aw_dev_tools_server.cc',
49         'aw_dev_tools_server.h',
50         'aw_form_database.cc',
51         'aw_form_database.h',
52         'aw_geolocation_permission_context.cc',
53         'aw_geolocation_permission_context.h',
54         'aw_http_auth_handler.cc',
55         'aw_http_auth_handler.h',
56         'aw_pdf_exporter.cc',
57         'aw_pdf_exporter.h',
58         'aw_picture.cc',
59         'aw_picture.h',
60         'aw_quota_manager_bridge_impl.cc',
61         'aw_quota_manager_bridge_impl.h',
62         'aw_resource.cc',
63         'aw_resource.h',
64         'aw_settings.cc',
65         'aw_settings.h',
66         'aw_web_contents_delegate.cc',
67         'aw_web_contents_delegate.h',
68         'aw_web_contents_view_delegate.cc',
69         'aw_web_contents_view_delegate.h',
70         'aw_web_preferences_populater_impl.cc',
71         'aw_web_preferences_populater_impl.h',
72         'cookie_manager.cc',
73         'cookie_manager.h',
74         'input_stream_impl.cc',
75         'input_stream_impl.h',
76         'intercepted_request_data_impl.cc',
77         'intercepted_request_data_impl.h',
78         'java_browser_view_renderer_helper.cc',
79         'java_browser_view_renderer_helper.h',
80         'net_init_native_callback.cc',
81         'state_serializer.cc',
82         'state_serializer.h',
83       ],
84       'conditions': [
85         ['video_hole==1', {
86           'sources': [
87             'external_video_surface_container_impl.cc',
88             'external_video_surface_container_impl.h',
89           ],
90         }],
91       ],
92     },
93     {
94       'target_name': 'input_stream_android_jar_jni_headers',
95       'type': 'none',
96       'variables': {
97         'jni_gen_package': 'android_webview',
98         'input_java_class': 'java/io/InputStream.class',
99       },
100       'includes': [ '../../build/jar_file_jni_generator.gypi' ],
101     },
102     {
103       'target_name': 'cancellation_signal_android_jar_jni_headers',
104       'type': 'none',
105       'variables': {
106         'jni_gen_package': 'android_webview',
107         'input_java_class': 'android/os/CancellationSignal.class',
108       },
109       'includes': [ '../../build/jar_file_jni_generator.gypi' ],
110     },
111     {
112       'target_name': 'android_webview_native_jni',
113       'type': 'none',
114       'sources': [
115           '../java/src/org/chromium/android_webview/AndroidProtocolHandler.java',
116           '../java/src/org/chromium/android_webview/AwAutofillManagerDelegate.java',
117           '../java/src/org/chromium/android_webview/AwContents.java',
118           '../java/src/org/chromium/android_webview/AwContentsClientBridge.java',
119           '../java/src/org/chromium/android_webview/AwContentsIoThreadClient.java',
120           '../java/src/org/chromium/android_webview/AwCookieManager.java',
121           '../java/src/org/chromium/android_webview/AwDevToolsServer.java',
122           '../java/src/org/chromium/android_webview/AwFormDatabase.java',
123           '../java/src/org/chromium/android_webview/AwHttpAuthHandler.java',
124           '../java/src/org/chromium/android_webview/AwPdfExporter.java',
125           '../java/src/org/chromium/android_webview/AwPicture.java',
126           '../java/src/org/chromium/android_webview/AwQuotaManagerBridge.java',
127           '../java/src/org/chromium/android_webview/AwResource.java',
128           '../java/src/org/chromium/android_webview/AwSettings.java',
129           '../java/src/org/chromium/android_webview/AwWebContentsDelegate.java',
130           '../java/src/org/chromium/android_webview/ExternalVideoSurfaceContainer.java',
131           '../java/src/org/chromium/android_webview/InterceptedRequestData.java',
132           '../java/src/org/chromium/android_webview/JavaBrowserViewRendererHelper.java',
133       ],
134       'variables': {
135         'jni_gen_package': 'android_webview',
136         'jni_generator_ptr_type': 'long',
137       },
138       'includes': [ '../../build/jni_generator.gypi' ],
139       'dependencies': [
140         'input_stream_android_jar_jni_headers',
141         'cancellation_signal_android_jar_jni_headers',
142       ],
143     },
144   ],