summaryrefslogtreecommitdiffstats
path: root/build/using_v8.scons
blob: 889bce1d7e51db53957248942eedcaaa24092116 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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,
    ],
)