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

Side by Side Diff: src/trusted/platform/build.scons

Issue 10832400: Process abstraction layer for NaCl Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Provide consistent interface across all platforms. Created 8 years, 4 months 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
OLDNEW
(Empty)
1 # -*- python -*-
2 #
3 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 Import('env')
8
9 platform_inputs = [];
10
11 if env.Bit('windows'):
12 platform_inputs += [
13 'win/nacl_process.c',
14 ]
15 elif env.Bit('linux'):
Mark Seaborn 2012/08/24 00:22:42 You could just use "else" instead of two "elif"s h
16 platform_inputs += [
17 'posix/nacl_process.c',
18 ]
19 elif env.Bit('mac'):
20 platform_inputs += [
21 'posix/nacl_process.c',
22 ]
23
24 env.DualLibrary('nacl_platform', platform_inputs)
25
26 nacl_process_test_exe = env.ComponentProgram('nacl_process_test',
27 ['nacl_process_test.c'],
28 EXTRA_LIBS=['nacl_platform',
29 'platform'])
30 node = env.CommandTest('nacl_process_test.out',
31 command=[nacl_process_test_exe])
32
33 env.AddNodeToTestSuite(node, ['small_tests'], 'run_nacl_process_test')
34
35 env.EnsureRequiredBuildWarnings()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698