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

Side by Side Diff: tests/pnacl_client_translator/nacl.scons

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
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 platform 6 import platform
7 import re # For StripArchFromLDCommand hack. 7 import re # For StripArchFromLDCommand hack.
8 import os.path # For getting basenames. 8 import os.path # For getting basenames.
9 9
10 Import('env') 10 Import('env')
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 ./pnacl_support/${arch}/${file} 43 ./pnacl_support/${arch}/${file}
44 44
45 Non-arch specific files: 45 Non-arch specific files:
46 ./pnacl_support/pnacl_coordinator.js 46 ./pnacl_support/pnacl_coordinator.js
47 etc... 47 etc...
48 48
49 Location of test-page, bitcode, etc.: 49 Location of test-page, bitcode, etc.:
50 ./mypage.html 50 ./mypage.html
51 ./mybitcode.pexe 51 ./mybitcode.pexe
52 ''' 52 '''
53 # TODO(jvoung): rename the "arm-untrusted" part to "pnacl-untrusted"
54 # since that is what it really should be.
55 # TODO(jvoung): simplify how utman installs these files in the first 53 # TODO(jvoung): simplify how utman installs these files in the first
56 # place so that mapping is pretty much one-to-one (someone could just 54 # place so that mapping is pretty much one-to-one (someone could just
57 # copy the files from the toolchain-dir to their webserver). 55 # copy the files from the toolchain-dir to their webserver).
58 map_files = [] 56 map_files = []
59 replicates = [] # track staging dependencies 57 replicates = [] # track staging dependencies
60 toolchain_dir = '${SCONSTRUCT_DIR}/toolchain/linux_arm-untrusted' 58 toolchain_dir = '${PNACL_ROOT}'
61 # TODO(jvoung): add ARM when we have a sandboxed LD in tools-sb. 59 # TODO(jvoung): add ARM when we have a sandboxed LD in tools-sb.
62 for arch in ['x8632', 'x8664']: 60 for arch in ['x8632', 'x8664']:
63 toolchain_bin = '%s/tools-sb/%s/srpc/bin/' % (toolchain_dir, 61 toolchain_bin = '%s/tools-sb/%s/srpc/bin/' % (toolchain_dir,
64 arch) 62 arch)
65 toolchain_binaries = [toolchain_bin + 'llc', 63 toolchain_binaries = [toolchain_bin + 'llc',
66 toolchain_bin + 'ld'] 64 toolchain_bin + 'ld']
67 # We should really be consistent and use directory structure 65 # We should really be consistent and use directory structure
68 # to separate the arch-specific ld_script instead of embedding 66 # to separate the arch-specific ld_script instead of embedding
69 # the arch in the basename. 67 # the arch in the basename.
70 toolchain_ldscript = '%s/ldscripts/ld_script_%s_untrusted' % (toolchain_dir, 68 toolchain_ldscript = '%s/ldscripts/ld_script_%s_untrusted' % (toolchain_dir,
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 bitcode_env.AddNodeToTestSuite(node, 159 bitcode_env.AddNodeToTestSuite(node,
162 ['chrome_browser_tests'], 160 ['chrome_browser_tests'],
163 'run_pnacl_srpc_hw_browser_test', 161 'run_pnacl_srpc_hw_browser_test',
164 is_broken=no_ports_broken or \ 162 is_broken=no_ports_broken or \
165 # http://code.google.com/p/nativeclient/issues/detail?id=1521 \ 163 # http://code.google.com/p/nativeclient/issues/detail?id=1521 \
166 env.Bit('target_x86_64') or \ 164 env.Bit('target_x86_64') or \
167 bitcode_env.PPAPIBrowserTesterIsBroken()) 165 bitcode_env.PPAPIBrowserTesterIsBroken())
168 166
169 167
170 # TODO(jvoung) Add a PPAPI example like pi_generator. 168 # TODO(jvoung) Add a PPAPI example like pi_generator.
OLDNEW
« no previous file with comments | « src/trusted/validator_arm/testdata/compile_tests.sh ('k') | tests/pnacl_ld_example/Makefile.pnacl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698