Home | History | Annotate | Download | only in content
      1 # Copyright 2013 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 {
      6   'dependencies': [
      7     '../base/base.gyp:base',
      8     '../components/tracing.gyp:tracing',
      9     '../skia/skia.gyp:skia',
     10     '../ui/gfx/gfx.gyp:gfx',
     11     '../ui/ui.gyp:ui',
     12     '../url/url.gyp:url_lib',
     13   ],
     14   'include_dirs': [
     15     '..',
     16   ],
     17   'export_dependent_settings': [
     18     '../base/base.gyp:base',
     19   ],
     20   'sources': [
     21     'child/android/child_jni_registrar.cc',
     22     'child/android/child_jni_registrar.h',
     23     'child/appcache/appcache_backend_proxy.cc',
     24     'child/appcache/appcache_backend_proxy.h',
     25     'child/appcache/appcache_dispatcher.cc',
     26     'child/appcache/appcache_dispatcher.h',
     27     'child/appcache/appcache_frontend_impl.cc',
     28     'child/appcache/appcache_frontend_impl.h',
     29     'child/appcache/web_application_cache_host_impl.cc',
     30     'child/appcache/web_application_cache_host_impl.h',
     31     'child/browser_font_resource_trusted.cc',
     32     'child/browser_font_resource_trusted.h',
     33     'child/child_histogram_message_filter.cc',
     34     'child/child_histogram_message_filter.h',
     35     'child/child_message_filter.cc',
     36     'child/child_message_filter.h',
     37     'child/child_process.cc',
     38     'child/child_process.h',
     39     'child/child_resource_message_filter.cc',
     40     'child/child_resource_message_filter.h',
     41     'child/child_thread.cc',
     42     'child/child_thread.h',
     43     'child/database_util.cc',
     44     'child/database_util.h',
     45     'child/db_message_filter.cc',
     46     'child/db_message_filter.h',
     47     'child/fileapi/file_system_dispatcher.cc',
     48     'child/fileapi/file_system_dispatcher.h',
     49     'child/fileapi/webfilesystem_impl.cc',
     50     'child/fileapi/webfilesystem_impl.h',
     51     'child/fileapi/webfilewriter_base.cc',
     52     'child/fileapi/webfilewriter_base.h',
     53     'child/fileapi/webfilewriter_impl.cc',
     54     'child/fileapi/webfilewriter_impl.h',
     55     'child/image_decoder.cc',
     56     'child/image_decoder.h',
     57     'child/indexed_db/indexed_db_dispatcher.cc',
     58     'child/indexed_db/indexed_db_dispatcher.h',
     59     'child/indexed_db/indexed_db_key_builders.cc',
     60     'child/indexed_db/indexed_db_key_builders.h',
     61     'child/indexed_db/indexed_db_message_filter.cc',
     62     'child/indexed_db/indexed_db_message_filter.h',
     63     'child/indexed_db/webidbcursor_impl.cc',
     64     'child/indexed_db/webidbcursor_impl.h',
     65     'child/indexed_db/webidbdatabase_impl.cc',
     66     'child/indexed_db/webidbdatabase_impl.h',
     67     'child/indexed_db/webidbfactory_impl.cc',
     68     'child/indexed_db/webidbfactory_impl.h',
     69     'child/npapi/np_channel_base.cc',
     70     'child/npapi/np_channel_base.h',
     71     'child/npapi/npobject_base.h',
     72     'child/npapi/npobject_proxy.cc',
     73     'child/npapi/npobject_proxy.h',
     74     'child/npapi/npobject_stub.cc',
     75     'child/npapi/npobject_stub.h',
     76     'child/npapi/npobject_util.cc',
     77     'child/npapi/npobject_util.h',
     78     'child/npapi/npruntime_util.cc',
     79     'child/npapi/npruntime_util.h',
     80     'child/npapi/plugin_host.cc',
     81     'child/npapi/plugin_host.h',
     82     'child/npapi/plugin_instance.cc',
     83     'child/npapi/plugin_instance.h',
     84     'child/npapi/plugin_instance_mac.mm',
     85     'child/npapi/plugin_lib.cc',
     86     'child/npapi/plugin_lib.h',
     87     'child/npapi/plugin_stream.cc',
     88     'child/npapi/plugin_stream.h',
     89     'child/npapi/plugin_stream_posix.cc',
     90     'child/npapi/plugin_stream_url.cc',
     91     'child/npapi/plugin_stream_url.h',
     92     'child/npapi/plugin_stream_win.cc',
     93     'child/npapi/plugin_string_stream.cc',
     94     'child/npapi/plugin_string_stream.h',
     95     'child/npapi/plugin_url_fetcher.cc',
     96     'child/npapi/plugin_url_fetcher.h',
     97     'child/npapi/plugin_web_event_converter_mac.h',
     98     'child/npapi/plugin_web_event_converter_mac.mm',
     99     'child/npapi/webplugin.h',
    100     'child/npapi/webplugin_accelerated_surface_mac.h',
    101     'child/npapi/webplugin_delegate.h',
    102     'child/npapi/webplugin_delegate_impl.cc',
    103     'child/npapi/webplugin_delegate_impl.h',
    104     'child/npapi/webplugin_delegate_impl_android.cc',
    105     'child/npapi/webplugin_delegate_impl_aura.cc',
    106     'child/npapi/webplugin_delegate_impl_gtk.cc',
    107     'child/npapi/webplugin_delegate_impl_mac.mm',
    108     'child/npapi/webplugin_delegate_impl_win.cc',
    109     'child/npapi/webplugin_ime_win.cc',
    110     'child/npapi/webplugin_ime_win.h',
    111     'child/npapi/webplugin_resource_client.h',
    112     'child/plugin_message_generator.cc',
    113     'child/plugin_message_generator.h',
    114     'child/plugin_messages.h',
    115     'child/plugin_param_traits.cc',
    116     'child/plugin_param_traits.h',
    117     'child/power_monitor_broadcast_source.cc',
    118     'child/power_monitor_broadcast_source.h',
    119     'child/quota_dispatcher.cc',
    120     'child/quota_dispatcher.h',
    121     'child/quota_message_filter.cc',
    122     'child/quota_message_filter.h',
    123     'child/request_extra_data.cc',
    124     'child/request_extra_data.h',
    125     'child/resource_dispatcher.cc',
    126     'child/resource_dispatcher.h',
    127     'child/runtime_features.cc',
    128     'child/runtime_features.h',
    129     'child/scoped_child_process_reference.cc',
    130     'child/scoped_child_process_reference.h',
    131     'child/service_worker/service_worker_dispatcher.cc',
    132     'child/service_worker/service_worker_dispatcher.h',
    133     'child/service_worker/service_worker_message_filter.cc',
    134     'child/service_worker/service_worker_message_filter.h',
    135     'child/service_worker/web_service_worker_impl.cc',
    136     'child/service_worker/web_service_worker_impl.h',
    137     'child/service_worker/web_service_worker_provider_impl.cc',
    138     'child/service_worker/web_service_worker_provider_impl.h',
    139     'child/site_isolation_policy.cc',
    140     'child/site_isolation_policy.h',
    141     'child/socket_stream_dispatcher.cc',
    142     'child/socket_stream_dispatcher.h',
    143     'child/thread_safe_sender.cc',
    144     'child/thread_safe_sender.h',
    145     'child/web_database_observer_impl.cc',
    146     'child/web_database_observer_impl.h',
    147     'child/webblobregistry_impl.cc',
    148     'child/webblobregistry_impl.h',
    149     'child/webkitplatformsupport_impl.cc',
    150     'child/webkitplatformsupport_impl.h',
    151     'child/webmessageportchannel_impl.cc',
    152     'child/webmessageportchannel_impl.h',
    153     'child/websocket_bridge.cc',
    154     'child/websocket_bridge.h',
    155     'child/websocket_dispatcher.cc',
    156     'child/websocket_dispatcher.h',
    157     'child/worker_thread_task_runner.cc',
    158     'child/worker_thread_task_runner.h',
    159     'public/child/image_decoder_utils.h',
    160     'public/child/resource_dispatcher_delegate.h',
    161   ],
    162   'conditions': [
    163     ['OS=="android"', {
    164       'includes': [
    165         '../build/android/cpufeatures.gypi',
    166       ],
    167     }],
    168     ['enable_plugins==0', {
    169       'sources!': [
    170         'child/browser_font_resource_trusted.cc',
    171       ],
    172       'sources/': [
    173         ['exclude', '^child/npapi/plugin_'],
    174         ['exclude', '^child/npapi/webplugin_'],
    175       ],
    176     }],
    177     ['OS=="ios"', {
    178       'sources/': [
    179         # iOS only needs a small portion of content; exclude all the
    180         # implementation, and re-include what is used.
    181         ['exclude', '\\.(cc|mm)$'],
    182       ],
    183     }, {  # OS!="ios"
    184       'dependencies': [
    185         '../third_party/WebKit/public/blink.gyp:blink',
    186         '../third_party/npapi/npapi.gyp:npapi',
    187         '../webkit/child/webkit_child.gyp:webkit_child',
    188         '../webkit/common/webkit_common.gyp:webkit_common',
    189       ],
    190     }],
    191     ['use_aura==1', {
    192       'sources!': [
    193         'child/npapi/webplugin_delegate_impl_mac.mm',
    194       ],
    195     }],
    196     ['use_aura==1 and OS=="win"', {
    197       'sources!': [
    198         'child/npapi/webplugin_delegate_impl_aura.cc',
    199       ],
    200     }],
    201   ],
    202 }
    203