File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -103,11 +103,13 @@ def parse_args():
103103 help = 'The shared library path of libchromiumcontent.' )
104104 parser .add_argument ('--libcc_static_library_path' , required = False ,
105105 help = 'The static library path of libchromiumcontent.' )
106+ parser .add_argument ('--defines' , default = '' ,
107+ help = 'The build variables passed to gyp' )
106108 return parser .parse_args ()
107109
108110
109111def args_to_defines (args ):
110- defines = ''
112+ defines = args . defines
111113 if args .disable_clang :
112114 defines += ' clang=0'
113115 if args .clang_dir :
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ def main():
2727def parse_args ():
2828 parser = argparse .ArgumentParser (description = 'Update build configurations' )
2929 parser .add_argument ('--defines' , default = '' ,
30- help = 'The definetions passed to gyp' )
30+ help = 'The build variables passed to gyp' )
3131 parser .add_argument ('--msvs' , action = 'store_true' ,
3232 help = 'Generate Visual Studio project' )
3333 return parser .parse_args ()
You can’t perform that action at this time.
0 commit comments