| Index: mojo/edk/system/test/BUILD.gn
|
| diff --git a/mojo/edk/system/test/BUILD.gn b/mojo/edk/system/test/BUILD.gn
|
| index e91db656a8c9fab3a12e80a3bd5b1b4745c79b2e..d1d5f1a6acee45640fb4a3a047e347859a6fc5a2 100644
|
| --- a/mojo/edk/system/test/BUILD.gn
|
| +++ b/mojo/edk/system/test/BUILD.gn
|
| @@ -4,8 +4,10 @@
|
|
|
| import("../../mojo_edk.gni")
|
|
|
| +# Utilties for use by EDK internal (unit and perf) tests.
|
| mojo_edk_source_set("test") {
|
| testonly = true
|
| + mojo_edk_visibility = [ "mojo/edk/*" ]
|
|
|
| sources = [
|
| "random.cc",
|
| @@ -32,6 +34,7 @@ mojo_edk_source_set("test") {
|
| deps = [
|
| "//base",
|
| "//base/test:test_support",
|
| + "//testing/gtest",
|
| ]
|
|
|
| mojo_edk_deps = [
|
| @@ -40,6 +43,50 @@ mojo_edk_source_set("test") {
|
| ]
|
| }
|
|
|
| +# Utilities for use by EDK internal perf tests (for use with
|
| +# :run_all_perftests).
|
| +mojo_edk_source_set("perf") {
|
| + testonly = true
|
| + mojo_edk_visibility = [ "mojo/edk/*" ]
|
| +
|
| + sources = [
|
| + "perf_log.cc",
|
| + "perf_log.h",
|
| + ]
|
| +
|
| + deps = [
|
| + "//base/test:test_support",
|
| + ]
|
| +}
|
| +
|
| +mojo_edk_source_set("run_all_unittests") {
|
| + testonly = true
|
| + mojo_edk_visibility = [ "mojo/edk/*" ]
|
| +
|
| + sources = [
|
| + "run_all_unittests.cc",
|
| + ]
|
| +
|
| + deps = [
|
| + "//base",
|
| + "//base/test:test_support",
|
| + "//testing/gtest",
|
| + ]
|
| +}
|
| +
|
| +mojo_edk_source_set("run_all_perftests") {
|
| + testonly = true
|
| + mojo_edk_visibility = [ "mojo/edk/*" ]
|
| +
|
| + sources = [
|
| + "run_all_perftests.cc",
|
| + ]
|
| +
|
| + deps = [
|
| + "//base/test:test_support",
|
| + ]
|
| +}
|
| +
|
| mojo_edk_source_set("unittests") {
|
| testonly = true
|
| mojo_edk_visibility = [ "mojo/edk/system:mojo_system_unittests" ]
|
|
|