Index: content/content_ppapi_plugin.gypi |
diff --git a/content/content_ppapi_plugin.gypi b/content/content_ppapi_plugin.gypi |
index cd90d6f180b11584c758f644bd96a483c634abf3..4b8025d99aaaa8591d79033631c6a018c6ae53e9 100644 |
--- a/content/content_ppapi_plugin.gypi |
+++ b/content/content_ppapi_plugin.gypi |
@@ -3,24 +3,28 @@ |
# found in the LICENSE file. |
{ |
- 'dependencies': [ |
- '../base/base.gyp:base', |
- '../ppapi/ppapi_internal.gyp:ppapi_ipc', |
- '../ui/ui.gyp:ui', |
- ], |
- 'sources': [ |
- 'ppapi_plugin/broker_process_dispatcher.cc', |
- 'ppapi_plugin/broker_process_dispatcher.h', |
- 'ppapi_plugin/plugin_process_dispatcher.cc', |
- 'ppapi_plugin/plugin_process_dispatcher.h', |
- 'ppapi_plugin/ppapi_broker_main.cc', |
- 'ppapi_plugin/ppapi_plugin_main.cc', |
- 'ppapi_plugin/ppapi_thread.cc', |
- 'ppapi_plugin/ppapi_thread.h', |
- 'ppapi_plugin/ppapi_webkitplatformsupport_impl.cc', |
- 'ppapi_plugin/ppapi_webkitplatformsupport_impl.h', |
- ], |
- 'include_dirs': [ |
- '..', |
+ 'conditions': [ |
+ ['enable_plugins==1', { |
+ 'dependencies': [ |
+ '../base/base.gyp:base', |
+ '../ppapi/ppapi_internal.gyp:ppapi_ipc', |
+ '../ui/ui.gyp:ui', |
+ ], |
+ 'sources': [ |
+ 'ppapi_plugin/broker_process_dispatcher.cc', |
+ 'ppapi_plugin/broker_process_dispatcher.h', |
+ 'ppapi_plugin/plugin_process_dispatcher.cc', |
+ 'ppapi_plugin/plugin_process_dispatcher.h', |
+ 'ppapi_plugin/ppapi_broker_main.cc', |
+ 'ppapi_plugin/ppapi_plugin_main.cc', |
+ 'ppapi_plugin/ppapi_thread.cc', |
+ 'ppapi_plugin/ppapi_thread.h', |
+ 'ppapi_plugin/ppapi_webkitplatformsupport_impl.cc', |
+ 'ppapi_plugin/ppapi_webkitplatformsupport_impl.h', |
+ ], |
+ 'include_dirs': [ |
+ '..', |
+ ], |
+ }], |
], |
} |