Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Side by Side Diff: native_client_sdk/src/build_tools/parse_dsc.py

Issue 1269623004: [NaCl SDK] Remove support for bionic toolchain (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import argparse 6 import argparse
7 import collections 7 import collections
8 import fnmatch 8 import fnmatch
9 import os 9 import os
10 import sys 10 import sys
11 11
12 VALID_TOOLCHAINS = [ 12 VALID_TOOLCHAINS = [
13 'bionic',
14 'clang-newlib', 13 'clang-newlib',
15 'newlib', 14 'newlib',
16 'glibc', 15 'glibc',
17 'pnacl', 16 'pnacl',
18 'win', 17 'win',
19 'linux', 18 'linux',
20 'mac', 19 'mac',
21 ] 20 ]
22 21
23 # 'KEY' : ( <TYPE>, [Accepted Values], <Required?>) 22 # 'KEY' : ( <TYPE>, [Accepted Values], <Required?>)
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 except ValidationError as e: 268 except ValidationError as e:
270 sys.stderr.write(str(e) + '\n') 269 sys.stderr.write(str(e) + '\n')
271 return 1 270 return 1
272 271
273 PrintProjectTree(tree) 272 PrintProjectTree(tree)
274 return 0 273 return 0
275 274
276 275
277 if __name__ == '__main__': 276 if __name__ == '__main__':
278 sys.exit(main(sys.argv[1:])) 277 sys.exit(main(sys.argv[1:]))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698