Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / components / plugins / renderer / BUILD.gn
blob446ad999507cc523e0603c866369c0a1e271ce0b
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//build/config/features.gni")
7 static_library("renderer") {
8   sources = [
9     "plugin_placeholder.cc",
10     "plugin_placeholder.h",
11     "webview_plugin.cc",
12     "webview_plugin.h",
13   ]
14   if (enable_plugins) {
15     sources += [
16       "loadable_plugin_placeholder.cc",
17       "loadable_plugin_placeholder.h",
18     ]
19   }
20   if (is_android) {
21     sources += [
22       "mobile_youtube_plugin.cc",
23       "mobile_youtube_plugin.h",
24     ]
25   }
27   deps = [
28     "//gin",
29     "//skia",
30     "//third_party/WebKit/public:blink",
31     "//third_party/re2",
32     "//v8",
33   ]