Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Unified Diff: content/content_ppapi_plugin.gypi

Issue 11414180: Add a gyp flag to allow removing dependency on ppapi. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/content_common.gypi ('k') | content/content_renderer.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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': [
+ '..',
+ ],
+ }],
],
}
« no previous file with comments | « content/content_common.gypi ('k') | content/content_renderer.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698