提交 5c55b1f1 编写于 作者: E Eric Seidel

Merge pull request #66 from eseidelGoogle/release

Fix ability to build release builds
......@@ -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?
......
......@@ -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')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册