diff options
author | nileshagrawal@chromium.org <nileshagrawal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-05 05:24:54 +0000 |
---|---|---|
committer | nileshagrawal@chromium.org <nileshagrawal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-05 05:24:54 +0000 |
commit | 6d17f6396d15aefa7c26790019bf8ece2cfd9112 (patch) | |
tree | 2c6d462c7f30c1b25e361679b65a51d91ca3992a /content/app | |
parent | f65b1c6fdc7f153016ed6a669c80cdcef9c96a36 (diff) | |
download | chromium_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/app')
-rw-r--r-- | content/app/content_main_runner.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc index 22115ce..a74e7b6 100644 --- a/content/app/content_main_runner.cc +++ b/content/app/content_main_runner.cc @@ -421,10 +421,12 @@ int RunNamedProcessTypeMain( static const MainFunction kMainFunctions[] = { { "", BrowserMain }, { switches::kRendererProcess, RendererMain }, +#if defined(ENABLE_PLUGINS) { switches::kPluginProcess, PluginMain }, { switches::kWorkerProcess, WorkerMain }, { switches::kPpapiPluginProcess, PpapiPluginMain }, { switches::kPpapiBrokerProcess, PpapiBrokerMain }, +#endif { switches::kUtilityProcess, UtilityMain }, { switches::kGpuProcess, GpuMain }, }; |