summaryrefslogtreecommitdiff
path: root/chromium/content/utility/BUILD.gn
blob: 8bb058aeb1227c57b20a32b6645925b338ef0a9f (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
# 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.

import("//content/utility/utility.gni")
import("//media/media_options.gni")

source_set("utility") {
  # Only the public target should depend on this. All other targets (even
  # internal content ones) should depend on the public one.
  visibility = [ "//content/public/utility:utility_sources" ]

  sources =
      rebase_path(content_utility_gypi_values.utility_sources, ".", "//content")

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

  deps = [
    "//base",
    "//content:export",
    "//content/public/child:child_sources",
    "//content/public/common:common_sources",
    "//content/public/common:mojo_bindings",
    "//courgette:courgette_lib",
    "//mojo/common",
    "//mojo/public/cpp/bindings",
    "//mojo/shell",
    "//mojo/shell/public/cpp:cpp_for_chromium",
    "//mojo/shell/public/interfaces",
    "//third_party/WebKit/public:blink_headers",
    "//url",
  ]

  if (enable_mojo_media == "utility") {
    deps += [ "//media/mojo/services:application" ]
  }
}