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("//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 } |
OLD | NEW |