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

Side by Side Diff: pnacl/driver/driver_env.py

Issue 800553003: Update PNaCl to LLVM/Clang/Libcxx 223109 (nacl-change) (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: update clang revision Created 5 years, 9 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 | « pnacl/COMPONENT_REVISIONS ('k') | pnacl/driver/pnacl-ld.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/python 1 #!/usr/bin/python
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2012 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 # Global environment and expression parsing for the PNaCl driver 6 # Global environment and expression parsing for the PNaCl driver
7 7
8 8
9 # This dictionary initializes a shell-like environment. 9 # This dictionary initializes a shell-like environment.
10 # Shell escaping and ${} substitution are provided. 10 # Shell escaping and ${} substitution are provided.
(...skipping 10 matching lines...) Expand all
21 'DRIVER_REV_FILE' : '${BASE}/REV', 21 'DRIVER_REV_FILE' : '${BASE}/REV',
22 22
23 'BASE_NACL' : '${@FindBaseNaCl}', # Absolute path of native_client/ 23 'BASE_NACL' : '${@FindBaseNaCl}', # Absolute path of native_client/
24 'BASE_TOOLCHAIN' : '${@FindBaseToolchain}', # Absolute path to toolchain/OS_A RCH/ 24 'BASE_TOOLCHAIN' : '${@FindBaseToolchain}', # Absolute path to toolchain/OS_A RCH/
25 'BASE' : '${@FindBasePNaCl}', # Absolute path to PNaCl 25 'BASE' : '${@FindBasePNaCl}', # Absolute path to PNaCl
26 'BUILD_OS' : '${@GetBuildOS}', # "linux", "nacl", "darwin" 26 'BUILD_OS' : '${@GetBuildOS}', # "linux", "nacl", "darwin"
27 # or "windows" 27 # or "windows"
28 'BUILD_ARCH' : '${@GetBuildArch}', # "x86_64" or "i686" or "i386" 28 'BUILD_ARCH' : '${@GetBuildArch}', # "x86_64" or "i686" or "i386"
29 29
30 # Directories 30 # Directories
31 'CLANG_VER' : '3.5.0', # Included in path to compiler-owned libs/headers 31 'CLANG_VER' : '3.6.0', # Included in path to compiler-owned libs/headers
32 'BPREFIXES' : '', # Prefixes specified using the -B flag. 32 'BPREFIXES' : '', # Prefixes specified using the -B flag.
33 'BASE_LLVM' : '${@FindBaseHost:clang}', 33 'BASE_LLVM' : '${@FindBaseHost:clang}',
34 'BASE_BINUTILS' : '${@FindBaseHost:le32-nacl-ar}', 34 'BASE_BINUTILS' : '${@FindBaseHost:le32-nacl-ar}',
35 35
36 'BASE_LIB_NATIVE' : '${BASE}/translator/', 36 'BASE_LIB_NATIVE' : '${BASE}/translator/',
37 37
38 'BASE_USR' : '${BASE}/le32-nacl', 38 'BASE_USR' : '${BASE}/le32-nacl',
39 'BASE_SDK' : '${BASE}/sdk', 39 'BASE_SDK' : '${BASE}/sdk',
40 'BASE_LIB' : '${BASE}/lib/clang/${CLANG_VER}/lib/le32-nacl', 40 'BASE_LIB' : '${BASE}/lib/clang/${CLANG_VER}/lib/le32-nacl',
41 'BASE_USR_ARCH' : '${BASE_USR_%BCLIB_ARCH%}', 41 'BASE_USR_ARCH' : '${BASE_USR_%BCLIB_ARCH%}',
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 517
518 518
519 env = Environment() 519 env = Environment()
520 520
521 def override_env(meth_name, func): 521 def override_env(meth_name, func):
522 """Override a method in the global |env|, given the method name 522 """Override a method in the global |env|, given the method name
523 and the new function. 523 and the new function.
524 """ 524 """
525 global env 525 global env
526 setattr(env, meth_name, types.MethodType(func, env, Environment)) 526 setattr(env, meth_name, types.MethodType(func, env, Environment))
OLDNEW
« no previous file with comments | « pnacl/COMPONENT_REVISIONS ('k') | pnacl/driver/pnacl-ld.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698