summaryrefslogtreecommitdiff
path: root/chromium/media/fuchsia/cdm/service/BUILD.gn
blob: 3e1b71d39fe6db307b2acbc44b1bc5a0ca157842 (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
42
43
44
45
46
47
# Copyright 2019 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.

assert(is_fuchsia)

source_set("service") {
  sources = [
    "fuchsia_cdm_manager.cc",
    "fuchsia_cdm_manager.h",
    "provisioning_fetcher_impl.cc",
    "provisioning_fetcher_impl.h",
  ]

  public_deps = [
    "//media",
    "//third_party/fuchsia-sdk/sdk/fidl/fuchsia.media.drm",
  ]

  deps = [
    "//fuchsia/base",
    "//media/fuchsia/mojom",
    "//url",
  ]
}

source_set("unittests") {
  testonly = true

  deps = [
    ":service",
    "//base",
    "//base/test:test_support",
    "//fuchsia/base",
    "//media",
    "//testing/gmock",
    "//testing/gtest",
    "//url",
  ]

  sources = [
    "fuchsia_cdm_manager_test.cc",
    "mock_provision_fetcher.cc",
    "mock_provision_fetcher.h",
    "provisioning_fetcher_impl_test.cc",
  ]
}