Update activity log owners
[chromium-blink-merge.git] / components / plugins.gypi
blob9061833474fd15b24438afb3c445ddbda286cedd
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/plugin_placeholder.cc',
40             'plugins/renderer/plugin_placeholder.h',
41             'plugins/renderer/webview_plugin.cc',
42             'plugins/renderer/webview_plugin.h',
43           ],
44           'conditions' : [
45             ['enable_plugins==1', {
46               'sources': [
47                 # Note: sources list duplicated in GN build.
48                 'plugins/renderer/loadable_plugin_placeholder.cc',
49                 'plugins/renderer/loadable_plugin_placeholder.h',
50               ]
51             }],
52             ['OS=="android"', {
53               'sources': [
54                 # Note: sources list duplicated in GN build.
55                 'plugins/renderer/mobile_youtube_plugin.cc',
56                 'plugins/renderer/mobile_youtube_plugin.h',
57               ]
58             }],
59           ],
60         },
61       ],
62     }],
63   ],