1// Copyright (C) 2023 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_applicable_licenses: [ 17 "Android-Apache-2.0", 18 ], 19} 20 21android_library { 22 name: "toruslib", 23 srcs: [ 24 "torus-core/src/**/*.java", 25 "torus-core/src/**/*.kt", 26 "torus-framework-canvas/**/*.java", 27 "torus-framework-canvas/**/*.kt", 28 "torus-math/src/**/*.java", 29 "torus-math/src/**/*.kt", 30 "torus-utils/src/**/*.java", 31 "torus-utils/src/**/*.kt", 32 "torus-wallpaper-settings/src/**/*.java", 33 "torus-wallpaper-settings/src/**/*.kt", 34 ], 35 static_libs: [ 36 "androidx.slice_slice-core", 37 "androidx.slice_slice-builders", 38 "androidx.core_core-ktx", 39 "androidx.appcompat_appcompat", 40 ], 41 resource_dirs: [ 42 "torus-wallpaper-settings/src/main/res", 43 ], 44 asset_dirs: [ 45 ], 46 manifest: "lib-torus/src/main/AndroidManifest.xml", 47 optimize: { 48 enabled: true, 49 }, 50 min_sdk_version: "31", 51 sdk_version: "system_current", 52} 53 54