Index: chrome/chrome_browser.gypi |
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi |
index e705cc5ac5b2639079022ede7e1c8d973e18d564..ea6e71b08ec985c4af347ba2e5d71ba78e5630bc 100644 |
--- a/chrome/chrome_browser.gypi |
+++ b/chrome/chrome_browser.gypi |
@@ -2235,7 +2235,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', |
@@ -2385,6 +2384,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', |