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

Side by Side Diff: src/platform/minijail/SConstruct

Issue 466049: Baseline minijail with a commandline switch driven main. (Closed)
Patch Set: fix overly long lines Created 11 years 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
« no previous file with comments | « no previous file | src/platform/minijail/env.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # -*- python -*-
2
3 # Copyright (c) 2009 The Chromium OS 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 os
8
9 env = Environment()
10
11 lib_sources = env.Split("""env.cc
12 interface.cc
13 minijail.cc
14 options.cc""")
15 bin_sources = env.Split("""minijail_main.cc""")
16 test_sources = env.Split("""minijail_unittest.cc
17 minijail_testrunner.cc""")
18
19 #test_sources = env.Split("""../base/strutil.cc""")
20
21 env.Append(
22 CPPPATH=['..', '../../third_party/chrome/files', '../../common'],
23 CCFLAGS=['-g', '-fno-exceptions', '-Wall', '-Werror'],
24 LIBPATH=['../../third_party/chrome'],
25 LIBS=['cap', 'base', 'pthread', 'rt'],
26 )
27
28 env_lib = env.Clone()
29 env_lib.SharedLibrary('minijail', lib_sources)
30
31 env_bin = env.Clone()
32 env_bin.Program('minijail', lib_sources + bin_sources)
33
34 env_test = env.Clone()
35 env_test.Append(LIBS=['gtest', 'pcrecpp'])
36 env_test.Program('minijail_unittests', lib_sources + test_sources)
OLDNEW
« no previous file with comments | « no previous file | src/platform/minijail/env.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698