OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # Copyright (c) 2014 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2014 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('env') | 6 Import('env') |
7 | 7 |
8 if not env.Bit('bitcode'): | 8 if not env.Bit('bitcode'): |
9 Return() | 9 Return() |
10 # TODO(mseaborn): Add support for x86-64 relocation types. | 10 # TODO(mseaborn): Add support for x86-64 relocation types. |
11 if env.Bit('target_x86_64'): | 11 if env.Bit('build_x86_64'): |
12 Return() | 12 Return() |
13 | 13 |
14 env.AddBiasForPNaCl() | 14 env.AddBiasForPNaCl() |
15 env.ComponentLibrary('pnacl_dynloader', ['dynloader.c']) | 15 env.ComponentLibrary('pnacl_dynloader', ['dynloader.c']) |
OLD | NEW |