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

Unified Diff: components/plugins.gypi

Issue 1126073003: Plugin Placeholders: Refactor for platforms that don't support plugins (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: The version that was reverted. Created 5 years, 7 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
« no previous file with comments | « chrome/renderer/resources/blocked_plugin.html ('k') | components/plugins/renderer/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/plugins.gypi
diff --git a/components/plugins.gypi b/components/plugins.gypi
index fde25c60746bf059c0a9ebbeca0eb5707702f517..9061833474fd15b24438afb3c445ddbda286cedd 100644
--- a/components/plugins.gypi
+++ b/components/plugins.gypi
@@ -36,14 +36,19 @@
],
'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',
],
'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.
« no previous file with comments | « chrome/renderer/resources/blocked_plugin.html ('k') | components/plugins/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698