OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2011 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 env.ComponentProgram('native_worker.nexe', 'native_worker.c', | 8 env.ComponentProgram('native_worker', 'native_worker.c', |
9 EXTRA_LIBS=['srpc', | 9 EXTRA_LIBS=['srpc', |
10 'platform', | 10 'platform', |
11 'gio', | 11 'gio', |
12 'imc', | 12 'imc', |
13 'imc_syscalls', | 13 'imc_syscalls', |
14 'pthread']) | 14 'pthread']) |
15 | 15 |
16 # Note that the html is required to run this program. | 16 # Note that the html is required to run this program. |
17 env.Publish('native_worker.nexe', 'run', | 17 env.Publish('native_worker', 'run', |
18 ['native_worker.html']) | 18 ['native_worker.html']) |
19 | 19 |
20 env.ComponentProgram('mandel_worker.nexe', 'mandel_worker.c', | 20 env.ComponentProgram('mandel_worker', 'mandel_worker.c', |
21 EXTRA_LIBS=['srpc', | 21 EXTRA_LIBS=['srpc', |
22 'platform', | 22 'platform', |
23 'gio', | 23 'gio', |
24 'imc', | 24 'imc', |
25 'imc_syscalls', | 25 'imc_syscalls', |
26 'pthread']) | 26 'pthread']) |
27 | 27 |
28 env.Publish('mandel_worker.nexe', 'run', ['mandel_worker.html', | 28 env.Publish('mandel_worker', 'run', ['mandel_worker.html', |
29 'mandel_worker.js']) | 29 'mandel_worker.js']) |
OLD | NEW |