OLD | NEW |
| (Empty) |
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 Import('env') | |
6 | |
7 env = env.Clone() | |
8 | |
9 env.ApplySConscript([ | |
10 '$BASE_DIR/using_base.scons', | |
11 '$GTEST_DIR/../using_gtest.scons', | |
12 '$SANDBOX_DIR/using_sandbox.scons', | |
13 ]) | |
14 | |
15 if env.Bit('windows'): | |
16 env.Append( | |
17 CCFLAGS = [ | |
18 '/WX', # treat warnings as errors | |
19 ], | |
20 ) | |
21 | |
22 # TODO(bradnelson): This step generates integration_tests.pch.ib_tag | |
23 # SCons doesn't know. | |
24 env_p = env.Clone() | |
25 pch, obj = env_p.PCH(['integration_tests.pch', 'integration_tests.obj'], | |
26 'integration_tests.cc') | |
27 env['PCH'] = pch | |
28 env['PCHSTOP'] = 'stdafx.h' | |
29 env.Append(CCPCHFLAGS = ['/FIstdafx.h']) | |
30 | |
31 | |
32 input_files = [ | |
33 obj, | |
34 'integration_tests_test.cc', | |
35 | |
36 # '$SANDBOX_DIR/src/dep_test.cc', | |
37 '$SANDBOX_DIR/src/file_policy_test.cc', | |
38 '$SANDBOX_DIR/src/integrity_level_test.cc', | |
39 '$SANDBOX_DIR/src/ipc_ping_test.cc', | |
40 '$SANDBOX_DIR/src/named_pipe_policy_test.cc', | |
41 '$SANDBOX_DIR/src/policy_target_test.cc', | |
42 '$SANDBOX_DIR/src/process_policy_test.cc', | |
43 '$SANDBOX_DIR/src/registry_policy_test.cc', | |
44 '$SANDBOX_DIR/src/sync_policy_test.cc', | |
45 '$SANDBOX_DIR/src/unload_dll_test.cc', | |
46 | |
47 '../common/controller$OBJSUFFIX', | |
48 ] | |
49 | |
50 env.ChromeTestProgram('sbox_integration_tests', input_files, | |
51 COMPONENT_PLATFORM_SETUP=None) | |
OLD | NEW |