Test: unit tests Test: Google TV and Netflix Test: atest GtsMediaTestCases Bug: 216527109 Change-Id: I3fd02c2c60da588dba3db27cea3593de25a7180f
34 lines
680 B
C++
34 lines
680 B
C++
//
|
|
// Copyright 2018 Google LLC. All Rights Reserved. This file and proprietary
|
|
// source code may only be used and distributed under the Widevine License
|
|
// Agreement.
|
|
//
|
|
|
|
#include "HidlWVCreatePluginFactories.h"
|
|
|
|
#include "HidlWVDrmFactory.h"
|
|
#include "WVCryptoFactory.h"
|
|
|
|
namespace wvdrm {
|
|
namespace hardware {
|
|
namespace drm {
|
|
namespace V1_4 {
|
|
namespace widevine {
|
|
|
|
extern "C" {
|
|
|
|
::drm::V1_4::IDrmFactory* createDrmFactory() {
|
|
return new WVDrmFactory();
|
|
}
|
|
|
|
::drm::V1_4::ICryptoFactory* createCryptoFactory() {
|
|
return new WVCryptoFactory();
|
|
}
|
|
|
|
} // extern "C"
|
|
} // namespace widevine
|
|
} // namespace V1_4
|
|
} // namespace drm
|
|
} // namespace hardware
|
|
} // namespace wvdrm
|