Index: chrome/chrome_renderer.gypi |
diff --git a/chrome/chrome_renderer.gypi b/chrome/chrome_renderer.gypi |
index 89d35adb71e07af6ff57966d84bd8bbc277f6695..102d02b14b700f9a1869a2f5aea2713490a9689a 100644 |
--- a/chrome/chrome_renderer.gypi |
+++ b/chrome/chrome_renderer.gypi |
@@ -15,10 +15,6 @@ |
'chrome_resources.gyp:chrome_strings', |
'../content/content.gyp:content_renderer', |
'../net/net.gyp:net', |
- '../ppapi/ppapi_internal.gyp:ppapi_host', |
- '../ppapi/ppapi_internal.gyp:ppapi_proxy', |
- '../ppapi/ppapi_internal.gyp:ppapi_ipc', |
- '../ppapi/ppapi_internal.gyp:ppapi_shared', |
'../printing/printing.gyp:printing', |
'../skia/skia.gyp:skia', |
'../third_party/hunspell/hunspell.gyp:hunspell', |
@@ -290,6 +286,18 @@ |
'nacl', |
], |
}], |
+ ['enable_plugins==1', { |
+ 'dependencies': [ |
+ '../ppapi/ppapi_internal.gyp:ppapi_host', |
+ '../ppapi/ppapi_internal.gyp:ppapi_proxy', |
+ '../ppapi/ppapi_internal.gyp:ppapi_ipc', |
+ '../ppapi/ppapi_internal.gyp:ppapi_shared', |
+ ], |
+ }, { # enable_plugins==0 |
+ 'sources/': [ |
+ ['exclude', '^renderer/pepper/'], |
+ ], |
+ }], |
['safe_browsing==1', { |
'defines': [ |
'FULL_SAFE_BROWSING', |