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

Side by Side Diff: SConstruct

Issue 3575015: entd: add libdl for dlopen and friends (Closed) Base URL: http://git.chromium.org/git/entd.git
Patch Set: Created 10 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # -*- python -*- 1 # -*- python -*-
2 2
3 # Copyright (c) 2009-2010 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2009-2010 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 import os 7 import os
8 import re 8 import re
9 9
10 def build(): 10 def build():
11 vars = get_variables() 11 vars = get_variables()
12 12
13 env = get_environment(vars) 13 env = get_environment(vars)
14 14
15 env.AppendUnique( 15 env.AppendUnique(
16 CCFLAGS=['-fPIC', '-fno-exceptions', '-Wall', '-Werror', '-ggdb'], 16 CCFLAGS=['-fPIC', '-fno-exceptions', '-Wall', '-Werror', '-ggdb'],
17 LINKFLAGS=['-fPIC'], 17 LINKFLAGS=['-fPIC'],
18 LIBS=['base', 18 LIBS=['base',
19 'rt', 19 'rt',
20 'dl',
20 'pthread', 21 'pthread',
21 'v8', 22 'v8',
22 'event', 23 'event',
23 'curl', 24 'curl',
24 'crypto', 25 'crypto',
25 'opencryptoki', 26 'opencryptoki',
26 'chromeos', 27 'chromeos',
27 'crosapi'], 28 'crosapi'],
28 ) 29 )
29 30
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 # copy all these vars to the build environment (UNIX process env, not just 106 # copy all these vars to the build environment (UNIX process env, not just
106 # scons "Environment"). 107 # scons "Environment").
107 for key in vars.keys(): 108 for key in vars.keys():
108 env['ENV'][key] = env[key] 109 env['ENV'][key] = env[key]
109 110
110 env.VariantDir("${BUILD_DIR}", ".", duplicate=0) 111 env.VariantDir("${BUILD_DIR}", ".", duplicate=0)
111 112
112 return env 113 return env
113 114
114 build() 115 build()
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698