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

Side by Side Diff: SConstruct

Issue 6825060: Rename PNaCl (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 8 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
« no previous file with comments | « no previous file | buildbot/buildbot_toolchain_arm_untrusted.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # -*- python -*- 1 # -*- python -*-
2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2011 The Native Client 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 atexit 6 import atexit
7 import glob 7 import glob
8 import os 8 import os
9 import platform 9 import platform
10 import stat 10 import stat
(...skipping 2738 matching lines...) Expand 10 before | Expand all | Expand 10 after
2749 assert tag in env 2749 assert tag in env
2750 print "%s: %s" % (tag, env.subst(env.get(tag))) 2750 print "%s: %s" % (tag, env.subst(env.get(tag)))
2751 for tag in MAYBE_RELEVANT_CONFIG: 2751 for tag in MAYBE_RELEVANT_CONFIG:
2752 print "%s: %s" % (tag, env.subst(env.get(tag))) 2752 print "%s: %s" % (tag, env.subst(env.get(tag)))
2753 cc = env.subst('${CC}') 2753 cc = env.subst('${CC}')
2754 print 'CC:', cc 2754 print 'CC:', cc
2755 asppcom = env.subst('${ASPPCOM}') 2755 asppcom = env.subst('${ASPPCOM}')
2756 print 'ASPPCOM:', asppcom 2756 print 'ASPPCOM:', asppcom
2757 DumpCompilerVersion(cc, env) 2757 DumpCompilerVersion(cc, env)
2758 print 2758 print
2759 rev_file = 'toolchain/linux_arm-untrusted/REV' 2759 # TODO(pdox): This only works for linux/X86-64. Is there a better way
2760 # of locating the PNaCl toolchain here?
2761 rev_file = 'toolchain/pnacl_linux_x86_64/REV'
2760 if os.path.exists(rev_file): 2762 if os.path.exists(rev_file):
2761 for line in open(rev_file).read().split('\n'): 2763 for line in open(rev_file).read().split('\n'):
2762 if "Revision:" in line: 2764 if "Revision:" in line:
2763 print "PNACL : %s" % line 2765 print "PNACL : %s" % line
2764 2766
2765 2767
2766 # ---------------------------------------------------------- 2768 # ----------------------------------------------------------
2767 # Blank out defaults. 2769 # Blank out defaults.
2768 Default(None) 2770 Default(None)
2769 2771
(...skipping 20 matching lines...) Expand all
2790 Default(['all_programs', 'all_bundles', 'all_test_programs', 'all_libraries']) 2792 Default(['all_programs', 'all_bundles', 'all_test_programs', 'all_libraries'])
2791 2793
2792 if BROKEN_TEST_COUNT > 0: 2794 if BROKEN_TEST_COUNT > 0:
2793 msg = "There are %d broken tests." % BROKEN_TEST_COUNT 2795 msg = "There are %d broken tests." % BROKEN_TEST_COUNT
2794 if GetOption('brief_comstr'): 2796 if GetOption('brief_comstr'):
2795 msg += " Add --verbose to the command line for more information." 2797 msg += " Add --verbose to the command line for more information."
2796 print msg 2798 print msg
2797 2799
2798 # separate warnings from actual build output 2800 # separate warnings from actual build output
2799 Banner('B U I L D - O U T P U T:') 2801 Banner('B U I L D - O U T P U T:')
OLDNEW
« no previous file with comments | « no previous file | buildbot/buildbot_toolchain_arm_untrusted.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698