Initial import of Widevine Common Encryption DRM engine
Builds libwvmdrmengine.so, which is loaded by the new MediaDrm APIs to support playback of Widevine/CENC protected content. Change-Id: I6f57dd37083dfd96c402cb9dd137c7d74edc8f1c
This commit is contained in:
15
libwvdrmengine/test/unit/WVCreateDrmPluginFactory_test.cpp
Normal file
15
libwvdrmengine/test/unit/WVCreateDrmPluginFactory_test.cpp
Normal file
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Copyright 2012 Google Inc. All Rights Reserved.
|
||||
*/
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
#include "utils/UniquePtr.h"
|
||||
#include "WVCreateDrmPluginFactory.h"
|
||||
|
||||
using namespace android;
|
||||
|
||||
TEST(CreateDrmPluginFactoryTest, CreatesObject) {
|
||||
UniquePtr<DrmPluginFactory> factory(createDrmPluginFactory());
|
||||
|
||||
EXPECT_NE((DrmPluginFactory*)NULL, factory.get()) << "createDrmPluginFactory() returned null";
|
||||
}
|
||||
Reference in New Issue
Block a user