remove defines from build-libchromiumcontent (#11927)
This commit is contained in:
parent
65e8199a93
commit
82f8914f9e
2 changed files with 4 additions and 9 deletions
|
@ -35,7 +35,7 @@ def main():
|
|||
enable_verbose_mode()
|
||||
|
||||
# ./script/bootstrap
|
||||
# ./script/update -t x64 --defines=''
|
||||
# ./script/update -t x64
|
||||
# ./script/build --no_shared_library -t x64
|
||||
# ./script/create-dist -c static_library -t x64 --no_zip
|
||||
script_dir = os.path.join(LIBCC_DIR, 'script')
|
||||
|
@ -45,8 +45,7 @@ def main():
|
|||
create_dist = os.path.join(script_dir, 'create-dist')
|
||||
if args.force_update or libchromiumcontent_outdated():
|
||||
execute_stdout([sys.executable, bootstrap])
|
||||
execute_stdout([sys.executable, update, '-t', args.target_arch,
|
||||
'--defines', args.defines])
|
||||
execute_stdout([sys.executable, update, '-t', args.target_arch])
|
||||
update_gclient_done_marker()
|
||||
if args.debug:
|
||||
execute_stdout([sys.executable, build, '-D', '-t', args.target_arch])
|
||||
|
@ -63,8 +62,6 @@ def parse_args():
|
|||
parser = argparse.ArgumentParser(description='Build libchromiumcontent')
|
||||
parser.add_argument('--target_arch',
|
||||
help='Specify the arch to build for')
|
||||
parser.add_argument('--defines', default='',
|
||||
help='The definetions passed to gyp')
|
||||
parser.add_argument('-v', '--verbose', action='store_true',
|
||||
help='Prints the output of the subprocesses')
|
||||
parser.add_argument('-d', '--debug', action='store_true',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue