-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1344 from glennguy/decrypter-refactor
Decrypter refactor
- Loading branch information
Showing
90 changed files
with
4,609 additions
and
4,060 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
# build artifacts | ||
build/ | ||
!*/build/ | ||
/build/ | ||
inputstream.*/addon.xml | ||
|
||
# Debian build files | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
cmake_minimum_required(VERSION 3.10) | ||
project(cdm_library) | ||
|
||
if(WIN32) | ||
set(CDMTYPE "win.cc") | ||
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") | ||
set(CDMTYPE "mac.mm") | ||
else() | ||
set(CDMTYPE "posix.cc") | ||
endif() | ||
|
||
add_library(cdm_library STATIC | ||
cdm/base/native_library.cc | ||
cdm/base/native_library_${CDMTYPE} | ||
cdm/media/cdm/cdm_adapter.cc | ||
cdm/media/cdm/cdm_adapter.h | ||
) | ||
|
||
target_include_directories(cdm_library PUBLIC ${PROJECT_SOURCE_DIR}) | ||
|
||
set_target_properties(cdm_library PROPERTIES POSITION_INDEPENDENT_CODE True) | ||
|
||
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") | ||
target_link_libraries(cdm_library "-framework CoreFoundation") | ||
endif() |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
cmake_minimum_required(VERSION 3.5) | ||
project(jni) | ||
|
||
add_library(jni STATIC | ||
jni/jutils/jutils-details.hpp | ||
jni/jutils/jutils.cpp | ||
jni/jutils/jutils.hpp | ||
jni/src/ClassLoader.cpp | ||
jni/src/ClassLoader.h | ||
jni/src/ClassLoader.cpp | ||
jni/src/HashMap.cpp | ||
jni/src/HashMap.h | ||
jni/src/JNIBase.cpp | ||
jni/src/JNIBase.h | ||
jni/src/Log.h | ||
jni/src/MediaDrm.cpp | ||
jni/src/MediaDrm.h | ||
jni/src/MediaDrmKeyRequest.cpp | ||
jni/src/MediaDrmKeyRequest.h | ||
jni/src/MediaDrmOnEventListener.cpp | ||
jni/src/MediaDrmOnEventListener.h | ||
jni/src/MediaDrmProvisionRequest.cpp | ||
jni/src/MediaDrmProvisionRequest.h | ||
jni/src/UUID.cpp | ||
jni/src/UUID.h | ||
) | ||
|
||
target_include_directories(jni PUBLIC ${PROJECT_SOURCE_DIR} PRIVATE ${PROJECT_SOURCE_DIR}/jni/jutils) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
|
||
#pragma once | ||
|
||
#include "jutils.hpp" | ||
#include "../jutils/jutils.hpp" | ||
|
||
#include <list> | ||
|
||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.