Browse Source

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

John Kleinschmidt 4 years ago
parent
commit
3dcba234b5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      build/dump_syms.py

+ 1 - 1
build/dump_syms.py

@@ -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)
+  symbol_data = subprocess.check_output(args).decode(sys.stdout.encoding)
   symbol_path = os.path.join(out_dir, get_symbol_path(symbol_data))
   mkdir_p(os.path.dirname(symbol_path))