diff options
author | aberent@chromium.org <aberent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-11 19:08:37 +0000 |
---|---|---|
committer | aberent@chromium.org <aberent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-11 19:08:37 +0000 |
commit | fe54cf1993710bfb47548f1aecb3bd5e65122c03 (patch) | |
tree | 3edb58882e508d4d51eea2c7ff4ed6ed0e27651c /components/plugins.gypi | |
parent | 5a0d0066f349bb4e52421cce97460477b137154f (diff) | |
download | chromium_src-fe54cf1993710bfb47548f1aecb3bd5e65122c03.zip chromium_src-fe54cf1993710bfb47548f1aecb3bd5e65122c03.tar.gz chromium_src-fe54cf1993710bfb47548f1aecb3bd5e65122c03.tar.bz2 |
Move renderer plugin code into a new component.
Android Webview needs to use some of the renderer plugin code, however
this code is currently in chrome. This commit moves the parts of this
code that don't depend on the rest of chrome into a new component.
BUG=283713
Review URL: https://codereview.chromium.org/23606022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228211 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/plugins.gypi')
-rw-r--r-- | components/plugins.gypi | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/components/plugins.gypi b/components/plugins.gypi new file mode 100644 index 0000000..8ef3ea0 --- /dev/null +++ b/components/plugins.gypi @@ -0,0 +1,39 @@ +# Copyright 2013 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +{ + 'conditions': [ + ['OS != "ios"', { + + 'targets': [ + { + 'target_name': 'plugins_renderer', + 'type': 'static_library', + 'dependencies': [ + '../skia/skia.gyp:skia', + '../third_party/re2/re2.gyp:re2', + '../third_party/WebKit/public/blink.gyp:blink', + ], + 'include_dirs': [ + '..', + ], + 'sources': [ + 'plugins/renderer/plugin_placeholder.cc', + 'plugins/renderer/plugin_placeholder.h', + 'plugins/renderer/webview_plugin.cc', + 'plugins/renderer/webview_plugin.h', + ], + 'conditions' : [ + ['OS=="android"', { + 'sources': [ + 'plugins/renderer/mobile_youtube_plugin.cc', + 'plugins/renderer/mobile_youtube_plugin.h', + ] + }], + ], + }, + ] + }] + ] +} |