OLD | NEW |
(Empty) | |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import optparse |
| 6 |
| 7 |
| 8 def add_arguments(parser): |
| 9 parser.add_argument("-t", "--target", dest="configuration", |
| 10 help="Specify the target configuration to use (Debug/Release)", default=
'Release') |
| 11 parser.add_argument('--debug', action='store_const', const='Debug', dest="co
nfiguration", |
| 12 help='Set the configuration to Debug') |
| 13 parser.add_argument('--release', action='store_const', const='Release', dest
="configuration", |
| 14 help='Set the configuration to Release') |
| 15 |
OLD | NEW |