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

Side by Side Diff: content/public/common/BUILD.gn

Issue 525513003: Cleanup: Put more plugin code behind the ENABLE_PLUGINS ifdef. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 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 | « content/content_renderer.gypi ('k') | content/public/common/pepper_plugin_info.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")
5 import("//content/common/common.gni") 6 import("//content/common/common.gni")
6 7
7 source_set("common") { 8 source_set("common") {
8 sources = rebase_path(content_common_gypi_values.public_common_sources, 9 sources = rebase_path(content_common_gypi_values.public_common_sources,
9 ".", "//content") 10 ".", "//content")
10 11
11 configs += [ 12 configs += [
12 "//content:content_implementation", 13 "//content:content_implementation",
13 ] 14 ]
14 15
15 deps = [ 16 deps = [
16 "//content/common", 17 "//content/common",
17 "//skia", 18 "//skia",
18 "//third_party/WebKit/public:blink_headers", 19 "//third_party/WebKit/public:blink_headers",
19 "//third_party/icu", 20 "//third_party/icu",
20 ] 21 ]
22
23 if (!enable_plugins) {
24 sources -= [
25 "pepper_plugin_info.cc",
26 "pepper_plugin_info.h",
27 ]
28 }
21 } 29 }
OLDNEW
« no previous file with comments | « content/content_renderer.gypi ('k') | content/public/common/pepper_plugin_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698