r8lib_size_compare: Fix undefined variable
The variable R8_RELOCATIONS used to be in utils.py while the file was
being implemented, but after dropping another CL that used the variable,
it could be moved into r8lib_size_compare.py. The reference was
inadvertently not updated.
Fixes I35e2b0742 56df69dde ("Add programs to compare R8 and ProGuard
output sizes", 2018-06-07).
Change-Id: Ied84fd26af6e68c09713102652ee32ea7ebef9ee
diff --git a/tools/r8lib_size_compare.py b/tools/r8lib_size_compare.py
index 4bb49eb..84dd1a2 100755
--- a/tools/r8lib_size_compare.py
+++ b/tools/r8lib_size_compare.py
@@ -87,7 +87,7 @@
'-injar', utils.R8_JAR,
'-printmapping', pg_map,
'-outjar', pg_output]
- for library_name, relocated_package in utils.R8_RELOCATIONS:
+ for library_name, relocated_package in R8_RELOCATIONS:
pg_args.extend(['-dontwarn', relocated_package + '.**',
'-dontnote', relocated_package + '.**'])
check_call(pg_args)