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 }, 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_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 }, 85 { 86 'target_name': 'input_stream_android_jar_jni_headers', 87 'type': 'none', 88 'variables': { 89 'jni_gen_package': 'android_webview', 90 'input_java_class': 'java/io/InputStream.class', 91 }, 92 'includes': [ '../../build/jar_file_jni_generator.gypi' ], 93 }, 94 { 95 'target_name': 'cancellation_signal_android_jar_jni_headers', 96 'type': 'none', 97 'variables': { 98 'jni_gen_package': 'android_webview', 99 'input_java_class': 'android/os/CancellationSignal.class', 100 }, 101 'includes': [ '../../build/jar_file_jni_generator.gypi' ], 102 }, 103 { 104 'target_name': 'android_webview_native_jni', 105 'type': 'none', 106 'sources': [ 107 '../java/src/org/chromium/android_webview/AndroidProtocolHandler.java', 108 '../java/src/org/chromium/android_webview/AwAutofillManagerDelegate.java', 109 '../java/src/org/chromium/android_webview/AwContents.java', 110 '../java/src/org/chromium/android_webview/AwContentsClientBridge.java', 111 '../java/src/org/chromium/android_webview/AwContentsIoThreadClient.java', 112 '../java/src/org/chromium/android_webview/AwCookieManager.java', 113 '../java/src/org/chromium/android_webview/AwDevToolsServer.java', 114 '../java/src/org/chromium/android_webview/AwFormDatabase.java', 115 '../java/src/org/chromium/android_webview/AwHttpAuthHandler.java', 116 '../java/src/org/chromium/android_webview/AwPdfExporter.java', 117 '../java/src/org/chromium/android_webview/AwPicture.java', 118 '../java/src/org/chromium/android_webview/AwQuotaManagerBridge.java', 119 '../java/src/org/chromium/android_webview/AwResource.java', 120 '../java/src/org/chromium/android_webview/AwSettings.java', 121 '../java/src/org/chromium/android_webview/AwWebContentsDelegate.java', 122 '../java/src/org/chromium/android_webview/InterceptedRequestData.java', 123 '../java/src/org/chromium/android_webview/JavaBrowserViewRendererHelper.java', 124 ], 125 'variables': { 126 'jni_gen_package': 'android_webview', 127 'jni_generator_ptr_type': 'long', 128 }, 129 'includes': [ '../../build/jni_generator.gypi' ], 130 'dependencies': [ 131 'input_stream_android_jar_jni_headers', 132 'cancellation_signal_android_jar_jni_headers', 133 ], 134 }, 135 ], 136} 137