| Index: content/public/utility/BUILD.gn
|
| diff --git a/content/public/utility/BUILD.gn b/content/public/utility/BUILD.gn
|
| index a1ab07682d28cb2c86cb6044be93f344faccf1cd..e6fecd03c5e46f25e809f7a1de1ce75977fd173a 100644
|
| --- a/content/public/utility/BUILD.gn
|
| +++ b/content/public/utility/BUILD.gn
|
| @@ -2,7 +2,19 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| -source_set("utility") {
|
| +# See //content/BUILD.gn for how this works.
|
| +group("utility") {
|
| + if (is_component_build) {
|
| + deps = [ "//content" ]
|
| + } else {
|
| + deps = [ ":utility_sources" ]
|
| + }
|
| + forward_dependent_configs_from = deps
|
| +}
|
| +
|
| +source_set("utility_sources") {
|
| + visibility = [ "//content/*" ]
|
| +
|
| sources = [
|
| "content_utility_client.cc",
|
| "content_utility_client.h",
|
| @@ -15,7 +27,7 @@ source_set("utility") {
|
| deps = [
|
| "//base",
|
| "//content:export",
|
| - "//content/public/common",
|
| + "//content/public/common:common_sources",
|
| "//content/utility",
|
| "//ipc",
|
| ]
|
| @@ -23,7 +35,8 @@ source_set("utility") {
|
| allow_circular_includes_from = [
|
| # This target is a pair with content/browser. They always go together and
|
| # include headers from each other.
|
| - "//content/utility",
|
| + # TODO(brettw) enable this when this permits non-dependent targets.
|
| + #"//content/utility",
|
| ]
|
| }
|
|
|
|
|