revert: build: fix dump_syms.py to work with python 3 (#28998)

This commit is contained in:
Keeley Hammond
2021-05-04 14:07:32 -07:00
committed by GitHub
parent 0853536e04
commit 2fe16c60ea

View File

@@ -39,7 +39,7 @@ def main(dump_syms, binary, out_dir, stamp_file, dsym_file=None):
args += ["-g", dsym_file]
args += [binary]
symbol_data = subprocess.check_output(args).decode(sys.stdout.encoding)
symbol_data = subprocess.check_output(args)
symbol_path = os.path.join(out_dir, get_symbol_path(symbol_data))
mkdir_p(os.path.dirname(symbol_path))