Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(156)

Unified Diff: components/plugins.gypi

Issue 1084123002: Make DETECT_IMPORTANT_CONTENT the default Plugins content setting based (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gyp shuffle for ios Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/plugins.gypi
diff --git a/components/plugins.gypi b/components/plugins.gypi
index a052b511311d8ba6df82ad1ff6e37017a409e720..fde25c60746bf059c0a9ebbeca0eb5707702f517 100644
--- a/components/plugins.gypi
+++ b/components/plugins.gypi
@@ -5,37 +5,55 @@
{
'targets': [
{
- # GN version: //components/plugins/renderer
- 'target_name': 'plugins_renderer',
+ # GN version: //components/plugins/common
+ 'target_name': 'plugins_common',
'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/loadable_plugin_placeholder.cc',
- 'plugins/renderer/loadable_plugin_placeholder.h',
- 'plugins/renderer/plugin_placeholder.cc',
- 'plugins/renderer/plugin_placeholder.h',
- 'plugins/renderer/webview_plugin.cc',
- 'plugins/renderer/webview_plugin.h',
+ 'plugins/common/plugins_switches.cc',
+ 'plugins/common/plugins_switches.h',
],
- 'conditions' : [
- ['OS=="android"', {
+ },
+ ],
+ '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/mobile_youtube_plugin.cc',
- 'plugins/renderer/mobile_youtube_plugin.h',
- ]
- }],
+ 'plugins/renderer/loadable_plugin_placeholder.cc',
+ 'plugins/renderer/loadable_plugin_placeholder.h',
+ 'plugins/renderer/plugin_placeholder.cc',
+ 'plugins/renderer/plugin_placeholder.h',
+ 'plugins/renderer/webview_plugin.cc',
+ 'plugins/renderer/webview_plugin.h',
+ ],
+ 'conditions' : [
+ ['OS=="android"', {
+ 'sources': [
+ # Note: sources list duplicated in GN build.
+ 'plugins/renderer/mobile_youtube_plugin.cc',
+ 'plugins/renderer/mobile_youtube_plugin.h',
+ ]
+ }],
+ ],
+ },
],
- },
- ]
+ }],
+ ],
}
« no previous file with comments | « components/content_settings/core/browser/plugins_field_trial_unittest.cc ('k') | components/plugins/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698