diff options
Diffstat (limited to 'webkit/build/action_jsconfig.py')
-rwxr-xr-x | webkit/build/action_jsconfig.py | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/webkit/build/action_jsconfig.py b/webkit/build/action_jsconfig.py index 2160983..7ddc12a 100755 --- a/webkit/build/action_jsconfig.py +++ b/webkit/build/action_jsconfig.py @@ -6,8 +6,7 @@ # usage: action_jsconfig.py JS_ENGINE OUTPUT_DIR CONFIG_H_IN FILES_TO_COPY # JS_ENGINE may be v8 at present. jsc will be added in the future. -# CONFIG_H_DIR is the directory to put config.h in. -# OUTPUT_DIR is the directory to put other files in. +# OUTPUT_DIR is the directory to put files in. # CONFIG_H_IN is the path to config.h.in upon which config.h will be based. # FILES_TO_COPY is a list of additional headers to be copied. It may be empty. @@ -17,14 +16,13 @@ import os.path import shutil import sys -assert len(sys.argv) >= 5 +assert len(sys.argv) >= 4 js_engine = sys.argv[1] -config_h_dir = sys.argv[2] -output_dir = sys.argv[3] -config_h_in_path = sys.argv[4] -files_to_copy = sys.argv[5:] +output_dir = sys.argv[2] +config_h_in_path = sys.argv[3] +files_to_copy = sys.argv[4:] -config_h_path = os.path.join(config_h_dir, 'config.h') +config_h_path = os.path.join(output_dir, 'config.h') assert js_engine == 'v8' |