summaryrefslogtreecommitdiffstats
path: root/components/plugins.gypi
blob: 8ef3ea0946e7f1443da1216eb8372330934582c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'conditions': [
    ['OS != "ios"', {
  
      'targets': [
        {
          'target_name': 'plugins_renderer',
          'type': 'static_library',
          'dependencies': [
            '../skia/skia.gyp:skia',
            '../third_party/re2/re2.gyp:re2',
            '../third_party/WebKit/public/blink.gyp:blink',
          ],
          'include_dirs': [
            '..',
          ],
          'sources': [
            'plugins/renderer/plugin_placeholder.cc',
            'plugins/renderer/plugin_placeholder.h',
            'plugins/renderer/webview_plugin.cc',
            'plugins/renderer/webview_plugin.h',
          ],
          'conditions' : [
            ['OS=="android"', {
              'sources': [
                'plugins/renderer/mobile_youtube_plugin.cc',
                'plugins/renderer/mobile_youtube_plugin.h',
              ]
            }],
          ],
        },
      ]
    }]
  ]
}