Michael Bestas | 2c5faa1 | 2020-12-17 16:49:43 +0200 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2020 The LineageOS Project |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | // |
| 16 | |
| 17 | android_app { |
| 18 | name: "Eleven", |
| 19 | |
| 20 | srcs: [ |
| 21 | "src/org/lineageos/eleven/IElevenService.aidl", |
| 22 | "src/**/*.java", |
| 23 | "src_aosp/**/*.java", |
| 24 | ], |
| 25 | |
| 26 | resource_dirs: ["res"], |
| 27 | |
| 28 | static_libs: [ |
| 29 | "androidx.appcompat_appcompat", |
| 30 | "androidx.cardview_cardview", |
| 31 | "androidx-constraintlayout_constraintlayout", |
| 32 | "androidx.core_core", |
| 33 | "androidx.legacy_legacy-support-v4", |
| 34 | "androidx.palette_palette", |
| 35 | "androidx.preference_preference", |
| 36 | "androidx.recyclerview_recyclerview", |
Georg Veichtlbauer | 98b1730 | 2023-08-27 14:00:01 +0200 | [diff] [blame] | 37 | "androidx.viewpager2_viewpager2", |
| 38 | "com.google.android.material_material", |
Michael Bestas | 2c5faa1 | 2020-12-17 16:49:43 +0200 | [diff] [blame] | 39 | ], |
| 40 | |
| 41 | overrides: ["Music"], |
| 42 | |
| 43 | sdk_version: "current", |
| 44 | |
| 45 | privileged: true, |
| 46 | |
| 47 | product_specific: true, |
| 48 | |
Michael Bestas | 2c5faa1 | 2020-12-17 16:49:43 +0200 | [diff] [blame] | 49 | optimize: { |
| 50 | proguard_flags_files: ["proguard.cfg"], |
| 51 | enabled: false, |
| 52 | }, |
| 53 | |
| 54 | required: ["privapp_whitelist_org.lineageos.eleven"], |
| 55 | } |
| 56 | |
| 57 | prebuilt_etc { |
| 58 | name: "privapp_whitelist_org.lineageos.eleven", |
| 59 | product_specific: true, |
| 60 | src: "privapp_whitelist_org.lineageos.eleven.xml", |
| 61 | sub_dir: "permissions", |
| 62 | filename_from_src: true, |
| 63 | } |