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

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

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

# GYP version: mojo/mojo_base.gyp:mojo_public_system_perftests
test("perftests") {
  output_name = "mojo_public_system_perftests"

  sources = [
    "core_perftest.cc",
  ]

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