| 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") |
| 6 |
| 5 static_library("renderer") { | 7 static_library("renderer") { |
| 6 sources = [ | 8 sources = [ |
| 7 "loadable_plugin_placeholder.cc", | |
| 8 "loadable_plugin_placeholder.h", | |
| 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) { |
| 15 sources += [ |
| 16 "loadable_plugin_placeholder.cc", |
| 17 "loadable_plugin_placeholder.h", |
| 18 ] |
| 19 } |
| 14 if (is_android) { | 20 if (is_android) { |
| 15 sources += [ | 21 sources += [ |
| 16 "mobile_youtube_plugin.cc", | 22 "mobile_youtube_plugin.cc", |
| 17 "mobile_youtube_plugin.h", | 23 "mobile_youtube_plugin.h", |
| 18 ] | 24 ] |
| 19 } | 25 } |
| 20 | 26 |
| 21 deps = [ | 27 deps = [ |
| 22 "//gin", | 28 "//gin", |
| 23 "//skia", | 29 "//skia", |
| 24 "//third_party/WebKit/public:blink", | 30 "//third_party/WebKit/public:blink", |
| 25 "//third_party/re2", | 31 "//third_party/re2", |
| 26 "//v8", | 32 "//v8", |
| 27 ] | 33 ] |
| 28 } | 34 } |
| OLD | NEW |