blob: c9376e8de5ad01cd16aa42da410c261a3f98945f [file] [log] [blame]
# Copyright 2017 The Fuchsia 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("test_settings") {
testonly = true
sources = [
"test_settings.cc",
"test_settings.h",
]
public_deps = [ "//src/lib/fxl" ]
}
# Generic main entry point target for GTest executables.
source_set("gtest_main") {
testonly = true
sources = [ "run_all_unittests.cc" ]
deps = [
":test_settings",
"//src/lib/fxl",
]
public_deps = [ "//third_party/googletest:gtest" ]
metadata = {
# Used by the fuchsia_test_component_manifest() template.
test_component_manifest_cml = [
{
include = [ "src/sys/test_runners/gtest/default.shard.cml" ]
},
]
}
}