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

Unified Diff: media/BUILD.gn

Issue 1428753010: Add unit tests for CdmAdapter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: inline GURL Created 5 years, 1 month 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 | « no previous file | media/cdm/aes_decryptor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/BUILD.gn
diff --git a/media/BUILD.gn b/media/BUILD.gn
index a7dac69db231e241b1248680e23ed30548866f8d..ef8bf9497898210f29ffb01fefcadf8c707d257e 100644
--- a/media/BUILD.gn
+++ b/media/BUILD.gn
@@ -658,7 +658,7 @@ test("media_unittests") {
"test/data/",
]
- # TODO(wolenetz): Fix size_t to int trunctaion in win64.
+ # TODO(wolenetz): Fix size_t to int truncation in win64.
# See http://crbug.com/171009
configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
@@ -695,6 +695,12 @@ test("media_unittests") {
]
}
+ # If ExternalClearKey is built, we can test CdmAdapter.
+ if (enable_pepper_cdms) {
+ sources += [ "cdm/cdm_adapter_unittest.cc" ]
+ deps += [ "//media/cdm/ppapi:clearkeycdm" ]
+ }
+
if (media_use_ffmpeg) {
sources += [
"ffmpeg/ffmpeg_common_unittest.cc",
« no previous file with comments | « no previous file | media/cdm/aes_decryptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698