Jiakai Zhang 2af8741f14 Add the systemserver_fragment to media SDK.
Note: This needs to be exported from the APEX (ag/15937385) when a new
prebuilt is dropped.

The systemserver_fragment is needed for dexpreopting when the media APEX
is built from a prebuilt.

Bug: 194150908
Test: m nothing
Merged-In: I2cca8b206451858e636c6bd04617cf3933f702c6
Change-Id: I2cca8b206451858e636c6bd04617cf3933f702c6
(cherry picked from commit 381fb640c6e25dbd211d12c791a473c4611e70a7)
2021-10-11 04:47:38 +00:00

36 lines
1.3 KiB
Plaintext

// Copyright (C) 2020 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.
package {
default_visibility: [
":__subpackages__",
"//frameworks/av/apex",
"//frameworks/av/apex/testing",
],
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "frameworks_base_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["frameworks_base_license"],
}
sdk {
name: "media-module-sdk",
bootclasspath_fragments: ["com.android.media-bootclasspath-fragment"],
systemserverclasspath_fragments: ["com.android.media-systemserverclasspath-fragment"],
java_sdk_libs: [
"framework-media",
],
}