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