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

Commit 6604ec69 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Trace downstream refs when fully optimizing services.jar" into main

parents 1738bcb0 e92cf218
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -90,6 +90,13 @@ system_optimized_java_defaults {
        FULL_SYSTEM_OPTIMIZE_JAVA: {
            optimize: {
                optimize: true,
                // TODO(b/212737576): Apply this property for the SYSTEM_OPTIMIZE_JAVA case after
                // resolving all downstream cyclic dependencies. For now, full optimization is
                // more sensitive to downstream lib references, so it stands the most to benefit.
                trace_references_from: select(soong_config_variable("ANDROID", "system_server_trace_refs"), {
                    any @ trace_refs: trace_refs,
                    default: [],
                }),
            },
        },
    },