summaryrefslogtreecommitdiffstats
path: root/content/content_common.gypi
diff options
context:
space:
mode:
authornileshagrawal@chromium.org <nileshagrawal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-05 05:24:54 +0000
committernileshagrawal@chromium.org <nileshagrawal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-05 05:24:54 +0000
commit6d17f6396d15aefa7c26790019bf8ece2cfd9112 (patch)
tree2c6d462c7f30c1b25e361679b65a51d91ca3992a /content/content_common.gypi
parentf65b1c6fdc7f153016ed6a669c80cdcef9c96a36 (diff)
downloadchromium_src-6d17f6396d15aefa7c26790019bf8ece2cfd9112.zip
chromium_src-6d17f6396d15aefa7c26790019bf8ece2cfd9112.tar.gz
chromium_src-6d17f6396d15aefa7c26790019bf8ece2cfd9112.tar.bz2
Add a gyp flag to allow removing dependency on ppapi.
- Introduces a new macro ENABLE_PLUGINS - Create a new PluginDelegateHelper interface which is used by RenderViewImpl This flag will be used to remove all plugins related code from the Android build. BUG=162667 Review URL: https://chromiumcodereview.appspot.com/11414180 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171162 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/content_common.gypi')
-rw-r--r--content/content_common.gypi6
1 files changed, 5 insertions, 1 deletions
diff --git a/content/content_common.gypi b/content/content_common.gypi
index a1a6a1d..8c5c4ca 100644
--- a/content/content_common.gypi
+++ b/content/content_common.gypi
@@ -416,7 +416,6 @@
'../gpu/gpu.gyp:gpu_ipc',
'../ipc/ipc.gyp:ipc',
'../media/media.gyp:shared_memory_support',
- '../ppapi/ppapi_internal.gyp:ppapi_shared',
'../third_party/npapi/npapi.gyp:npapi',
'<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit',
'../ui/gl/gl.gyp:gl',
@@ -466,6 +465,11 @@
'common/gpu/x_util.h',
],
}],
+ ['enable_plugins==1', {
+ 'dependencies': [
+ '../ppapi/ppapi_internal.gyp:ppapi_shared',
+ ],
+ }],
['enable_gpu==1', {
'dependencies': [
'../gpu/gpu.gyp:command_buffer_service',