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

Side by Side Diff: toolchain_build/pnacl_targetlibs.py

Issue 686723003: Non-SFI mode: Implement nacl_irt_random only for nacl_helper_nonsfi. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Rebase Created 6 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
« src/nonsfi/irt/irt_random.h ('K') | « src/untrusted/nacl/nacl.scons ('k') | no next file » | 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) 2013 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2013 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 """Recipes for PNaCl target libs.""" 6 """Recipes for PNaCl target libs."""
7 7
8 import fnmatch 8 import fnmatch
9 import os 9 import os
10 import sys 10 import sys
(...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 # TODO(dschuff): this include path breaks the input encapsulation 687 # TODO(dschuff): this include path breaks the input encapsulation
688 # for build rules. 688 # for build rules.
689 command.Command([ 689 command.Command([
690 'gcc', '-m32', '-O2', '-Wall', '-Werror', 690 'gcc', '-m32', '-O2', '-Wall', '-Werror',
691 '-I%(top_srcdir)s/..', '-DNACL_LINUX=1', '-DDEFINE_MAIN', 691 '-I%(top_srcdir)s/..', '-DNACL_LINUX=1', '-DDEFINE_MAIN',
692 '-c', command.path.join('%(support)s', 'irt_interfaces.c'), 692 '-c', command.path.join('%(support)s', 'irt_interfaces.c'),
693 '-o', command.path.join('%(output)s', 'unsandboxed_irt.o')]), 693 '-o', command.path.join('%(output)s', 'unsandboxed_irt.o')]),
694 command.Command([ 694 command.Command([
695 'gcc', '-m32', '-O2', '-Wall', '-Werror', 695 'gcc', '-m32', '-O2', '-Wall', '-Werror',
696 '-I%(top_srcdir)s/..', 696 '-I%(top_srcdir)s/..',
697 '-c', command.path.join('%(support)s', 'irt_random.c'),
698 '-o', command.path.join('%(output)s', 'irt_random.o')]),
699 command.Command([
700 'gcc', '-m32', '-O2', '-Wall', '-Werror',
701 '-I%(top_srcdir)s/..',
697 '-c', command.path.join('%(untrusted)s', 'irt_query_list.c'), 702 '-c', command.path.join('%(untrusted)s', 'irt_query_list.c'),
698 '-o', command.path.join('%(output)s', 'irt_query_list.o')]), 703 '-o', command.path.join('%(output)s', 'irt_query_list.o')]),
699 ], 704 ],
700 }, 705 },
701 } 706 }
702 return libs 707 return libs
OLDNEW
« src/nonsfi/irt/irt_random.h ('K') | « src/untrusted/nacl/nacl.scons ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698