summaryrefslogtreecommitdiff
path: root/chromium/chromecast/base/static_sequence/BUILD.gn
blob: dd65b2bc21da1279061976eb5ee34f828fe88a1b (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
# 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/nocompile.gni")
import("//chromecast/chromecast.gni")

cast_source_set("static_sequence") {
  sources = [
    "static_sequence.cc",
    "static_sequence.h",
  ]
  deps = [ "//base" ]
}

cast_source_set("tests") {
  testonly = true
  sources = [ "static_sequence_unittest.cc" ]

  deps = [
    ":static_sequence",
    "//base/test:test_support",
    "//testing/gtest",
  ]

  if (enable_nocompile_tests) {
    deps += [ ":nocompile_tests" ]
  }
}

if (enable_nocompile_tests) {
  nocompile_test("nocompile_tests") {
    sources = [ "static_sequence_unittest.nc" ]
    deps = [
      ":static_sequence",
      "//base/test:run_all_unittests",
      "//testing/gtest",
    ]
  }
}