diff --git a/.prebuilt_info/nonupdatable/prebuilt_info_libwvdrmengine_apex_prebuilt_com_google_android_widevine_nonupdatable_apks.asciipb b/.prebuilt_info/nonupdatable/prebuilt_info_libwvdrmengine_apex_prebuilt_com_google_android_widevine_nonupdatable_apks.asciipb new file mode 100644 index 00000000..1f2665ae --- /dev/null +++ b/.prebuilt_info/nonupdatable/prebuilt_info_libwvdrmengine_apex_prebuilt_com_google_android_widevine_nonupdatable_apks.asciipb @@ -0,0 +1,15 @@ +drops { + android_build_drop { + build_id: "9591839" + target: "mainline_modules-user" + source_file: "dev_keys_signed/com.google.android.widevine.nonupdatable/com.google.android.widevine.nonupdatable.apks" + } + dest_file: "libwvdrmengine/apex/prebuilt/com.google.android.widevine.nonupdatable.apks" + version: "" + version_group: "" + git_project: "platform/vendor/widevine" + git_branch: "master" + transform: TRANSFORM_NONE + transform_options { + } +} diff --git a/libwvdrmengine/apex/prebuilt/Android.bp b/libwvdrmengine/apex/prebuilt/Android.bp new file mode 100644 index 00000000..84d82980 --- /dev/null +++ b/libwvdrmengine/apex/prebuilt/Android.bp @@ -0,0 +1,36 @@ +// Copyright (C) 2023 The Android Open Source 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. + +soong_config_module_type_import { + from: "packages/modules/common/Android.bp", + module_types: ["module_apex_set"], +} + +module_apex_set { + name: "com.google.android.widevine.nonupdatable", + apex_name: "com.google.android.widevine", + owner: "google", + set: "com.google.android.widevine.nonupdatable.apks", + prefer: true, + // TODO(b/251299786): the prerelease field should be removed once + // new api version is released, e.g. U(34). + // This is a mitigation for apex extractor matching target sdk version + // with current prerelease version. + prerelease: true, + soong_config_variables: { + module_build_from_source: { + prefer: false, + }, + }, +} \ No newline at end of file diff --git a/libwvdrmengine/apex/prebuilt/com.google.android.widevine.nonupdatable.apks b/libwvdrmengine/apex/prebuilt/com.google.android.widevine.nonupdatable.apks new file mode 100644 index 00000000..14b5284c Binary files /dev/null and b/libwvdrmengine/apex/prebuilt/com.google.android.widevine.nonupdatable.apks differ