All targets need min_sdk_version 30 to be included in the tethering APEX. They will actually never be used on SDK 30 and are only loaded on 31, but this is necessary to be included in com.android.tethering. Original change (project moved): I190fd1f3c9fabff057d0a2bd7f45b63a4fe447b3 This also includes changes to the lint baseline to make it match actual filenames. Bug: 171540887 Test: m Test: m lint-check Merged-In: I3c2563d4ae4e3715d0c6270344ba8f7ef067872f Change-Id: I24198565bc98d85d0c036be02e3a6c311b5bb2a3
41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
//
|
|
// Copyright (C) 2021 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.
|
|
//
|
|
|
|
// APK to hold all the wifi overlayable resources.
|
|
package {
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
android_app {
|
|
name: "ServiceConnectivityResources",
|
|
sdk_version: "module_30",
|
|
min_sdk_version: "30",
|
|
resource_dirs: [
|
|
"res",
|
|
],
|
|
privileged: true,
|
|
export_package_resources: true,
|
|
apex_available: [
|
|
"com.android.tethering",
|
|
],
|
|
certificate: ":com.android.connectivity.resources.certificate",
|
|
}
|
|
|
|
android_app_certificate {
|
|
name: "com.android.connectivity.resources.certificate",
|
|
certificate: "resources-certs/com.android.connectivity.resources",
|
|
}
|