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

Unified Diff: media/mojo/BUILD.gn

Issue 2455553002: media: media_unittests also run media mojo unittests (Closed)
Patch Set: Created 4 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 | « media/BUILD.gn ('k') | testing/buildbot/chromium.chromiumos.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/BUILD.gn
diff --git a/media/mojo/BUILD.gn b/media/mojo/BUILD.gn
index ce7c7839da10f00aa67039dad38a8844672d1a6b..2d0f35051f8b11150d0ed8142d10486187fe1533 100644
--- a/media/mojo/BUILD.gn
+++ b/media/mojo/BUILD.gn
@@ -4,7 +4,8 @@
import("//testing/test.gni")
-test("media_mojo_unittests") {
+source_set("unit_tests") {
+ testonly = true
sources = [
"clients/mojo_audio_decoder_unittest.cc",
"clients/mojo_renderer_unittest.cc",
@@ -24,9 +25,15 @@ test("media_mojo_unittests") {
"//media/mojo/common",
"//media/mojo/interfaces",
"//media/mojo/services",
- "//mojo/edk/test:run_all_unittests",
"//testing/gmock",
"//testing/gtest",
"//ui/gfx:test_support",
]
}
+
+test("media_mojo_unittests") {
+ deps = [
+ ":unit_tests",
+ "//mojo/edk/test:run_all_unittests",
+ ]
+}
« no previous file with comments | « media/BUILD.gn ('k') | testing/buildbot/chromium.chromiumos.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698