Index: chrome/chrome_browser.gypi |
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi |
index 1e1b098cfecd60ce4d9924495017accf9c7e76ff..898381b20be02a5a7e1bcae799d10b76a7d26ecb 100644 |
--- a/chrome/chrome_browser.gypi |
+++ b/chrome/chrome_browser.gypi |
@@ -2218,7 +2218,6 @@ |
'../cc/cc.gyp:cc', |
'../content/content.gyp:navigation_interception', |
'../net/net.gyp:net_with_v8', |
- '../ppapi/ppapi_internal.gyp:ppapi_ipc', # For PpapiMsg_LoadPlugin |
'../printing/printing.gyp:printing', |
'../third_party/adobe/flash/flash_player.gyp:flapper_version_h', |
'../third_party/expat/expat.gyp:expat', |
@@ -2368,6 +2367,16 @@ |
['include', 'browser/policy/policy_service_stub.h'], |
], |
}], |
+ ['enable_plugins==1', { |
+ 'dependencies': [ |
+ '../ppapi/ppapi_internal.gyp:ppapi_ipc', |
+ ], |
+ }, { # enable_plugins==0 |
+ 'sources/': [ |
+ ['exclude', '^browser/pepper_'], |
+ ['exclude', '^browser/renderer_host/pepper/'], |
+ ], |
+ }], |
['safe_browsing==1', { |
'defines': [ |
'FULL_SAFE_BROWSING', |