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