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 | |
Luca Stefani | e045bd1 | 2024-10-12 18:31:03 +0200 | [diff] [blame] | 40 | kotlin_plugins: [ |
| 41 | "kotlin-serialize-compiler-plugin", |
| 42 | ], |
| 43 | |
Sebastiano Barezzi | 380db73 | 2024-09-14 22:12:58 +0200 | [diff] [blame] | 44 | static_libs: [ |
| 45 | // DO NOT EDIT THIS SECTION MANUALLY |
| 46 | "androidx.activity_activity", |
| 47 | "androidx.appcompat_appcompat", |
| 48 | "androidx-constraintlayout_constraintlayout", |
| 49 | "androidx.core_core-ktx", |
| 50 | "androidx.fragment_fragment-ktx", |
Luca Stefani | 3a74fc2 | 2024-11-03 19:29:16 +0100 | [diff] [blame] | 51 | "androidx.lifecycle_lifecycle-runtime", |
| 52 | "androidx.lifecycle_lifecycle-runtime-ktx", |
| 53 | "androidx.lifecycle_lifecycle-service", |
Sebastiano Barezzi | 380db73 | 2024-09-14 22:12:58 +0200 | [diff] [blame] | 54 | "Twelve_androidx.media3_media3-common-ktx", |
| 55 | "Twelve_androidx.media3_media3-exoplayer", |
Sebastiano Barezzi | 973cc41 | 2024-11-07 00:59:36 +0100 | [diff] [blame] | 56 | "Twelve_androidx.media3_media3-exoplayer-hls", |
Sebastiano Barezzi | 380db73 | 2024-09-14 22:12:58 +0200 | [diff] [blame] | 57 | "Twelve_androidx.media3_media3-exoplayer-midi", |
Sebastiano Barezzi | 973cc41 | 2024-11-07 00:59:36 +0100 | [diff] [blame] | 58 | "Twelve_androidx.media3_media3-exoplayer-rtsp", |
| 59 | "Twelve_androidx.media3_media3-exoplayer-smoothstreaming", |
Sebastiano Barezzi | 380db73 | 2024-09-14 22:12:58 +0200 | [diff] [blame] | 60 | "Twelve_androidx.media3_media3-session", |
| 61 | "Twelve_androidx.media3_media3-ui", |
| 62 | "androidx.navigation_navigation-fragment-ktx", |
| 63 | "androidx.navigation_navigation-ui-ktx", |
LuK1337 | 677fdea | 2024-11-12 20:09:16 +0100 | [diff] [blame] | 64 | "androidx.preference_preference", |
Sebastiano Barezzi | 380db73 | 2024-09-14 22:12:58 +0200 | [diff] [blame] | 65 | "androidx.recyclerview_recyclerview", |
Luca Stefani | 03da9f6 | 2024-09-21 12:38:57 +0200 | [diff] [blame] | 66 | "androidx.room_room-ktx", |
Luca Stefani | 3a74fc2 | 2024-11-03 19:29:16 +0100 | [diff] [blame] | 67 | "androidx.room_room-runtime", |
Sebastiano Barezzi | 380db73 | 2024-09-14 22:12:58 +0200 | [diff] [blame] | 68 | "androidx.viewpager2_viewpager2", |
Sebastiano Barezzi | 7269adb | 2024-10-11 09:41:21 +0200 | [diff] [blame] | 69 | "Twelve_com.github.bogerchan_Nier-Visualizer", |
Luca Stefani | 3a74fc2 | 2024-11-03 19:29:16 +0100 | [diff] [blame] | 70 | "Twelve_com.google.android.material_material", |
Sebastiano Barezzi | ca5d161 | 2024-10-11 20:24:06 +0200 | [diff] [blame] | 71 | "Twelve_com.squareup.okhttp3_okhttp", |
Luca Stefani | 3a74fc2 | 2024-11-03 19:29:16 +0100 | [diff] [blame] | 72 | "Twelve_io.coil-kt.coil3_coil", |
| 73 | "Twelve_io.coil-kt.coil3_coil-android", |
| 74 | "Twelve_io.coil-kt.coil3_coil-core-android", |
| 75 | "Twelve_io.coil-kt.coil3_coil-network-core-android", |
| 76 | "Twelve_io.coil-kt.coil3_coil-network-okhttp", |
Sebastiano Barezzi | 970ed73 | 2024-10-08 14:07:16 +0200 | [diff] [blame] | 77 | "kotlin-stdlib", |
Sebastiano Barezzi | 970ed73 | 2024-10-08 14:07:16 +0200 | [diff] [blame] | 78 | "kotlinx_coroutines_guava", |
Luca Stefani | b7d77f6 | 2024-10-31 13:41:40 +0100 | [diff] [blame] | 79 | "kotlinx_serialization_json", |
Sebastiano Barezzi | 380db73 | 2024-09-14 22:12:58 +0200 | [diff] [blame] | 80 | ], |
| 81 | |
| 82 | optimize: { |
Luca Stefani | 9804e18 | 2024-10-31 12:44:28 +0100 | [diff] [blame] | 83 | optimize: true, |
Sebastiano Barezzi | 380db73 | 2024-09-14 22:12:58 +0200 | [diff] [blame] | 84 | proguard_flags_files: ["proguard-rules.pro"], |
Luca Stefani | 9804e18 | 2024-10-31 12:44:28 +0100 | [diff] [blame] | 85 | shrink_resources: true, |
Sebastiano Barezzi | 380db73 | 2024-09-14 22:12:58 +0200 | [diff] [blame] | 86 | }, |
| 87 | } |
| 88 | |
| 89 | prebuilt_etc { |
| 90 | name: "initial-package-stopped-states-org.lineageos.twelve", |
| 91 | product_specific: true, |
| 92 | sub_dir: "sysconfig", |
| 93 | src: "initial-package-stopped-states-org.lineageos.twelve.xml", |
| 94 | filename_from_src: true, |
| 95 | } |
| 96 | |
| 97 | prebuilt_etc { |
| 98 | name: "preinstalled-packages-org.lineageos.twelve", |
| 99 | product_specific: true, |
| 100 | sub_dir: "sysconfig", |
| 101 | src: "preinstalled-packages-org.lineageos.twelve.xml", |
| 102 | filename_from_src: true, |
| 103 | } |