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 source_set("plugin") { | 5 # See //content/BUILD.gn for how this works. |
| 6 group("plugin") { |
| 7 if (is_component_build) { |
| 8 deps = [ "//content" ] |
| 9 } else { |
| 10 deps = [ ":plugin_sources" ] |
| 11 } |
| 12 forward_dependent_configs_from = deps |
| 13 } |
| 14 |
| 15 source_set("plugin_sources") { |
| 16 visibility = [ "//content/*" ] |
| 17 |
6 sources = [ | 18 sources = [ |
7 "content_plugin_client.h", | 19 "content_plugin_client.h", |
8 ] | 20 ] |
9 | 21 |
10 deps = [ | 22 deps = [ |
11 "//base", | 23 "//base", |
12 "//content/plugin", | 24 "//content/plugin", |
13 "//content/public/common", | 25 "//content/public/common:common_sources", |
14 ] | 26 ] |
15 } | 27 } |
OLD | NEW |