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