summaryrefslogtreecommitdiff
path: root/chromium/content/public/utility/BUILD.gn
blob: 031e9ba62314f0dc094c8847fb7f15d4d831507f (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) {
    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",
  ]
}