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

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

Issue 14500010: [NaCl SDK] Google Drive example (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import collections 5 import collections
6 import fnmatch 6 import fnmatch
7 import optparse 7 import optparse
8 import os 8 import os
9 import sys 9 import sys
10 10
(...skipping 26 matching lines...) Expand all
37 }, False), 37 }, False),
38 'SEARCH': (list, '', False), 38 'SEARCH': (list, '', False),
39 'POST': (str, '', False), 39 'POST': (str, '', False),
40 'PRE': (str, '', False), 40 'PRE': (str, '', False),
41 'DEST': (str, ['examples/getting_started', 'examples/api', 41 'DEST': (str, ['examples/getting_started', 'examples/api',
42 'examples/demo', 'examples/tutorial', 42 'examples/demo', 'examples/tutorial',
43 'src', 'testlibs', 'tests'], True), 43 'src', 'testlibs', 'tests'], True),
44 'NAME': (str, '', False), 44 'NAME': (str, '', False),
45 'DATA': (list, '', False), 45 'DATA': (list, '', False),
46 'TITLE': (str, '', False), 46 'TITLE': (str, '', False),
47 'GROUP': (str, '', False), 47 'GROUP': (str, ['Getting Started', 'API', 'Demo', 'Tutorial'], False),
48 'EXPERIMENTAL': (bool, [True, False], False) 48 'EXPERIMENTAL': (bool, [True, False], False)
49 } 49 }
50 50
51 def IgnoreMsgFunc(test): 51 def IgnoreMsgFunc(test):
52 pass 52 pass
53 53
54 54
55 def ErrorMsgFunc(text): 55 def ErrorMsgFunc(text):
56 sys.stderr.write(text + '\n') 56 sys.stderr.write(text + '\n')
57 57
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 filters['EXPERIMENTAL'] = False 228 filters['EXPERIMENTAL'] = False
229 229
230 tree = LoadProjectTree('.', filters=filters) 230 tree = LoadProjectTree('.', filters=filters)
231 PrintProjectTree(tree) 231 PrintProjectTree(tree)
232 232
233 return 0 233 return 0
234 234
235 235
236 if __name__ == '__main__': 236 if __name__ == '__main__':
237 sys.exit(main(sys.argv)) 237 sys.exit(main(sys.argv))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698