Move CustomConversion gradle task to third_party and test
Bug: b/291198792
Change-Id: If8744f32b465a5e49570ce2d6feaefadeaae2aeb
diff --git a/tools/archive.py b/tools/archive.py
index 27c3b25..dda7ee2 100755
--- a/tools/archive.py
+++ b/tools/archive.py
@@ -3,11 +3,13 @@
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
-import create_maven_release
-import gradle
import jdk
import optparse
import os
+
+import create_maven_release
+import gradle
+
try:
import resource
except ImportError:
@@ -16,10 +18,8 @@
import shutil
import subprocess
import sys
-import toolhelper
import utils
import zipfile
-from build_r8lib import build_r8lib
ARCHIVE_BUCKET = 'r8-releases'
@@ -165,7 +165,6 @@
utils.R8LIB_NO_DEPS,
utils.R8RETRACE,
utils.R8RETRACE_NO_DEPS,
- utils.LIBRARY_DESUGAR_CONVERSIONS,
utils.KEEPANNO_ANNOTATIONS_TARGET,
'-Pno_internal'
])