Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(540)

Side by Side Diff: components/plugins/renderer/BUILD.gn

Issue 1126073003: Plugin Placeholders: Refactor for platforms that don't support plugins (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: The version that was reverted. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/plugins.gypi ('k') | components/plugins/renderer/loadable_plugin_placeholder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 }
OLDNEW
« no previous file with comments | « components/plugins.gypi ('k') | components/plugins/renderer/loadable_plugin_placeholder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698