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("utility") { | 6 group("utility") { |
7 if (is_component_build) { | 7 if (is_component_build) { |
8 deps = [ "//content" ] | 8 public_deps = [ "//content" ] |
9 } else { | 9 } else { |
10 deps = [ ":utility_sources" ] | 10 public_deps = [ ":utility_sources" ] |
11 } | 11 } |
12 forward_dependent_configs_from = deps | |
13 } | 12 } |
14 | 13 |
15 source_set("utility_sources") { | 14 source_set("utility_sources") { |
16 visibility = [ "//content/*" ] | 15 visibility = [ "//content/*" ] |
17 | 16 |
18 sources = [ | 17 sources = [ |
19 "content_utility_client.cc", | 18 "content_utility_client.cc", |
20 "content_utility_client.h", | 19 "content_utility_client.h", |
21 "utility_thread.cc", | 20 "utility_thread.cc", |
22 "utility_thread.h", | 21 "utility_thread.h", |
23 ] | 22 ] |
24 | 23 |
25 configs += [ "//content:content_implementation" ] | 24 configs += [ "//content:content_implementation" ] |
26 | 25 |
27 deps = [ | 26 deps = [ |
28 "//base", | 27 "//base", |
29 "//content:export", | 28 "//content:export", |
30 "//content/public/common:common_sources", | 29 "//content/public/common:common_sources", |
31 "//content/utility", | 30 "//content/utility", |
32 "//ipc", | 31 "//ipc", |
33 ] | 32 ] |
34 | 33 |
35 allow_circular_includes_from = [ | 34 allow_circular_includes_from = [ |
36 # This target is a pair with content/browser. They always go together and | 35 # This target is a pair with content/browser. They always go together and |
37 # include headers from each other. | 36 # include headers from each other. |
38 "//content/utility", | 37 "//content/utility", |
39 ] | 38 ] |
40 } | 39 } |
41 | 40 |
OLD | NEW |