Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / content / public / utility / BUILD.gn
blob1f3e9874595662ef654b54de492baf1ad3cc4ef3
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 import("//content/utility/utility.gni")
7 # See //content/BUILD.gn for how this works.
8 group("utility") {
9   if (is_component_build) {
10     public_deps = [
11       "//content",
12     ]
13   } else {
14     public_deps = [
15       ":utility_sources",
16     ]
17   }
20 source_set("utility_sources") {
21   visibility = [ "//content/*" ]
23   sources = rebase_path(content_utility_gypi_values.public_utility_sources,
24                         ".",
25                         "//content")
27   configs += [ "//content:content_implementation" ]
29   deps = [
30     "//base",
31     "//content:export",
32     "//content/public/common:common_sources",
33     "//content/utility",
34     "//ipc",
35   ]
37   allow_circular_includes_from = [
38     # This target is a pair with content/browser. They always go together and
39     # include headers from each other.
40     "//content/utility",
41   ]