blob: 1aa28fba48bdaf6bc20866a82ed0b5a5e28dd3c7 [file] [log] [blame]
Sebastiano Barezzi380db732024-09-14 22:12:58 +02001//
2// SPDX-FileCopyrightText: 2024 The LineageOS Project
3// SPDX-License-Identifier: Apache-2.0
4//
5
6package {
7 default_applicable_licenses: ["Android-Apache-2.0"],
8}
9
10android_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 Stefani03da9f62024-09-21 12:38:57 +020033 plugins: [
34 "androidx.room_room-compiler-plugin",
35 ],
Luca Stefanic7804c72024-10-12 14:39:09 +020036 javacflags: [
37 "-Aroom.schemaLocation=packages/apps/Twelve/app/schemas",
38 ],
Luca Stefani03da9f62024-09-21 12:38:57 +020039
Luca Stefanie045bd12024-10-12 18:31:03 +020040 kotlin_plugins: [
41 "kotlin-serialize-compiler-plugin",
42 ],
43
Sebastiano Barezzi380db732024-09-14 22:12:58 +020044 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",
Sebastiano Barezzi380db732024-09-14 22:12:58 +020051 "Twelve_androidx.media3_media3-common-ktx",
52 "Twelve_androidx.media3_media3-exoplayer",
53 "Twelve_androidx.media3_media3-exoplayer-midi",
54 "Twelve_androidx.media3_media3-session",
55 "Twelve_androidx.media3_media3-ui",
56 "androidx.navigation_navigation-fragment-ktx",
57 "androidx.navigation_navigation-ui-ktx",
58 "androidx.recyclerview_recyclerview",
Luca Stefani03da9f62024-09-21 12:38:57 +020059 "androidx.room_room-runtime",
60 "androidx.room_room-ktx",
Sebastiano Barezzi380db732024-09-14 22:12:58 +020061 "androidx.viewpager2_viewpager2",
Sebastiano Barezzi970ed732024-10-08 14:07:16 +020062 "Twelve_io.coil-kt.coil3_coil",
Luca Stefanib7d77f62024-10-31 13:41:40 +010063 "Twelve_io.coil-kt.coil3_coil-core-android",
Sebastiano Barezzi970ed732024-10-08 14:07:16 +020064 "Twelve_io.coil-kt.coil3_coil-network-okhttp",
Sebastiano Barezzi380db732024-09-14 22:12:58 +020065 "Twelve_com.google.android.material_material",
Sebastiano Barezzi7269adb2024-10-11 09:41:21 +020066 "Twelve_com.github.bogerchan_Nier-Visualizer",
Sebastiano Barezzica5d1612024-10-11 20:24:06 +020067 "Twelve_com.squareup.okhttp3_okhttp",
Sebastiano Barezzi970ed732024-10-08 14:07:16 +020068 "kotlin-stdlib",
69 "androidx.lifecycle_lifecycle-service",
70 "kotlinx_coroutines_guava",
Luca Stefanib7d77f62024-10-31 13:41:40 +010071 "kotlinx_serialization_json",
Sebastiano Barezzi380db732024-09-14 22:12:58 +020072 ],
73
74 optimize: {
Luca Stefani9804e182024-10-31 12:44:28 +010075 optimize: true,
Sebastiano Barezzi380db732024-09-14 22:12:58 +020076 proguard_flags_files: ["proguard-rules.pro"],
Luca Stefani9804e182024-10-31 12:44:28 +010077 shrink_resources: true,
Sebastiano Barezzi380db732024-09-14 22:12:58 +020078 },
79}
80
81prebuilt_etc {
82 name: "initial-package-stopped-states-org.lineageos.twelve",
83 product_specific: true,
84 sub_dir: "sysconfig",
85 src: "initial-package-stopped-states-org.lineageos.twelve.xml",
86 filename_from_src: true,
87}
88
89prebuilt_etc {
90 name: "preinstalled-packages-org.lineageos.twelve",
91 product_specific: true,
92 sub_dir: "sysconfig",
93 src: "preinstalled-packages-org.lineageos.twelve.xml",
94 filename_from_src: true,
95}