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: [ |
Georg Veichtlbauer | 1b62925 | 2023-10-30 13:39:45 +0100 | [diff] [blame] | 29 | // DO NOT EDIT THIS SECTION MANUALLY |
Michael Bestas | 2c5faa1 | 2020-12-17 16:49:43 +0200 | [diff] [blame] | 30 | "androidx.appcompat_appcompat", |
| 31 | "androidx.cardview_cardview", |
Michael Bestas | 2c5faa1 | 2020-12-17 16:49:43 +0200 | [diff] [blame] | 32 | "androidx.legacy_legacy-support-v4", |
| 33 | "androidx.palette_palette", |
| 34 | "androidx.preference_preference", |
| 35 | "androidx.recyclerview_recyclerview", |
Georg Veichtlbauer | 1b62925 | 2023-10-30 13:39:45 +0100 | [diff] [blame] | 36 | "androidx-constraintlayout_constraintlayout", |
| 37 | "Eleven_com.google.android.material_material", |
Michael Bestas | 2c5faa1 | 2020-12-17 16:49:43 +0200 | [diff] [blame] | 38 | ], |
| 39 | |
| 40 | overrides: ["Music"], |
| 41 | |
| 42 | sdk_version: "current", |
| 43 | |
| 44 | privileged: true, |
| 45 | |
| 46 | product_specific: true, |
| 47 | |
Michael Bestas | 2c5faa1 | 2020-12-17 16:49:43 +0200 | [diff] [blame] | 48 | optimize: { |
| 49 | proguard_flags_files: ["proguard.cfg"], |
| 50 | enabled: false, |
| 51 | }, |
| 52 | |
| 53 | required: ["privapp_whitelist_org.lineageos.eleven"], |
| 54 | } |
| 55 | |
| 56 | prebuilt_etc { |
| 57 | name: "privapp_whitelist_org.lineageos.eleven", |
| 58 | product_specific: true, |
| 59 | src: "privapp_whitelist_org.lineageos.eleven.xml", |
| 60 | sub_dir: "permissions", |
| 61 | filename_from_src: true, |
| 62 | } |