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

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: changes for bots 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.h » ('j') | media/cdm/aes_decryptor.cc » ('J')
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..3e661e3dba5478218680c18eda98113e2db9acc9 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") {
]
}
+ # On non-Android systems we can test CdmAdapter using ExternalClearKey.
+ if (!is_android) {
+ 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.h » ('j') | media/cdm/aes_decryptor.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698