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

Unified Diff: media/base/BUILD.gn

Issue 2068763002: Re-Reland: Make media/capture gn and gyps produce components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disable warning 4267 in Win capture.gyp (probs. lost in the previous relanding). Rebase 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
Index: media/base/BUILD.gn
diff --git a/media/base/BUILD.gn b/media/base/BUILD.gn
index 792dbe793635e7208b1b610c5d552ca24a87ea9e..7db6c40791c4e6766d9aa886bb9ab11eafc9851b 100644
--- a/media/base/BUILD.gn
+++ b/media/base/BUILD.gn
@@ -401,6 +401,14 @@ source_set("test_support") {
"//testing/gmock",
"//ui/gfx:test_support",
]
+ if (is_android) {
+ deps += [
+ # Needed to register capture Java/Jni objects. TODO(mcasas): Remove when
+ # the dependency to capture is not needed, see https://crbug.com/618718.
+ "//media/capture",
+ "//media/capture/video/android",
+ ]
+ }
}
source_set("unittests") {

Powered by Google App Engine
This is Rietveld 408576698