blob: 235e6724f91d32f32ee2558e4d665b47ba72b75c [file] [log] [blame]
Bob Badoure539dba2021-02-12 17:07:05 -08001package {
2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // all of the 'license_kinds' from "frameworks_base_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["frameworks_base_license"],
8}
9
Ahmad Khalil726d9a02023-04-10 22:20:32 +000010android_library {
11 name: "SoundPickerLib",
12 srcs: [
13 "src/**/*.java",
Jeff Sharkey8f18b2a2019-08-21 14:37:07 -060014 ],
15 resource_dirs: [
16 "res",
17 ],
Ahmad Khalil726d9a02023-04-10 22:20:32 +000018 static_libs: [
19 "androidx.appcompat_appcompat",
Ahmad Khalilfe6e6002023-05-03 17:15:18 +000020 "hilt_android",
21 "guava",
Ahmad Khalil6211a672023-05-26 13:57:08 +000022 "androidx.recyclerview_recyclerview",
23 "androidx-constraintlayout_constraintlayout",
24 "androidx.viewpager2_viewpager2",
25 "com.google.android.material_material",
Jeff Sharkey8f18b2a2019-08-21 14:37:07 -060026 ],
Ahmad Khalil726d9a02023-04-10 22:20:32 +000027}
Jeff Sharkey8f18b2a2019-08-21 14:37:07 -060028
Ahmad Khalil726d9a02023-04-10 22:20:32 +000029android_app {
30 name: "SoundPicker",
31 defaults: ["platform_app_defaults"],
32 manifest: "AndroidManifest.xml",
33 static_libs: ["SoundPickerLib"],
Jeff Sharkey8f18b2a2019-08-21 14:37:07 -060034 platform_apis: true,
35 certificate: "media",
36 privileged: true,
Ahmad Khalild07cf4f2023-06-29 16:03:10 +000037
38 optimize: {
39 enabled: true,
40 optimize: true,
41 shrink: true,
42 shrink_resources: true,
43 obfuscate: false,
44 proguard_compatibility: false,
45 },
Jeff Sharkey8f18b2a2019-08-21 14:37:07 -060046}