Remove alternative frontend flag.
Change-Id: Ibcd15cb417c944a009a496332e32e2c0e13a3d0c
diff --git a/build.gradle b/build.gradle
index f8d61e6..11e3322 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1820,11 +1820,6 @@
systemProperty 'test_git_HEAD_sha1', project.property('HEAD_sha1')
}
- if (project.hasProperty('alternative_frontend')) {
- println "NOTE: Running with alternative frontend"
- systemProperty 'com.android.tools.r8.useAlternativeFrontend', true
- }
-
dependsOn getJarsFromSupportLibs
// R8.jar is required for running bootstrap tests.
dependsOn R8
diff --git a/tools/test.py b/tools/test.py
index fda24ee..be271f2 100755
--- a/tools/test.py
+++ b/tools/test.py
@@ -124,9 +124,6 @@
result.add_option('--fail-fast', '--fail_fast',
default=False, action='store_true',
help='Stop on first failure. Passes --fail-fast to gradle test runner.')
- result.add_option('--alternative-frontend', '--alternative_frontend',
- default=False, action='store_true',
- help='Use the alternative (eg, non-default) classfile frontend.')
return result.parse_args()
def archive_failures():
@@ -202,8 +199,6 @@
if not os.path.exists(options.use_golden_files_in):
os.makedirs(options.use_golden_files_in)
gradle_args.append('-PHEAD_sha1=' + utils.get_HEAD_sha1())
- if options.alternative_frontend:
- gradle_args.append('-Palternative_frontend')
if (not options.no_r8lib) and options.r8lib_no_deps:
print('Cannot run tests on r8lib with and without deps. R8lib is now default target.')
exit(1)