OLD | NEW |
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 Loading... |
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 |
OLD | NEW |