Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 5c55b1f

Browse files
committed
Merge pull request #66 from eseidelGoogle/release
Fix ability to build release builds
2 parents 0254e9e + 28cfeee commit 5c55b1f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

sky/tools/big_red_button.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def main():
8282

8383
run(sky_engine_root, ['git', 'pull', '--rebase'])
8484
run(sky_engine_root, ['gclient', 'sync'])
85-
run(sky_engine_root, ['sky/tools/gn', 'gn', '--android', '--release'])
85+
run(sky_engine_root, ['sky/tools/gn', '--android', '--release'])
8686
# TODO(eseidel): We shouldn't use mojob anymore, it likely will break.
8787
run(sky_engine_root, ['mojo/tools/mojob.py', 'build', '--android', '--release'])
8888
# Run tests?

sky/tools/gn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def to_gn_args(args):
5858
def main():
5959
parser = argparse.ArgumentParser(description='A script run` gn gen`.')
6060
parser.add_argument('--debug', default=True)
61+
parser.add_argument('--release', default=False, dest='debug', action='store_false')
6162
parser.add_argument('--target-os', type=str)
6263
parser.add_argument('--android', dest='target_os', action='store_const', const='android')
6364
parser.add_argument('--ios', dest='target_os', action='store_const', const='ios')

0 commit comments

Comments
 (0)