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

Side by Side Diff: native_client_sdk/src/tools/compiler-wrapper.py

Issue 56413002: Fix spelling of "NaCl" in various places: "NaCL" is the wrong capitalisation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Undo translation change Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 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 """NaCL gcc wrapper that presents glibc and newlib as a single 5 """NaCl gcc wrapper that presents glibc and newlib as a single
6 toolchain. 6 toolchain.
7 7
8 This wraps the newlib and glibc compilers and allows users 8 This wraps the newlib and glibc compilers and allows users
9 to choose which one they really want by passed in --glibc 9 to choose which one they really want by passed in --glibc
10 or --newlib on the command line. 10 or --newlib on the command line.
11 11
12 We need this when using gyp to generator build files since 12 We need this when using gyp to generator build files since
13 gyp only support one target toolchain and one host toolchain 13 gyp only support one target toolchain and one host toolchain
14 (for now). 14 (for now).
15 """ 15 """
(...skipping 10 matching lines...) Expand all
26 args.remove('--newlib') 26 args.remove('--newlib')
27 else: 27 else:
28 sys.exit("Expected --glibc or --newlib in arg list") 28 sys.exit("Expected --glibc or --newlib in arg list")
29 compiler = os.path.abspath(sys.argv[0]) 29 compiler = os.path.abspath(sys.argv[0])
30 compiler = compiler.replace("linux_x86", "linux_x86_%s" % variant) 30 compiler = compiler.replace("linux_x86", "linux_x86_%s" % variant)
31 args = [compiler] + args 31 args = [compiler] + args
32 os.execv(compiler, args) 32 os.execv(compiler, args)
33 33
34 if __name__ == '__main__': 34 if __name__ == '__main__':
35 main() 35 main()
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/nacl_io.h ('k') | native_client_sdk/src/tools/create_nmf.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698