Bob Badour | 40d900a | 2021-02-04 00:01:31 -0800 | [diff] [blame] | 1 | package { |
Bob Badour | d0dbfbd | 2022-01-27 20:36:36 -0800 | [diff] [blame] | 2 | // http://go/android-license-faq |
| 3 | default_applicable_licenses: ["Android-Apache-2.0"], |
Bob Badour | 40d900a | 2021-02-04 00:01:31 -0800 | [diff] [blame] | 4 | } |
| 5 | |
Jaewoong Jung | 827b283 | 2019-01-08 07:55:43 -0800 | [diff] [blame] | 6 | android_app { |
| 7 | name: "DeskClock", |
| 8 | resource_dirs: ["res"], |
| 9 | sdk_version: "current", |
| 10 | overrides: ["AlarmClock"], |
Michael W | 9ef3d79 | 2020-06-14 11:20:35 +0200 | [diff] [blame] | 11 | optimize: { |
| 12 | proguard_flags_files: ["proguard.flags"], |
| 13 | }, |
Jaewoong Jung | 827b283 | 2019-01-08 07:55:43 -0800 | [diff] [blame] | 14 | srcs: [ |
| 15 | "src/**/*.java", |
| 16 | "gen/**/*.java", |
| 17 | ], |
Anton Hansson | 016f29c | 2019-01-11 14:52:03 +0000 | [diff] [blame] | 18 | product_specific: true, |
Jaewoong Jung | 827b283 | 2019-01-08 07:55:43 -0800 | [diff] [blame] | 19 | static_libs: [ |
| 20 | "androidx.annotation_annotation", |
| 21 | "androidx.collection_collection", |
| 22 | "androidx.arch.core_core-common", |
| 23 | "androidx.lifecycle_lifecycle-common", |
Aurimas Liutikas | 9b0fac3 | 2019-01-30 21:45:05 -0800 | [diff] [blame] | 24 | "com.google.android.material_material", |
Jaewoong Jung | 827b283 | 2019-01-08 07:55:43 -0800 | [diff] [blame] | 25 | "androidx.lifecycle_lifecycle-runtime", |
Jaewoong Jung | 827b283 | 2019-01-08 07:55:43 -0800 | [diff] [blame] | 26 | "androidx.transition_transition", |
| 27 | "androidx.core_core", |
Jaewoong Jung | 827b283 | 2019-01-08 07:55:43 -0800 | [diff] [blame] | 28 | "androidx.media_media", |
Jaewoong Jung | 827b283 | 2019-01-08 07:55:43 -0800 | [diff] [blame] | 29 | "androidx.preference_preference", |
| 30 | "androidx.appcompat_appcompat", |
| 31 | "androidx.gridlayout_gridlayout", |
| 32 | "androidx.recyclerview_recyclerview", |
Michael W | 23d7064 | 2022-02-23 18:26:53 +0100 | [diff] [blame] | 33 | "androidx-constraintlayout_constraintlayout" |
Jaewoong Jung | 827b283 | 2019-01-08 07:55:43 -0800 | [diff] [blame] | 34 | ], |
Michael Bestas | 8dd096c | 2020-05-06 22:03:30 +0300 | [diff] [blame] | 35 | required: [ |
Michael Bestas | a154048 | 2022-09-13 19:05:48 +0300 | [diff] [blame] | 36 | "com.android.deskclock_allowlist", |
| 37 | "com.android.deskclock_default-permissions" |
Michael Bestas | 8dd096c | 2020-05-06 22:03:30 +0300 | [diff] [blame] | 38 | ], |
| 39 | } |
| 40 | |
| 41 | prebuilt_etc { |
Michael Bestas | fda3499 | 2022-09-13 19:07:58 +0300 | [diff] [blame] | 42 | name: "com.android.deskclock_allowlist", |
Michael Bestas | 8dd096c | 2020-05-06 22:03:30 +0300 | [diff] [blame] | 43 | product_specific: true, |
| 44 | sub_dir: "sysconfig", |
Michael Bestas | fda3499 | 2022-09-13 19:07:58 +0300 | [diff] [blame] | 45 | src: "com.android.deskclock_allowlist.xml", |
Michael Bestas | 8dd096c | 2020-05-06 22:03:30 +0300 | [diff] [blame] | 46 | filename_from_src: true, |
Jaewoong Jung | 827b283 | 2019-01-08 07:55:43 -0800 | [diff] [blame] | 47 | } |
Michael Bestas | a154048 | 2022-09-13 19:05:48 +0300 | [diff] [blame] | 48 | |
| 49 | prebuilt_etc { |
| 50 | name: "com.android.deskclock_default-permissions", |
| 51 | product_specific: true, |
| 52 | sub_dir: "default-permissions", |
| 53 | src: "com.android.deskclock_default-permissions.xml", |
| 54 | filename_from_src: true, |
| 55 | } |