Files
android/libwvdrmengine/apex/prebuilt/Android.bp
Bob Badour 1625b15b31 [LSC] Add LOCAL_LICENSE_KINDS to vendor/widevine
Added legacy_proprietary to:
  libwvdrmengine/apex/prebuilt/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: I95cd31dc2d2cea5b266a22b6f6c87db1cfec4f68
2023-02-23 07:23:04 -08:00

49 lines
1.8 KiB
Plaintext

// 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.
// *** THIS PACKAGE HAS SPECIAL LICENSING CONDITIONS. PLEASE
// CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE
// DEPENDING ON IT IN YOUR PROJECT. ***
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "vendor_widevine_license"
// to get the below license kinds:
// legacy_proprietary (by exception only)
default_applicable_licenses: ["vendor_widevine_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,
},
},
}