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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# 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.
{
'targets': [
{
# GN version: //components/plugins/common
'target_name': 'plugins_common',
'type': 'static_library',
'include_dirs': [
'..',
],
'sources': [
'plugins/common/plugins_switches.cc',
'plugins/common/plugins_switches.h',
],
},
],
'conditions': [
['OS!="ios"', {
'targets': [
{
# GN version: //components/plugins/renderer
'target_name': 'plugins_renderer',
'type': 'static_library',
'dependencies': [
'../gin/gin.gyp:gin',
'../skia/skia.gyp:skia',
'../third_party/WebKit/public/blink.gyp:blink',
'../third_party/re2/re2.gyp:re2',
'../v8/tools/gyp/v8.gyp:v8',
],
'include_dirs': [
'..',
],
'sources': [
# Note: sources list duplicated in GN build.
'plugins/renderer/plugin_placeholder.cc',
'plugins/renderer/plugin_placeholder.h',
'plugins/renderer/webview_plugin.cc',
'plugins/renderer/webview_plugin.h',
],
'conditions' : [
['enable_plugins==1', {
'sources': [
# Note: sources list duplicated in GN build.
'plugins/renderer/loadable_plugin_placeholder.cc',
'plugins/renderer/loadable_plugin_placeholder.h',
]
}],
['OS=="android"', {
'sources': [
# Note: sources list duplicated in GN build.
'plugins/renderer/mobile_youtube_plugin.cc',
'plugins/renderer/mobile_youtube_plugin.h',
]
}],
],
},
],
}],
],
}
|