Home | History | Annotate | Download | only in components
      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   'targets': [
      7     {
      8       # GN version: //components/plugins/renderer
      9       'target_name': 'plugins_renderer',
     10       'type': 'static_library',
     11       'dependencies': [
     12         '../gin/gin.gyp:gin',
     13         '../skia/skia.gyp:skia',
     14         '../third_party/WebKit/public/blink.gyp:blink',
     15         '../third_party/re2/re2.gyp:re2',
     16         '../v8/tools/gyp/v8.gyp:v8',
     17       ],
     18       'include_dirs': [
     19         '..',
     20       ],
     21       'sources': [
     22         # Note: sources list duplicated in GN build.
     23         'plugins/renderer/plugin_placeholder.cc',
     24         'plugins/renderer/plugin_placeholder.h',
     25         'plugins/renderer/webview_plugin.cc',
     26         'plugins/renderer/webview_plugin.h',
     27       ],
     28       'conditions' : [
     29         ['OS=="android"', {
     30           'sources': [
     31             # Note: sources list duplicated in GN build.
     32             'plugins/renderer/mobile_youtube_plugin.cc',
     33             'plugins/renderer/mobile_youtube_plugin.h',
     34           ]
     35         }],
     36       ],
     37     },
     38   ]
     39 }
     40