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