summaryrefslogtreecommitdiff
path: root/doze/Android.bp
diff options
context:
space:
mode:
authorBruno Martins <bgcngm@gmail.com>2021-01-06 20:51:54 +0000
committerMichael Bestas <mkbestas@lineageos.org>2021-02-06 17:19:50 +0200
commit33048cce9ff8409e7e4adb2500c01631cc739a36 (patch)
tree7381cb9394cdab97a6c0c5dd1fc3b596142a2a46 /doze/Android.bp
parente054d17fc466aa15a0a185ea64b3bf89c70d5539 (diff)
sdm660-common: doze: Use all shared resources from devicesettings
Change-Id: Icd7f381c574ea36eb4d797cefd60ba9f1a0941bd
Diffstat (limited to 'doze/Android.bp')
-rw-r--r--doze/Android.bp23
1 files changed, 23 insertions, 0 deletions
diff --git a/doze/Android.bp b/doze/Android.bp
new file mode 100644
index 0000000..ef39d6b
--- /dev/null
+++ b/doze/Android.bp
@@ -0,0 +1,23 @@
+//
+// Copyright (C) 2020-2021 The LineageOS Project
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+
+android_app {
+ name: "XiaomiDoze",
+
+ srcs: ["src/**/*.java"],
+ resource_dirs: ["res"],
+ certificate: "platform",
+ platform_apis: true,
+ privileged: true,
+
+ static_libs: [
+ "org.lineageos.settings.resources",
+ ],
+
+ optimize: {
+ proguard_flags_files: ["proguard.flags"],
+ },
+}