blob: 338dad1b7b7c0dc6fcda59549108fa844ce0d8b6 [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
Sebastiano Barezzi380db732024-09-14 22:12:58 +020040 static_libs: [
41 // DO NOT EDIT THIS SECTION MANUALLY
Luca Stefani0ae9ec42024-09-21 13:39:57 +020042 "kotlin-stdlib",
Sebastiano Barezzi380db732024-09-14 22:12:58 +020043 "androidx.activity_activity",
44 "androidx.appcompat_appcompat",
45 "androidx-constraintlayout_constraintlayout",
46 "androidx.core_core-ktx",
47 "androidx.fragment_fragment-ktx",
48 "androidx.lifecycle_lifecycle-service",
49 "Twelve_androidx.media3_media3-common-ktx",
50 "Twelve_androidx.media3_media3-exoplayer",
51 "Twelve_androidx.media3_media3-exoplayer-midi",
52 "Twelve_androidx.media3_media3-session",
53 "Twelve_androidx.media3_media3-ui",
54 "androidx.navigation_navigation-fragment-ktx",
55 "androidx.navigation_navigation-ui-ktx",
56 "androidx.recyclerview_recyclerview",
Luca Stefani03da9f62024-09-21 12:38:57 +020057 "androidx.room_room-runtime",
58 "androidx.room_room-ktx",
Sebastiano Barezzi380db732024-09-14 22:12:58 +020059 "androidx.viewpager2_viewpager2",
60 "kotlinx_coroutines_guava",
61 "Twelve_com.google.android.material_material",
Sebastiano Barezzi7269adb2024-10-11 09:41:21 +020062 "Twelve_com.github.bogerchan_Nier-Visualizer",
Sebastiano Barezzi380db732024-09-14 22:12:58 +020063 ],
64
65 optimize: {
66 proguard_flags_files: ["proguard-rules.pro"],
67 },
68}
69
70prebuilt_etc {
71 name: "initial-package-stopped-states-org.lineageos.twelve",
72 product_specific: true,
73 sub_dir: "sysconfig",
74 src: "initial-package-stopped-states-org.lineageos.twelve.xml",
75 filename_from_src: true,
76}
77
78prebuilt_etc {
79 name: "preinstalled-packages-org.lineageos.twelve",
80 product_specific: true,
81 sub_dir: "sysconfig",
82 src: "preinstalled-packages-org.lineageos.twelve.xml",
83 filename_from_src: true,
84}