OLD | NEW |
| (Empty) |
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. | |
4 { | |
5 'variables': { | |
6 'chromium_code': 1, | |
7 'protoc_out_dir': '<(SHARED_INTERMEDIATE_DIR)/protoc_out', | |
8 }, | |
9 'targets': [ | |
10 { | |
11 # GN version: //android_webview/native:native | |
12 'target_name': 'webview_native', | |
13 'type': 'static_library', | |
14 'dependencies': [ | |
15 '../../base/base.gyp:base_static', | |
16 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', | |
17 '../../cc/cc.gyp:cc', | |
18 '../../components/components.gyp:autofill_content_browser', | |
19 '../../components/components.gyp:web_contents_delegate_android', | |
20 '../../components/components_strings.gyp:components_strings', | |
21 '../../content/content.gyp:content_common', | |
22 '../../media/media.gyp:player_android', | |
23 '../../net/net.gyp:net', | |
24 '../../skia/skia.gyp:skia', | |
25 '../../storage/storage_browser.gyp:storage', | |
26 '../../storage/storage_common.gyp:storage_common', | |
27 '../../ui/base/ui_base.gyp:ui_base', | |
28 '../../ui/gfx/gfx.gyp:gfx', | |
29 '../../ui/gfx/gfx.gyp:gfx_geometry', | |
30 '../../third_party/boringssl/boringssl.gyp:boringssl', | |
31 'android_webview_native_jni', | |
32 ], | |
33 'include_dirs': [ | |
34 '../..', | |
35 '../../skia/config', | |
36 '../../third_party/protobuf/src', | |
37 '<(protoc_out_dir)', | |
38 ], | |
39 'sources': [ | |
40 'android_protocol_handler.cc', | |
41 'android_protocol_handler.h', | |
42 'android_webview_jni_registrar.cc', | |
43 'android_webview_jni_registrar.h', | |
44 'aw_autofill_client.cc', | |
45 'aw_autofill_client.h', | |
46 'aw_browser_dependency_factory.cc', | |
47 'aw_browser_dependency_factory.h', | |
48 'aw_contents.cc', | |
49 'aw_contents.h', | |
50 'aw_contents_background_thread_client.cc', | |
51 'aw_contents_background_thread_client.h', | |
52 'aw_contents_client_bridge.cc', | |
53 'aw_contents_client_bridge.h', | |
54 'aw_contents_io_thread_client_impl.cc', | |
55 'aw_contents_io_thread_client_impl.h', | |
56 'aw_contents_lifecycle_notifier.cc', | |
57 'aw_contents_lifecycle_notifier.h', | |
58 'aw_contents_statics.cc', | |
59 'aw_contents_statics.h', | |
60 'aw_debug.cc', | |
61 'aw_debug.h', | |
62 'aw_devtools_server.cc', | |
63 'aw_devtools_server.h', | |
64 'aw_form_database.cc', | |
65 'aw_form_database.h', | |
66 'aw_gl_functor.cc', | |
67 'aw_gl_functor.h', | |
68 'aw_http_auth_handler.cc', | |
69 'aw_http_auth_handler.h', | |
70 'aw_locale_manager_impl.cc', | |
71 'aw_locale_manager_impl.h', | |
72 'aw_media_url_interceptor.cc', | |
73 'aw_media_url_interceptor.h', | |
74 'aw_message_port_service_impl.cc', | |
75 'aw_message_port_service_impl.h', | |
76 'aw_metrics_switch.cc', | |
77 'aw_metrics_switch.h', | |
78 'aw_pdf_exporter.cc', | |
79 'aw_pdf_exporter.h', | |
80 'aw_picture.cc', | |
81 'aw_picture.h', | |
82 'aw_quota_manager_bridge_impl.cc', | |
83 'aw_quota_manager_bridge_impl.h', | |
84 'aw_resource.cc', | |
85 'aw_settings.cc', | |
86 'aw_settings.h', | |
87 'aw_web_contents_delegate.cc', | |
88 'aw_web_contents_delegate.h', | |
89 'aw_web_contents_view_delegate.cc', | |
90 'aw_web_contents_view_delegate.h', | |
91 'aw_web_preferences_populater_impl.cc', | |
92 'aw_web_preferences_populater_impl.h', | |
93 'aw_web_resource_response_impl.cc', | |
94 'aw_web_resource_response_impl.h', | |
95 'cookie_manager.cc', | |
96 'cookie_manager.h', | |
97 'input_stream_impl.cc', | |
98 'input_stream_impl.h', | |
99 'java_browser_view_renderer_helper.cc', | |
100 'java_browser_view_renderer_helper.h', | |
101 'net_init_native_callback.cc', | |
102 'permission/aw_permission_request.cc', | |
103 'permission/aw_permission_request.h', | |
104 'permission/aw_permission_request_delegate.cc', | |
105 'permission/aw_permission_request_delegate.h', | |
106 'permission/media_access_permission_request.cc', | |
107 'permission/media_access_permission_request.h', | |
108 'permission/permission_request_handler.cc', | |
109 'permission/permission_request_handler.h', | |
110 'permission/permission_request_handler_client.cc', | |
111 'permission/permission_request_handler_client.h', | |
112 'permission/simple_permission_request.cc', | |
113 'permission/simple_permission_request.h', | |
114 'state_serializer.cc', | |
115 'state_serializer.h', | |
116 'token_binding_manager_bridge.cc', | |
117 'token_binding_manager_bridge.h', | |
118 ], | |
119 'conditions': [ | |
120 ['video_hole==1', { | |
121 'dependencies': [ | |
122 '../../components/components.gyp:external_video_surface', | |
123 ], | |
124 }], | |
125 ], | |
126 }, | |
127 { | |
128 # GN version: //android_webview/native:cancellation_signal_android_jar_jn
i_headers' | |
129 'target_name': 'cancellation_signal_android_jar_jni_headers', | |
130 'type': 'none', | |
131 'variables': { | |
132 'jni_gen_package': 'android_webview', | |
133 'input_java_class': 'android/os/CancellationSignal.class', | |
134 }, | |
135 'includes': [ '../../build/jar_file_jni_generator.gypi' ], | |
136 }, | |
137 { | |
138 # GN version: //android_webview/native:native_jni | |
139 'target_name': 'android_webview_native_jni', | |
140 'type': 'none', | |
141 'sources': [ | |
142 '../java/src/org/chromium/android_webview/AndroidProtocolHandler.java'
, | |
143 '../java/src/org/chromium/android_webview/AwAutofillClient.java', | |
144 '../java/src/org/chromium/android_webview/AwContents.java', | |
145 '../java/src/org/chromium/android_webview/AwContentsBackgroundThreadCl
ient.java', | |
146 '../java/src/org/chromium/android_webview/AwContentsClientBridge.java'
, | |
147 '../java/src/org/chromium/android_webview/AwContentsIoThreadClient.jav
a', | |
148 '../java/src/org/chromium/android_webview/AwContentsLifecycleNotifier.
java', | |
149 '../java/src/org/chromium/android_webview/AwContentsStatics.java', | |
150 '../java/src/org/chromium/android_webview/AwCookieManager.java', | |
151 '../java/src/org/chromium/android_webview/AwDebug.java', | |
152 '../java/src/org/chromium/android_webview/AwDevToolsServer.java', | |
153 '../java/src/org/chromium/android_webview/AwFormDatabase.java', | |
154 '../java/src/org/chromium/android_webview/AwGLFunctor.java', | |
155 '../java/src/org/chromium/android_webview/AwHttpAuthHandler.java', | |
156 '../java/src/org/chromium/android_webview/AwMessagePortService.java', | |
157 '../java/src/org/chromium/android_webview/AwMetricsServiceClient.java'
, | |
158 '../java/src/org/chromium/android_webview/AwPdfExporter.java', | |
159 '../java/src/org/chromium/android_webview/AwPicture.java', | |
160 '../java/src/org/chromium/android_webview/AwQuotaManagerBridge.java', | |
161 '../java/src/org/chromium/android_webview/AwResource.java', | |
162 '../java/src/org/chromium/android_webview/AwSettings.java', | |
163 '../java/src/org/chromium/android_webview/AwTokenBindingManager.java', | |
164 '../java/src/org/chromium/android_webview/AwWebContentsDelegate.java', | |
165 '../java/src/org/chromium/android_webview/AwWebResourceResponse.java', | |
166 '../java/src/org/chromium/android_webview/InputStreamUtil.java', | |
167 '../java/src/org/chromium/android_webview/JavaBrowserViewRendererHelpe
r.java', | |
168 '../java/src/org/chromium/android_webview/permission/AwPermissionReque
st.java', | |
169 ], | |
170 'variables': { | |
171 'jni_gen_package': 'android_webview', | |
172 }, | |
173 'includes': [ '../../build/jni_generator.gypi' ], | |
174 'dependencies': [ | |
175 'cancellation_signal_android_jar_jni_headers', | |
176 ], | |
177 }, | |
178 # GN version: //android_webview/native:aw_permission_request_resource' | |
179 { | |
180 'target_name': 'android_webview_aw_permission_request_resource', | |
181 'type': 'none', | |
182 'variables': { | |
183 'source_file': 'permission/aw_permission_request.h', | |
184 }, | |
185 'includes': [ '../../build/android/java_cpp_enum.gypi' ], | |
186 }, | |
187 ], | |
188 } | |
OLD | NEW |