Don't reset the database when there was an I/O error.
[chromium-blink-merge.git] / android_webview / native / webview_native.gyp
blobaf3b21dee1657944b52124cfc66bf6382c9a9cb6
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         '../../components/components.gyp:autofill_content_browser',
16         '../../components/components.gyp:web_contents_delegate_android',
17         '../../cc/cc.gyp:cc',
18         '../../net/net.gyp:net',
19         '../../skia/skia.gyp:skia',
20         '../../ui/gfx/gfx.gyp:gfx',
21         '../../ui/ui.gyp:ui',
22         '../../webkit/common/user_agent/webkit_user_agent.gyp:user_agent',
23         '../../webkit/common/webkit_common.gyp:webkit_common',
24         '../../webkit/storage_browser.gyp:webkit_storage_browser',
25         '../../webkit/storage_common.gyp:webkit_storage_common',
26         'android_webview_native_jni',
27       ],
28       'include_dirs': [
29         '../..',
30         '../../skia/config',
31         '<(SHARED_INTERMEDIATE_DIR)/android_webview',
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_picture.cc',
57         'aw_picture.h',
58         'aw_quota_manager_bridge_impl.cc',
59         'aw_quota_manager_bridge_impl.h',
60         'aw_resource.cc',
61         'aw_resource.h',
62         'aw_settings.cc',
63         'aw_settings.h',
64         'aw_web_contents_delegate.cc',
65         'aw_web_contents_delegate.h',
66         'aw_web_contents_view_delegate.cc',
67         'aw_web_contents_view_delegate.h',
68         'aw_web_preferences_populater_impl.cc',
69         'aw_web_preferences_populater_impl.h',
70         'cookie_manager.cc',
71         'cookie_manager.h',
72         'input_stream_impl.cc',
73         'input_stream_impl.h',
74         'intercepted_request_data_impl.cc',
75         'intercepted_request_data_impl.h',
76         'java_browser_view_renderer_helper.cc',
77         'java_browser_view_renderer_helper.h',
78         'net_init_native_callback.cc',
79         'state_serializer.cc',
80         'state_serializer.h',
81       ],
82     },
83     {
84       'target_name': 'android_jar_jni_headers',
85       'type': 'none',
86       'variables': {
87         'jni_gen_package': 'android_webview',
88         'input_java_class': 'java/io/InputStream.class',
89       },
90       'includes': [ '../../build/jar_file_jni_generator.gypi' ],
91     },
92     {
93       'target_name': 'android_webview_native_jni',
94       'type': 'none',
95       'sources': [
96           '../java/src/org/chromium/android_webview/AndroidProtocolHandler.java',
97           '../java/src/org/chromium/android_webview/AwAutofillManagerDelegate.java',
98           '../java/src/org/chromium/android_webview/AwContents.java',
99           '../java/src/org/chromium/android_webview/AwContentsClientBridge.java',
100           '../java/src/org/chromium/android_webview/AwContentsIoThreadClient.java',
101           '../java/src/org/chromium/android_webview/AwCookieManager.java',
102           '../java/src/org/chromium/android_webview/AwDevToolsServer.java',
103           '../java/src/org/chromium/android_webview/AwFormDatabase.java',
104           '../java/src/org/chromium/android_webview/AwHttpAuthHandler.java',
105           '../java/src/org/chromium/android_webview/AwPicture.java',
106           '../java/src/org/chromium/android_webview/AwQuotaManagerBridge.java',
107           '../java/src/org/chromium/android_webview/AwResource.java',
108           '../java/src/org/chromium/android_webview/AwSettings.java',
109           '../java/src/org/chromium/android_webview/AwWebContentsDelegate.java',
110           '../java/src/org/chromium/android_webview/InterceptedRequestData.java',
111           '../java/src/org/chromium/android_webview/JavaBrowserViewRendererHelper.java',
112       ],
113       'variables': {
114         'jni_gen_package': 'android_webview',
115       },
116       'includes': [ '../../build/jni_generator.gypi' ],
117       'dependencies': [
118         'android_jar_jni_headers',
119       ],
120     },
121   ],