summaryrefslogtreecommitdiffstats
path: root/content/public/utility/BUILD.gn
blob: 0fffc2290cffb3c8f0db23a1ec72ac844edf321c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright 2014 The Chromium Authors. All rights reserved.
# 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) {
    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",
    "utility_thread.cc",
    "utility_thread.h",
  ]

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

  deps = [
    "//base",
    "//content:export",
    "//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",
  ]
}