diff options
author | evanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-13 23:44:51 +0000 |
---|---|---|
committer | evanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-13 23:44:51 +0000 |
commit | 981bcd3333f0890b3e2c8f48424297b63c61a5d5 (patch) | |
tree | de987627b4e8fa5e7d967bc6aa2b5b5a5bd84f08 /build/using_v8.scons | |
parent | 814a9aba9358a6302eee45ac05d60b1f881cc51b (diff) | |
download | chromium_src-981bcd3333f0890b3e2c8f48424297b63c61a5d5.zip chromium_src-981bcd3333f0890b3e2c8f48424297b63c61a5d5.tar.gz chromium_src-981bcd3333f0890b3e2c8f48424297b63c61a5d5.tar.bz2 |
Allow optimized builds on Linux.
Review URL: http://codereview.chromium.org/10857
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5406 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/using_v8.scons')
-rw-r--r-- | build/using_v8.scons | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/build/using_v8.scons b/build/using_v8.scons new file mode 100644 index 0000000..889bce1 --- /dev/null +++ b/build/using_v8.scons @@ -0,0 +1,20 @@ +# Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +__doc__ = """ +Settings for other components using the v8 library. +""" + +Import("env") + +# v8 builds the lib as v8_g in debug mode. +v8_lib = 'v8' +if env['TARGET_DEBUG']: + v8_lib = 'v8_g' + +env.Append( + LIBS = [ + v8_lib, + ], +) |