| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 | 6 |
| 7 static_library("renderer") { | 7 static_library("renderer") { |
| 8 sources = [ | 8 sources = [ |
| 9 "plugin_placeholder.cc", | 9 "plugin_placeholder.cc", |
| 10 "plugin_placeholder.h", | 10 "plugin_placeholder.h", |
| 11 "webview_plugin.cc", | 11 "webview_plugin.cc", |
| 12 "webview_plugin.h", | 12 "webview_plugin.h", |
| 13 ] | 13 ] |
| 14 if (enable_plugins) { | 14 if (enable_plugins) { |
| 15 sources += [ | 15 sources += [ |
| 16 "loadable_plugin_placeholder.cc", | 16 "loadable_plugin_placeholder.cc", |
| 17 "loadable_plugin_placeholder.h", | 17 "loadable_plugin_placeholder.h", |
| 18 ] | 18 ] |
| 19 } | 19 } |
| 20 if (is_android) { | |
| 21 sources += [ | |
| 22 "mobile_youtube_plugin.cc", | |
| 23 "mobile_youtube_plugin.h", | |
| 24 ] | |
| 25 } | |
| 26 | 20 |
| 27 deps = [ | 21 deps = [ |
| 28 "//content/public/child", | 22 "//content/public/child", |
| 29 "//content/public/common", | 23 "//content/public/common", |
| 30 "//content/public/renderer", | 24 "//content/public/renderer", |
| 31 "//gin", | 25 "//gin", |
| 32 "//skia", | 26 "//skia", |
| 33 "//third_party/WebKit/public:blink", | 27 "//third_party/WebKit/public:blink", |
| 34 "//third_party/re2", | 28 "//third_party/re2", |
| 35 "//ui/base", | 29 "//ui/base", |
| 36 "//v8", | 30 "//v8", |
| 37 ] | 31 ] |
| 38 } | 32 } |
| OLD | NEW |