ProfileManager doesn't depend on "--login-profile" switch.
[chromium-blink-merge.git] / android_webview / native / webview_native.gyp
blob60e09adc30921ce45d43f3d86e673bc6453f31da
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         '../../ui/base/ui_base.gyp:ui_base',
23         '../../ui/gfx/gfx.gyp:gfx',
24         '../../ui/gfx/gfx.gyp:gfx_geometry',
25         '../../webkit/storage_browser.gyp:storage',
26         '../../webkit/storage_common.gyp:storage_common',
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_assets.cc',
40         'aw_assets.h',
41         'aw_autofill_client.cc',
42         'aw_autofill_client.h',
43         'aw_browser_dependency_factory.cc',
44         'aw_browser_dependency_factory.h',
45         'aw_contents.cc',
46         'aw_contents.h',
47         'aw_contents_client_bridge.cc',
48         'aw_contents_client_bridge.h',
49         'aw_contents_io_thread_client_impl.cc',
50         'aw_contents_io_thread_client_impl.h',
51         'aw_contents_statics.cc',
52         'aw_contents_statics.h',
53         'aw_dev_tools_server.cc',
54         'aw_dev_tools_server.h',
55         'aw_form_database.cc',
56         'aw_form_database.h',
57         'aw_http_auth_handler.cc',
58         'aw_http_auth_handler.h',
59         'aw_media_url_interceptor.cc',
60         'aw_media_url_interceptor.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         'state_serializer.cc',
99         'state_serializer.h',
100       ],
101       'conditions': [
102         ['video_hole==1', {
103           'sources': [
104             'external_video_surface_container_impl.cc',
105             'external_video_surface_container_impl.h',
106           ],
107         }],
108       ],
109     },
110     {
111       'target_name': 'cancellation_signal_android_jar_jni_headers',
112       'type': 'none',
113       'variables': {
114         'jni_gen_package': 'android_webview',
115         'input_java_class': 'android/os/CancellationSignal.class',
116       },
117       'includes': [ '../../build/jar_file_jni_generator.gypi' ],
118     },
119     {
120       'target_name': 'android_webview_native_jni',
121       'type': 'none',
122       'sources': [
123           '../java/src/org/chromium/android_webview/AndroidProtocolHandler.java',
124           '../java/src/org/chromium/android_webview/AwAssets.java',
125           '../java/src/org/chromium/android_webview/AwAutofillClient.java',
126           '../java/src/org/chromium/android_webview/AwContents.java',
127           '../java/src/org/chromium/android_webview/AwContentsClientBridge.java',
128           '../java/src/org/chromium/android_webview/AwContentsIoThreadClient.java',
129           '../java/src/org/chromium/android_webview/AwContentsStatics.java',
130           '../java/src/org/chromium/android_webview/AwCookieManager.java',
131           '../java/src/org/chromium/android_webview/AwDevToolsServer.java',
132           '../java/src/org/chromium/android_webview/AwFormDatabase.java',
133           '../java/src/org/chromium/android_webview/AwHttpAuthHandler.java',
134           '../java/src/org/chromium/android_webview/AwPdfExporter.java',
135           '../java/src/org/chromium/android_webview/AwPicture.java',
136           '../java/src/org/chromium/android_webview/AwQuotaManagerBridge.java',
137           '../java/src/org/chromium/android_webview/AwResource.java',
138           '../java/src/org/chromium/android_webview/AwSettings.java',
139           '../java/src/org/chromium/android_webview/AwWebContentsDelegate.java',
140           '../java/src/org/chromium/android_webview/AwWebResourceResponse.java',
141           '../java/src/org/chromium/android_webview/ExternalVideoSurfaceContainer.java',
142           '../java/src/org/chromium/android_webview/InputStreamUtil.java',
143           '../java/src/org/chromium/android_webview/JavaBrowserViewRendererHelper.java',
144           '../java/src/org/chromium/android_webview/permission/AwPermissionRequest.java',
145       ],
146       'variables': {
147         'jni_gen_package': 'android_webview',
148       },
149       'includes': [ '../../build/jni_generator.gypi' ],
150       'dependencies': [
151         'cancellation_signal_android_jar_jni_headers',
152       ],
153     },
154   ],