Index: content/content_renderer.gypi |
diff --git a/content/content_renderer.gypi b/content/content_renderer.gypi |
index 81d31ba16f79dcc77eae676cb130939336c82ba0..3ecd7c9c1f12bc33ee7b7c1a7e55818e5fa6428d 100644 |
--- a/content/content_renderer.gypi |
+++ b/content/content_renderer.gypi |
@@ -6,9 +6,6 @@ |
'dependencies': [ |
'../jingle/jingle.gyp:jingle_glue', |
'../net/net.gyp:net', |
- '../ppapi/ppapi_internal.gyp:ppapi_host', |
- '../ppapi/ppapi_internal.gyp:ppapi_proxy', |
- '../ppapi/ppapi_internal.gyp:ppapi_shared', |
'../skia/skia.gyp:skia', |
'../third_party/hyphen/hyphen.gyp:hyphen', |
'../third_party/icu/icu.gyp:icuuc', |
@@ -210,6 +207,8 @@ |
'renderer/pepper/renderer_ppapi_host_impl.h', |
'renderer/plugin_channel_host.cc', |
'renderer/plugin_channel_host.h', |
+ 'renderer/plugin_delegate_helper.cc', |
+ 'renderer/plugin_delegate_helper.h', |
'renderer/browser_plugin/browser_plugin.cc', |
'renderer/browser_plugin/browser_plugin.h', |
'renderer/browser_plugin/browser_plugin_backing_store.h', |
@@ -369,6 +368,17 @@ |
'renderer/p2p/socket_dispatcher.h', |
], |
}], |
+ ['enable_ppapi==1', { |
+ 'dependencies': [ |
+ '../ppapi/ppapi_internal.gyp:ppapi_host', |
+ '../ppapi/ppapi_internal.gyp:ppapi_proxy', |
+ '../ppapi/ppapi_internal.gyp:ppapi_shared', |
+ ], |
+ }, { # enable_ppapi==0 |
+ 'sources/': [ |
+ ['exclude', '^renderer/pepper/'], |
+ ], |
+ }], |
['java_bridge==1', { |
'defines': [ |
'ENABLE_JAVA_BRIDGE', |