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

Fix ability to build release builds #66

Merged
merged 1 commit into from
Jul 16, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sky/tools/big_red_button.py
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down
1 change: 1 addition & 0 deletions sky/tools/gn
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down