Re-subimission of https://codereview.chromium.org/1041213003/
[chromium-blink-merge.git] / content / public / utility / BUILD.gn
blob999549ac4525b579efe20c022c0c1b8d8f916f59
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.
5 # See //content/BUILD.gn for how this works.
6 group("utility") {
7   if (is_component_build) {
8     public_deps = [
9       "//content",
10     ]
11   } else {
12     public_deps = [
13       ":utility_sources",
14     ]
15   }
18 source_set("utility_sources") {
19   visibility = [ "//content/*" ]
21   sources = [
22     "content_utility_client.cc",
23     "content_utility_client.h",
24     "utility_thread.cc",
25     "utility_thread.h",
26   ]
28   configs += [ "//content:content_implementation" ]
30   deps = [
31     "//base",
32     "//content:export",
33     "//content/public/common:common_sources",
34     "//content/utility",
35     "//ipc",
36   ]
38   allow_circular_includes_from = [
39     # This target is a pair with content/browser. They always go together and
40     # include headers from each other.
41     "//content/utility",
42   ]