Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1f440e7a authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Treat R8 warnings as failures for system_server"

parents e5d050a6 06689ad1
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -58,6 +58,7 @@ system_optimized_java_defaults {
                // retracing infra.
                optimize: false,
                shrink: true,
                ignore_warnings: false,
                proguard_flags_files: ["proguard.flags"],
            },
            // Note: Optimizations are disabled by default if unspecified in
@@ -174,6 +175,8 @@ java_library {
        "android.hidl.manager-V1.0-java",
        "framework-tethering.stubs.module_lib",
        "service-art.stubs.system_server",
        "service-permission.stubs.system_server",
        "service-sdksandbox.stubs.system_server",
    ],

    // Uncomment to enable output of certain warnings (deprecated, unchecked)
+4 −0
Original line number Diff line number Diff line
@@ -118,3 +118,7 @@
-keep,allowoptimization,allowaccessmodification class com.android.server.usage.StorageStatsManagerLocal { *; }
-keep,allowoptimization,allowaccessmodification class com.android.internal.util.** { *; }
-keep,allowoptimization,allowaccessmodification class android.os.** { *; }

# CoverageService guards optional jacoco class references with a runtime guard, so we can safely
# suppress build-time warnings.
-dontwarn org.jacoco.agent.rt.*