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

Unified Diff: media/capture/BUILD.gn

Issue 2093563004: Revert of Extract media/capture/capture_unittests from media_unittests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/base/run_all_unittests.cc ('k') | media/capture/capture.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/capture/BUILD.gn
diff --git a/media/capture/BUILD.gn b/media/capture/BUILD.gn
index 5f0f78b5fad22cb42ade17d8851cf3aa77c1385e..a636d12111af0276333d840e924c38f266619a49 100644
--- a/media/capture/BUILD.gn
+++ b/media/capture/BUILD.gn
@@ -143,7 +143,10 @@
}
}
-test("capture_unittests") {
+# TODO(mcasas): Make this a test target, https://crbug.com/618718.
+source_set("unittests") {
+ testonly = true
+
sources = [
"content/animated_content_sampler_unittest.cc",
"content/capture_resolution_chooser_unittest.cc",
@@ -158,17 +161,9 @@
deps = [
":capture",
- "//base/test:run_all_unittests",
- "//base/test:test_support",
- "//media/base:test_support",
"//testing/gmock",
"//testing/gtest",
- "//ui/gfx:test_support",
]
-
- if (is_android) {
- deps += [ "//media/capture/video/android:capture_java" ]
- }
if (is_win) {
# TODO(jschuh): https://crbug.com/167187 fix size_t to int truncations.
« no previous file with comments | « media/base/run_all_unittests.cc ('k') | media/capture/capture.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698