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

Skip to content
Unverified Commit 3dbe7196 authored by Jared Duke's avatar Jared Duke Committed by LuK1337
Browse files

Allow selective R8 optimization for eng test_suites

Eng builds implicitly run R8 in debug mode. This is typically fine, but
test_suites can be built in eng mode, and some tests exercise behavior
that may require R8 optimizations. For example, annotation tests that
check the effective dex output in the presence of such annotations.

Allow a target to override this default behavior by adding "--release"
to its dxflags property.

Bug: 222468116
Test: atest InternalAnnotationsTests
Change-Id: Ie3328f1b56a6fe7c9f331281e6527e40f17f9271
parent 91e0b33f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment