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

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

Issue 1559463002: [NaCl SDK] Don't include gtest/gmock in library form (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
(...skipping 24 matching lines...) Expand all
35 'NAME': (str, '', True), 35 'NAME': (str, '', True),
36 # main = nexe target 36 # main = nexe target
37 # lib = library target 37 # lib = library target
38 # so = shared object target, automatically added to NMF 38 # so = shared object target, automatically added to NMF
39 # so-standalone = shared object target, not put into NMF 39 # so-standalone = shared object target, not put into NMF
40 'TYPE': (str, 40 'TYPE': (str,
41 ['main', 'lib', 'static-lib', 'so', 'so-standalone', 41 ['main', 'lib', 'static-lib', 'so', 'so-standalone',
42 'linker-script'], 42 'linker-script'],
43 True), 43 True),
44 'SOURCES': (list, '', True), 44 'SOURCES': (list, '', True),
45 'EXTRA_SOURCES': (list, '', False),
45 'CFLAGS': (list, '', False), 46 'CFLAGS': (list, '', False),
46 'CFLAGS_GCC': (list, '', False), 47 'CFLAGS_GCC': (list, '', False),
47 'CXXFLAGS': (list, '', False), 48 'CXXFLAGS': (list, '', False),
48 'DEFINES': (list, '', False), 49 'DEFINES': (list, '', False),
49 'LDFLAGS': (list, '', False), 50 'LDFLAGS': (list, '', False),
50 'INCLUDES': (list, '', False), 51 'INCLUDES': (list, '', False),
51 'LIBS' : (dict, VALID_TOOLCHAINS, False), 52 'LIBS' : (dict, VALID_TOOLCHAINS, False),
52 'DEPS' : (list, '', False) 53 'DEPS' : (list, '', False)
53 }, False), 54 }, False),
54 'HEADERS': (list, { 55 'HEADERS': (list, {
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 except ValidationError as e: 271 except ValidationError as e:
271 sys.stderr.write(str(e) + '\n') 272 sys.stderr.write(str(e) + '\n')
272 return 1 273 return 1
273 274
274 PrintProjectTree(tree) 275 PrintProjectTree(tree)
275 return 0 276 return 0
276 277
277 278
278 if __name__ == '__main__': 279 if __name__ == '__main__':
279 sys.exit(main(sys.argv[1:])) 280 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « native_client_sdk/src/build_tools/build_projects.py ('k') | native_client_sdk/src/build_tools/sdk_files.list » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698