Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / native_client / tests / imc_shm_mmap / nacl.scons
1 # -*- python -*-
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 Import('env')
7
8
9 imc_shm_mmap_test = env.ComponentProgram(
10     env.ProgramNameForNmf('imc_shm_mmap_test'),
11     'imc_shm_mmap_test.c',
12     EXTRA_LIBS=['${NONIRT_LIBS}', 'imc_syscalls', '${TESTRUNNER_LIBS}'])
13
14 node = env.CommandSelLdrTestNacl(
15     'imc_shm_mmap_test.out',
16     imc_shm_mmap_test,
17     # Pass '-a' to enable imc_mem_obj_create().
18     sel_ldr_flags=['-a', '-E', 'OUTSIDE_BROWSER=1'])
19 env.AddNodeToTestSuite(node, ['small_tests'], 'run_imc_shm_mmap_test')