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

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: Addressed Jay's comments and rebase Created 8 years, 1 month 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
Index: content/content_ppapi_plugin.gypi
diff --git a/content/content_ppapi_plugin.gypi b/content/content_ppapi_plugin.gypi
index cd90d6f180b11584c758f644bd96a483c634abf3..a417a1914555cb5268754c6a956dd7f23aff6fce 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_ppapi==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': [
+ '..',
+ ],
+ }],
],
}

Powered by Google App Engine
This is Rietveld 408576698