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

Unified Diff: chrome/chrome_browser.gypi

Issue 1071713004: Enable NPAPI if policy has plugin policies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix GN 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
« no previous file with comments | « chrome/browser/policy/configuration_policy_handler_list_factory.cc ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome_browser.gypi
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi
index 49853f5b889e6d9e842bff354cdbd0853f517551..d206d552c4d2c70c539a9175eb51a5a085527b8c 100644
--- a/chrome/chrome_browser.gypi
+++ b/chrome/chrome_browser.gypi
@@ -2113,6 +2113,11 @@
'browser/upgrade_detector_impl.cc',
'browser/upgrade_detector_impl.h',
],
+ # Policy sources used if plugins are enabled.
+ 'chrome_browser_policy_plugin_sources': [
+ 'browser/plugins/enable_npapi_plugins_policy_handler.cc',
+ 'browser/plugins/enable_npapi_plugins_policy_handler.h',
+ ],
'chrome_browser_predictor_sources': [
'browser/predictors/autocomplete_action_predictor.cc',
'browser/predictors/autocomplete_action_predictor.h',
@@ -3287,6 +3292,9 @@
['OS=="win" or OS=="mac" or desktop_linux==1', {
'sources': [ '<@(chrome_browser_policy_desktop_sources)' ],
}],
+ ['enable_plugins==1', {
+ 'sources': [ '<@(chrome_browser_policy_plugin_sources)' ],
+ }],
['OS=="android" or OS=="ios"', { # Mobile.
'sources': [ '<@(chrome_browser_policy_mobile_sources)' ],
}, { # Non-mobile.
« no previous file with comments | « chrome/browser/policy/configuration_policy_handler_list_factory.cc ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698