aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhi Dou <zhidou@google.com>2022-09-22 17:20:07 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2022-09-22 17:20:07 +0000
commitbe1e81e627bc2c618d7b8db382b653dd38953e43 (patch)
treee66b7de92b93438058721bdbdcf4e089c46147dd
parent9f933e69e173768553256f6d328494e43d643f2b (diff)
parentdc611e913cd0b3324093c0d99f866306ff6b97b8 (diff)
downloadcommon-be1e81e627bc2c618d7b8db382b653dd38953e43.tar.gz
Merge "Extend system server optimization settings"
-rw-r--r--proguard/Android.bp2
-rw-r--r--proguard/system-api.pro2
2 files changed, 4 insertions, 0 deletions
diff --git a/proguard/Android.bp b/proguard/Android.bp
index 4c43fea8..84cd72dd 100644
--- a/proguard/Android.bp
+++ b/proguard/Android.bp
@@ -35,6 +35,8 @@ java_defaults {
shrink: true,
optimize: false,
obfuscate: false,
+ proguard_compatibility: false,
+ ignore_warnings: false,
proguard_flags_files: [":framework-system-server-module-optimize-proguard-rules"],
},
}
diff --git a/proguard/system-api.pro b/proguard/system-api.pro
index 6e08c503..b1f034ad 100644
--- a/proguard/system-api.pro
+++ b/proguard/system-api.pro
@@ -11,3 +11,5 @@
-keepclasseswithmembers public class * {
@android.annotation.SystemApi public protected <methods>;
}
+
+-include system-server.pro