diff --git a/Android.mk b/Android.mk index 2f48002..3291171 100644 --- a/Android.mk +++ b/Android.mk @@ -4,4 +4,5 @@ include $(CLEAR_VARS) ifeq ($(BOARD_USES_QCOM_HARDWARE),true) include $(call all-makefiles-under,$(LOCAL_PATH)/$(TARGET_BOARD_PLATFORM)) +include $(call all-makefiles-under,$(LOCAL_PATH)/widevine) endif diff --git a/widevine/Android.mk b/widevine/Android.mk new file mode 100644 index 0000000..7cb8cbb --- /dev/null +++ b/widevine/Android.mk @@ -0,0 +1,21 @@ +# Copyright (C) 2017 The LineageOS Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# This file is generated by device/qcom/common/extractors/setup-makefiles.sh + +LOCAL_PATH := $(call my-dir) + +ifneq ($(filter msm8996 msm8994 msm8992 msm8960 msm8952 msm8916 msm8974 msm8610,$(TARGET_BOARD_PLATFORM)),) + +endif diff --git a/widevine/BoardConfigVendor.mk b/widevine/BoardConfigVendor.mk new file mode 100644 index 0000000..b5b7869 --- /dev/null +++ b/widevine/BoardConfigVendor.mk @@ -0,0 +1,16 @@ +# Copyright (C) 2017 The LineageOS Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# This file is generated by device/qcom/common/extractors/setup-makefiles.sh + diff --git a/widevine/proprietary/vendor/lib/drm/libdrmwvmplugin.so b/widevine/proprietary/vendor/lib/drm/libdrmwvmplugin.so new file mode 100644 index 0000000..f914cc1 Binary files /dev/null and b/widevine/proprietary/vendor/lib/drm/libdrmwvmplugin.so differ diff --git a/widevine/proprietary/vendor/lib/libWVStreamControlAPI_L1.so b/widevine/proprietary/vendor/lib/libWVStreamControlAPI_L1.so new file mode 100644 index 0000000..4e46dbe Binary files /dev/null and b/widevine/proprietary/vendor/lib/libWVStreamControlAPI_L1.so differ diff --git a/widevine/proprietary/vendor/lib/libwvdrm_L1.so b/widevine/proprietary/vendor/lib/libwvdrm_L1.so new file mode 100644 index 0000000..f60ba3b Binary files /dev/null and b/widevine/proprietary/vendor/lib/libwvdrm_L1.so differ diff --git a/widevine/proprietary/vendor/lib/libwvm.so b/widevine/proprietary/vendor/lib/libwvm.so new file mode 100644 index 0000000..70f7930 Binary files /dev/null and b/widevine/proprietary/vendor/lib/libwvm.so differ diff --git a/widevine/proprietary/vendor/lib/mediadrm/libwvdrmengine.so b/widevine/proprietary/vendor/lib/mediadrm/libwvdrmengine.so new file mode 100644 index 0000000..3c4b03d Binary files /dev/null and b/widevine/proprietary/vendor/lib/mediadrm/libwvdrmengine.so differ diff --git a/widevine/widevine-vendor.mk b/widevine/widevine-vendor.mk new file mode 100644 index 0000000..c3f8fb5 --- /dev/null +++ b/widevine/widevine-vendor.mk @@ -0,0 +1,22 @@ +# Copyright (C) 2017 The LineageOS Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# This file is generated by device/qcom/common/extractors/setup-makefiles.sh + +PRODUCT_COPY_FILES += \ + vendor/qcom/binaries/widevine/proprietary/vendor/lib/drm/libdrmwvmplugin.so:system/vendor/lib/drm/libdrmwvmplugin.so \ + vendor/qcom/binaries/widevine/proprietary/vendor/lib/libwvdrm_L1.so:system/vendor/lib/libwvdrm_L1.so \ + vendor/qcom/binaries/widevine/proprietary/vendor/lib/libwvm.so:system/vendor/lib/libwvm.so \ + vendor/qcom/binaries/widevine/proprietary/vendor/lib/libWVStreamControlAPI_L1.so:system/vendor/lib/libWVStreamControlAPI_L1.so \ + vendor/qcom/binaries/widevine/proprietary/vendor/lib/mediadrm/libwvdrmengine.so:system/vendor/lib/mediadrm/libwvdrmengine.so