Merge "Drop nonupdatable Widevine prebuilt files to android source tree."

This commit is contained in:
TreeHugger Robot
2023-02-16 00:28:10 +00:00
committed by Android (Google) Code Review
3 changed files with 51 additions and 0 deletions

View File

@@ -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,
},
},
}