Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Unified Diff: mojo/edk/system/test/BUILD.gn

Issue 1430593005: EDK: Remove (direct) dependencies of //mojo/edk/system on //base/test. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/edk/system/run_all_unittests.cc ('k') | mojo/edk/system/test/perf_log.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" ]
« no previous file with comments | « mojo/edk/system/run_all_unittests.cc ('k') | mojo/edk/system/test/perf_log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698