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