chromium/mojo/public/c/system/tests/BUILD.gn

# Copyright 2014 The Chromium Authors
# 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_unittests",
    "//mojo/public/cpp/system/tests:tests",
  ]

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

  deps = [
    "//mojo/core/embedder",
    "//mojo/public/c/system",
    "//mojo/public/cpp/system",
    "//testing/gtest",
  ]
}

source_set("perftests") {
  testonly = true

  sources = [ "core_perftest.cc" ]

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