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

Unified Diff: pydir/szbuild_spec2k.py

Issue 1452553002: Subzero: Add a "make check-presubmit" target. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Remove trailing comma Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Makefile.standalone ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pydir/szbuild_spec2k.py
diff --git a/pydir/szbuild_spec2k.py b/pydir/szbuild_spec2k.py
index 84106bb9d09404f48917349f83a67536076b9923..7acf789d0c5d1b1e0e1d3f2a41f7e9cc91490614 100755
--- a/pydir/szbuild_spec2k.py
+++ b/pydir/szbuild_spec2k.py
@@ -33,9 +33,18 @@ def main():
print 'Unknown component{s}: '.format(s='s' if len(bad) > 1 else '') + \
' '.join(x for x in bad)
sys.exit(1)
+
+ # Fix up Subzero target strings for the run_all.sh script.
+ target_map = {
+ 'arm32':'arm',
+ 'x8632':'x8632',
+ 'x8664':'x8664'
+ }
+ run_all_target = target_map[args.target] # fail if target not listed above
+
suffix = (
'pnacl.opt.{target}' if args.sandbox else 'gcc.opt.{target}').format(
- target=args.target);
+ target=run_all_target);
for comp in args.comps:
name = os.path.splitext(comp)[1] or comp
if name[0] == '.':
« no previous file with comments | « Makefile.standalone ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698