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

Side by Side Diff: sandbox/tests/unit_tests/sbox_unittests.scons

Issue 53121: Remove the checked-in scons configuration files. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 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 # 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 unittests_tests.pch.ib_tag
23 # SCons doesn't know.
24 env_p = env.Clone()
25 pch, obj = env_p.PCH(['unit_tests.pch', 'unit_tests.obj'],
26 'unit_tests.cc')
27 env['PCH'] = pch
28 env['PCHSTOP'] = 'stdafx.h'
29 env.Append(CCPCHFLAGS = ['/FIstdafx.h'])
30
31 input_files = [
32 obj,
33
34 '$SANDBOX_DIR/src/interception_unittest.cc',
35 '$SANDBOX_DIR/src/ipc_unittest.cc',
36 '$SANDBOX_DIR/src/job_unittest.cc',
37 '$SANDBOX_DIR/src/pe_image_unittest.cc',
38 '$SANDBOX_DIR/src/policy_engine_unittest.cc',
39 '$SANDBOX_DIR/src/policy_low_level_unittest.cc',
40 '$SANDBOX_DIR/src/policy_opcodes_unittest.cc',
41 '$SANDBOX_DIR/src/restricted_token_unittest.cc',
42 '$SANDBOX_DIR/src/service_resolver_unittest.cc',
43 '$SANDBOX_DIR/src/sid_unittest.cc',
44 '$SANDBOX_DIR/src/threadpool_unittest.cc',
45
46 '../common/controller$OBJSUFFIX',
47 ]
48
49 env.ChromeTestProgram('sbox_unittests', input_files,
50 COMPONENT_PLATFORM_SETUP=None)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698