|
@ -2,13 +2,12 @@ |
|
|
|
|
|
|
|
|
import optparse |
|
|
import optparse |
|
|
import os |
|
|
import os |
|
|
import json |
|
|
import pprint |
|
|
import subprocess |
|
|
import subprocess |
|
|
import sys |
|
|
import sys |
|
|
|
|
|
|
|
|
root_dir = os.path.dirname(__file__) |
|
|
root_dir = os.path.dirname(__file__) |
|
|
sys.path.insert(0, os.path.join(root_dir, 'deps', 'v8', 'tools')) |
|
|
sys.path.insert(0, os.path.join(root_dir, 'deps', 'v8', 'tools')) |
|
|
import utils # GuessArchitecture |
|
|
|
|
|
|
|
|
|
|
|
# parse our options |
|
|
# parse our options |
|
|
parser = optparse.OptionParser() |
|
|
parser = optparse.OptionParser() |
|
@ -262,7 +261,7 @@ print "creating ", fn |
|
|
|
|
|
|
|
|
f = open(fn, 'w+') |
|
|
f = open(fn, 'w+') |
|
|
f.write("# Do not edit. Generated by the configure script.\n") |
|
|
f.write("# Do not edit. Generated by the configure script.\n") |
|
|
json.dump(output, f, indent=2, skipkeys=True) |
|
|
pprint.pprint(output, stream=f, indent=2) |
|
|
f.write("\n") |
|
|
f.write("\n") |
|
|
f.close() |
|
|
f.close() |
|
|
|
|
|
|
|
|