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

Side by Side Diff: native_client_sdk/src/build_tools/build_projects.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
« no previous file with comments | « no previous file | native_client_sdk/src/build_tools/parse_dsc.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 multiprocessing 7 import multiprocessing
8 import os 8 import os
9 import posixpath 9 import posixpath
10 import sys 10 import sys
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 if clobber: 141 if clobber:
142 buildbot_common.RemoveDir(dirpath) 142 buildbot_common.RemoveDir(dirpath)
143 buildbot_common.MakeDir(dirpath) 143 buildbot_common.MakeDir(dirpath)
144 144
145 landing_page = None 145 landing_page = None
146 for branch, projects in project_tree.iteritems(): 146 for branch, projects in project_tree.iteritems():
147 dirpath = os.path.join(pepperdir, branch) 147 dirpath = os.path.join(pepperdir, branch)
148 if clobber: 148 if clobber:
149 buildbot_common.RemoveDir(dirpath) 149 buildbot_common.RemoveDir(dirpath)
150 buildbot_common.MakeDir(dirpath) 150 buildbot_common.MakeDir(dirpath)
151 targets = [desc['NAME'] for desc in projects] 151 targets = [desc['NAME'] for desc in projects if 'TARGETS' in desc]
152 deps = GetDeps(projects) 152 deps = GetDeps(projects)
153 153
154 # Generate master make for this branch of projects 154 # Generate master make for this branch of projects
155 generate_make.GenerateMasterMakefile(pepperdir, 155 generate_make.GenerateMasterMakefile(pepperdir,
156 os.path.join(pepperdir, branch), 156 os.path.join(pepperdir, branch),
157 targets, deps) 157 targets, deps)
158 158
159 if branch.startswith('examples') and not landing_page: 159 if branch.startswith('examples') and not landing_page:
160 landing_page = LandingPage() 160 landing_page = LandingPage()
161 161
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 339
340 340
341 if __name__ == '__main__': 341 if __name__ == '__main__':
342 script_name = os.path.basename(sys.argv[0]) 342 script_name = os.path.basename(sys.argv[0])
343 try: 343 try:
344 sys.exit(main(sys.argv[1:])) 344 sys.exit(main(sys.argv[1:]))
345 except parse_dsc.ValidationError as e: 345 except parse_dsc.ValidationError as e:
346 buildbot_common.ErrorExit('%s: %s' % (script_name, e)) 346 buildbot_common.ErrorExit('%s: %s' % (script_name, e))
347 except KeyboardInterrupt: 347 except KeyboardInterrupt:
348 buildbot_common.ErrorExit('%s: interrupted' % script_name) 348 buildbot_common.ErrorExit('%s: interrupted' % script_name)
OLDNEW
« no previous file with comments | « no previous file | native_client_sdk/src/build_tools/parse_dsc.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698