Sebastiano Barezzi | 380db73 | 2024-09-14 22:12:58 +0200 | [diff] [blame] | 1 | // |
| 2 | // SPDX-FileCopyrightText: 2024 The LineageOS Project |
| 3 | // SPDX-License-Identifier: Apache-2.0 |
| 4 | // |
| 5 | |
| 6 | package { |
| 7 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 8 | } |
| 9 | |
| 10 | android_app { |
| 11 | name: "Twelve", |
| 12 | |
| 13 | defaults: ["aapt_version_code_defaults"], |
| 14 | |
| 15 | srcs: ["src/main/java/**/*.kt"], |
| 16 | resource_dirs: ["src/main/res"], |
| 17 | manifest: "src/main/AndroidManifest.xml", |
| 18 | |
| 19 | sdk_version: "35", |
| 20 | product_specific: true, |
| 21 | |
| 22 | use_embedded_native_libs: true, |
| 23 | |
| 24 | overrides: [ |
| 25 | "Music", |
| 26 | ], |
| 27 | |
| 28 | required: [ |
| 29 | "initial-package-stopped-states-org.lineageos.twelve", |
| 30 | "preinstalled-packages-org.lineageos.twelve", |
| 31 | ], |
| 32 | |
Luca Stefani | 03da9f6 | 2024-09-21 12:38:57 +0200 | [diff] [blame] | 33 | plugins: [ |
| 34 | "androidx.room_room-compiler-plugin", |
| 35 | ], |
Luca Stefani | c7804c7 | 2024-10-12 14:39:09 +0200 | [diff] [blame] | 36 | javacflags: [ |
| 37 | "-Aroom.schemaLocation=packages/apps/Twelve/app/schemas", |
| 38 | ], |
Luca Stefani | 03da9f6 | 2024-09-21 12:38:57 +0200 | [diff] [blame] | 39 | |
Sebastiano Barezzi | 380db73 | 2024-09-14 22:12:58 +0200 | [diff] [blame] | 40 | static_libs: [ |
| 41 | // DO NOT EDIT THIS SECTION MANUALLY |
| 42 | "androidx.activity_activity", |
| 43 | "androidx.appcompat_appcompat", |
| 44 | "androidx-constraintlayout_constraintlayout", |
| 45 | "androidx.core_core-ktx", |
| 46 | "androidx.fragment_fragment-ktx", |
Sebastiano Barezzi | 380db73 | 2024-09-14 22:12:58 +0200 | [diff] [blame] | 47 | "Twelve_androidx.media3_media3-common-ktx", |
| 48 | "Twelve_androidx.media3_media3-exoplayer", |
| 49 | "Twelve_androidx.media3_media3-exoplayer-midi", |
| 50 | "Twelve_androidx.media3_media3-session", |
| 51 | "Twelve_androidx.media3_media3-ui", |
| 52 | "androidx.navigation_navigation-fragment-ktx", |
| 53 | "androidx.navigation_navigation-ui-ktx", |
| 54 | "androidx.recyclerview_recyclerview", |
Luca Stefani | 03da9f6 | 2024-09-21 12:38:57 +0200 | [diff] [blame] | 55 | "androidx.room_room-runtime", |
| 56 | "androidx.room_room-ktx", |
Sebastiano Barezzi | 380db73 | 2024-09-14 22:12:58 +0200 | [diff] [blame] | 57 | "androidx.viewpager2_viewpager2", |
Sebastiano Barezzi | 970ed73 | 2024-10-08 14:07:16 +0200 | [diff] [blame^] | 58 | "Twelve_io.coil-kt.coil3_coil", |
| 59 | "Twelve_io.coil-kt.coil3_coil-network-okhttp", |
Sebastiano Barezzi | 380db73 | 2024-09-14 22:12:58 +0200 | [diff] [blame] | 60 | "Twelve_com.google.android.material_material", |
Sebastiano Barezzi | 7269adb | 2024-10-11 09:41:21 +0200 | [diff] [blame] | 61 | "Twelve_com.github.bogerchan_Nier-Visualizer", |
Sebastiano Barezzi | 970ed73 | 2024-10-08 14:07:16 +0200 | [diff] [blame^] | 62 | "kotlin-stdlib", |
| 63 | "androidx.lifecycle_lifecycle-service", |
| 64 | "kotlinx_coroutines_guava", |
Sebastiano Barezzi | 380db73 | 2024-09-14 22:12:58 +0200 | [diff] [blame] | 65 | ], |
| 66 | |
| 67 | optimize: { |
| 68 | proguard_flags_files: ["proguard-rules.pro"], |
| 69 | }, |
| 70 | } |
| 71 | |
| 72 | prebuilt_etc { |
| 73 | name: "initial-package-stopped-states-org.lineageos.twelve", |
| 74 | product_specific: true, |
| 75 | sub_dir: "sysconfig", |
| 76 | src: "initial-package-stopped-states-org.lineageos.twelve.xml", |
| 77 | filename_from_src: true, |
| 78 | } |
| 79 | |
| 80 | prebuilt_etc { |
| 81 | name: "preinstalled-packages-org.lineageos.twelve", |
| 82 | product_specific: true, |
| 83 | sub_dir: "sysconfig", |
| 84 | src: "preinstalled-packages-org.lineageos.twelve.xml", |
| 85 | filename_from_src: true, |
| 86 | } |