summaryrefslogtreecommitdiffstats
path: root/mojo/public/c/system/tests/BUILD.gn
blob: 9f5525980308f0eae277648a101e920b4ed4ef64 (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
# 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.

source_set("tests") {
  testonly = true

  visibility = [
    "//mojo/public/cpp/system/tests:mojo_public_system_unittests",
    "//mojo/public/cpp/system/tests:tests",
  ]

  sources = [
    "core_unittest.cc",
    "core_unittest_pure_c.c",
    "macros_unittest.cc",
  ]

  deps = [
    "//mojo/public/c/environment",
    "//mojo/public/c/system",
    "//testing/gtest",
  ]
}

source_set("perftests") {
  testonly = true

  sources = [
    "core_perftest.cc",
  ]

  deps = [
    "//mojo/public/c/environment",
    "//mojo/public/cpp/environment:standalone",
    "//mojo/public/cpp/system",
    "//mojo/public/cpp/test_support:test_utils",
    "//mojo/public/cpp/utility",
    "//testing/gtest",
  ]
}