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