aboutsummaryrefslogtreecommitdiff
path: root/cast/test/BUILD.gn
blob: d37e6af288db62ff4872087c4000ea3f095e0381 (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# 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.

import("//build_overrides/build.gni")

source_set("unittests") {
  testonly = true
  sources = [ "device_auth_test.cc" ]

  deps = [
    "../../platform:test",
    "../../testing/util",
    "../../third_party/googletest:gmock",
    "../../third_party/googletest:gtest",
    "../common:channel",
    "../common:test_helpers",
    "../common/channel/proto:channel_proto",
    "../receiver:channel",
    "../receiver:test_helpers",
    "../sender:channel",
  ]

  if (!build_with_chromium) {
    deps += [ "../protocol:unittests" ]
  }
}

if (is_posix && !build_with_chromium) {
  source_set("e2e_tests") {
    testonly = true
    sources = [ "cast_socket_e2e_test.cc" ]

    deps = [
      "../../platform",
      "../../testing/util",
      "../../third_party/abseil",
      "../../third_party/boringssl",
      "../../third_party/googletest:gmock",
      "../../third_party/googletest:gtest",
      "../../util",
      "../common:certificate",
      "../common:channel",
      "../common:test_helpers",
      "../receiver:channel",
      "../sender:channel",
    ]
  }

  executable("make_crl_tests") {
    testonly = true
    sources = [ "make_crl_tests.cc" ]

    deps = [
      "../../platform:test",
      "../../third_party/boringssl",
      "../../util",
      "../common:test_helpers",
      "../common/certificate/proto:certificate_proto",
    ]
  }
}