diff --git a/sky/tools/big_red_button.py b/sky/tools/big_red_button.py index 8b92020cdd6d04dcbd0d6db0d78d91a07968f53c..182b0091726af2292dc06c1044160d8cd7c00432 100755 --- a/sky/tools/big_red_button.py +++ b/sky/tools/big_red_button.py @@ -82,7 +82,7 @@ def main(): run(sky_engine_root, ['git', 'pull', '--rebase']) run(sky_engine_root, ['gclient', 'sync']) - run(sky_engine_root, ['sky/tools/gn', 'gn', '--android', '--release']) + run(sky_engine_root, ['sky/tools/gn', '--android', '--release']) # TODO(eseidel): We shouldn't use mojob anymore, it likely will break. run(sky_engine_root, ['mojo/tools/mojob.py', 'build', '--android', '--release']) # Run tests? diff --git a/sky/tools/gn b/sky/tools/gn index 40986c70b45e941813388d078d3444d95f0079b9..c5be76058b383d9d5fbb5dcbd9cd73dc7c0ae0ba 100755 --- a/sky/tools/gn +++ b/sky/tools/gn @@ -58,6 +58,7 @@ def to_gn_args(args): def main(): parser = argparse.ArgumentParser(description='A script run` gn gen`.') parser.add_argument('--debug', default=True) + parser.add_argument('--release', default=False, dest='debug', action='store_false') parser.add_argument('--target-os', type=str) parser.add_argument('--android', dest='target_os', action='store_const', const='android') parser.add_argument('--ios', dest='target_os', action='store_const', const='ios')