Fix scroll regression when specifying an extension id.
[chromium-blink-merge.git] / components / plugins.gypi
blobfde25c60746bf059c0a9ebbeca0eb5707702f517
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.
6   'targets': [
7     {
8       # GN version: //components/plugins/common
9       'target_name': 'plugins_common',
10       'type': 'static_library',
11       'include_dirs': [
12         '..',
13       ],
14       'sources': [
15         'plugins/common/plugins_switches.cc',
16         'plugins/common/plugins_switches.h',
17       ],
18     },
19   ],
20   'conditions': [
21     ['OS!="ios"', {
22       'targets': [
23         {
24           # GN version: //components/plugins/renderer
25           'target_name': 'plugins_renderer',
26           'type': 'static_library',
27           'dependencies': [
28             '../gin/gin.gyp:gin',
29             '../skia/skia.gyp:skia',
30             '../third_party/WebKit/public/blink.gyp:blink',
31             '../third_party/re2/re2.gyp:re2',
32             '../v8/tools/gyp/v8.gyp:v8',
33           ],
34           'include_dirs': [
35             '..',
36           ],
37           'sources': [
38             # Note: sources list duplicated in GN build.
39             'plugins/renderer/loadable_plugin_placeholder.cc',
40             'plugins/renderer/loadable_plugin_placeholder.h',
41             'plugins/renderer/plugin_placeholder.cc',
42             'plugins/renderer/plugin_placeholder.h',
43             'plugins/renderer/webview_plugin.cc',
44             'plugins/renderer/webview_plugin.h',
45           ],
46           'conditions' : [
47             ['OS=="android"', {
48               'sources': [
49                 # Note: sources list duplicated in GN build.
50                 'plugins/renderer/mobile_youtube_plugin.cc',
51                 'plugins/renderer/mobile_youtube_plugin.h',
52               ]
53             }],
54           ],
55         },
56       ],
57     }],
58   ],