| Andy Wickham | 95518e1 | 2020-03-03 00:33:24 +0000 | [diff] [blame] | 1 | // Copyright (C) 2018 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 | |
| Bob Badour | 21cbf34 | 2021-02-12 21:15:22 -0800 | [diff] [blame] | 15 | package { |
| 16 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 17 | } |
| 18 | |
| Andy Wickham | 95518e1 | 2020-03-03 00:33:24 +0000 | [diff] [blame] | 19 | android_library { |
| 20 | name: "iconloader_base", |
| Sunny Goyal | 451f13e | 2021-04-07 13:25:43 -0700 | [diff] [blame] | 21 | sdk_version: "current", |
| Sunny Goyal | ecb6e17 | 2024-09-20 10:14:42 -0700 | [diff] [blame] | 22 | min_sdk_version: "31", |
| Andy Wickham | 95518e1 | 2020-03-03 00:33:24 +0000 | [diff] [blame] | 23 | static_libs: [ |
| 24 | "androidx.core_core", |
| Sunny Goyal | d3b9c58 | 2024-09-16 14:54:44 -0700 | [diff] [blame] | 25 | "com_android_launcher3_flags_lib", |
| Andy Wickham | 95518e1 | 2020-03-03 00:33:24 +0000 | [diff] [blame] | 26 | ], |
| 27 | resource_dirs: [ |
| 28 | "res", |
| 29 | ], |
| 30 | srcs: [ |
| 31 | "src/**/*.java", |
| Sunny Goyal | d3b9c58 | 2024-09-16 14:54:44 -0700 | [diff] [blame] | 32 | "src/**/*.kt", |
| Andy Wickham | 95518e1 | 2020-03-03 00:33:24 +0000 | [diff] [blame] | 33 | ], |
| 34 | } |
| 35 | |
| 36 | android_library { |
| 37 | name: "iconloader", |
| 38 | sdk_version: "system_current", |
| Sunny Goyal | ecb6e17 | 2024-09-20 10:14:42 -0700 | [diff] [blame] | 39 | min_sdk_version: "31", |
| Andy Wickham | 95518e1 | 2020-03-03 00:33:24 +0000 | [diff] [blame] | 40 | static_libs: [ |
| 41 | "androidx.core_core", |
| Sunny Goyal | d3b9c58 | 2024-09-16 14:54:44 -0700 | [diff] [blame] | 42 | "com_android_launcher3_flags_lib", |
| Andy Wickham | 95518e1 | 2020-03-03 00:33:24 +0000 | [diff] [blame] | 43 | ], |
| 44 | resource_dirs: [ |
| 45 | "res", |
| 46 | ], |
| 47 | srcs: [ |
| 48 | "src/**/*.java", |
| Sunny Goyal | d3b9c58 | 2024-09-16 14:54:44 -0700 | [diff] [blame] | 49 | "src/**/*.kt", |
| Andy Wickham | 95518e1 | 2020-03-03 00:33:24 +0000 | [diff] [blame] | 50 | "src_full_lib/**/*.java", |
| Sunny Goyal | d3b9c58 | 2024-09-16 14:54:44 -0700 | [diff] [blame] | 51 | "src_full_lib/**/*.kt", |
| Andy Wickham | 95518e1 | 2020-03-03 00:33:24 +0000 | [diff] [blame] | 52 | ], |
| Jooyung Han | d2c6ca4 | 2022-05-06 12:25:22 +0900 | [diff] [blame] | 53 | apex_available: [ |
| 54 | "//apex_available:platform", |
| 55 | "com.android.permission", |
| 56 | ], |
| Andy Wickham | 95518e1 | 2020-03-03 00:33:24 +0000 | [diff] [blame] | 57 | } |