Remove golem.py and references to link third party libraries
Change-Id: Ie39364af1bbeec92e7413d091807b0355370341c
diff --git a/tools/run_kotlin_benchmarks.py b/tools/run_kotlin_benchmarks.py
index ce0f1ad..86adbe2 100755
--- a/tools/run_kotlin_benchmarks.py
+++ b/tools/run_kotlin_benchmarks.py
@@ -5,7 +5,6 @@
# Script for running kotlin based benchmarks
-import golem
import optparse
import os
import subprocess
@@ -45,9 +44,6 @@
help='The benchmark to run',
default='rgx',
choices=['rgx', 'deltablue', 'sta', 'empty'])
- result.add_option('--golem',
- help='Don\'t build r8 and link in third_party deps',
- default=False, action='store_true')
result.add_option('--use-device',
help='Run the benchmark on an attaced device',
default=False, action='store_true')
@@ -85,8 +81,6 @@
def Main():
(options, args) = parse_options()
- if options.golem:
- golem.link_third_party()
with utils.TempDir() as temp:
dex_path = os.path.join(temp, "classes.jar")
proguard_conf = os.path.join(temp, 'proguard.conf')
@@ -100,7 +94,7 @@
'--min-api', str(options.api),
benchmark_jar
]
- toolhelper.run('r8', r8_args, build=not options.golem)
+ toolhelper.run('r8', r8_args, True)
if options.use_device:
result = run_art_device(dex_path)
else: