chromium/content/public/utility/BUILD.gn

# Copyright 2014 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# See //content/BUILD.gn for how this works.
group("utility") {
  if (is_component_build) {
    public_deps = [ "//content" ]
  } else {
    public_deps = [ ":utility_sources" ]
  }
}

source_set("utility_sources") {
  # External code should depend on via ":utility" above.
  visibility = [ "//content/*" ]

  sources = [
    "content_utility_client.cc",
    "content_utility_client.h",
    "utility_thread.cc",
    "utility_thread.h",
  ]

  configs += [ "//content:content_implementation" ]

  deps = [
    "//base",
    "//content:export",
    "//content/public/child:child_sources",
    "//content/public/common:common_sources",
    "//content/utility",
    "//ipc",
  ]

  allow_circular_includes_from = [
    # This target is a pair with content/browser. They always go together and
    # include headers from each other.
    "//content/utility",
  ]
}