1// Copyright (C) 2022 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15package { 16 default_visibility: [":__subpackages__"], 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20java_defaults { 21 name: "ondevicepersonalization-java-defaults", 22 lint: { 23 strict_updatability_linting: true, 24 }, 25 min_sdk_version: "Tiramisu", 26} 27 28filegroup { 29 name: "ondevicepersonalization-sources", 30 srcs: [ 31 "src/**/*.java", 32 ], 33 path: "src", 34} 35 36android_app { 37 name: "OnDevicePersonalization", 38 srcs: [ 39 ":ondevicepersonalization-sources", 40 ":framework-ondevicepersonalization-aidl", 41 ], 42 libs: [ 43 "framework-ondevicepersonalization", 44 ], 45 sdk_version: "module_current", 46 min_sdk_version: "Tiramisu", 47 updatable: true, 48 certificate: "platform", 49 apex_available: ["com.android.ondevicepersonalization"], 50 defaults: [ 51 "ondevicepersonalization-java-defaults", 52 ], 53} 54