OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # Copyright 2016 The Native Client Authors. All rights reserved. | 2 # Copyright 2016 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 | 10 |
11 env.ComponentLibrary('pll_loader', ['pll_loader.cc']) | 11 env.ComponentLibrary('pll_loader_lib', ['pll_loader.cc']) |
| 12 |
| 13 # Ideally we would want to build an executable here (using |
| 14 # ComponentProgram()), but Scons makes it difficult for a nacl.scons file |
| 15 # in tests/ to refer to an executable built in src/untrusted/, because the |
| 16 # two can use different subdirectories of scons-out/. |
| 17 env.ComponentLibrary('pll_loader_main', ['pll_loader_main.cc']) |
OLD | NEW |