2012-01-05 12:17:08 +00:00
|
|
|
# Copyright 2012 the V8 project authors. All rights reserved.
|
2009-04-27 09:04:39 +00:00
|
|
|
# Redistribution and use in source and binary forms, with or without
|
|
|
|
# modification, are permitted provided that the following conditions are
|
|
|
|
# met:
|
2009-05-28 07:08:09 +00:00
|
|
|
#
|
2009-04-27 09:04:39 +00:00
|
|
|
# * Redistributions of source code must retain the above copyright
|
|
|
|
# notice, this list of conditions and the following disclaimer.
|
|
|
|
# * Redistributions in binary form must reproduce the above
|
|
|
|
# copyright notice, this list of conditions and the following
|
|
|
|
# disclaimer in the documentation and/or other materials provided
|
|
|
|
# with the distribution.
|
|
|
|
# * Neither the name of Google Inc. nor the names of its
|
|
|
|
# contributors may be used to endorse or promote products derived
|
|
|
|
# from this software without specific prior written permission.
|
2009-05-28 07:08:09 +00:00
|
|
|
#
|
2009-04-27 09:04:39 +00:00
|
|
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
|
|
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
|
|
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
|
|
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
|
|
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
|
|
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
|
|
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
|
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
|
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
|
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
|
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
|
|
|
{
|
2011-08-25 14:50:09 +00:00
|
|
|
'includes': ['../../build/common.gypi'],
|
2011-01-04 12:14:10 +00:00
|
|
|
'conditions': [
|
|
|
|
['use_system_v8==0', {
|
|
|
|
'targets': [
|
2009-04-27 09:04:39 +00:00
|
|
|
{
|
2011-01-04 12:14:10 +00:00
|
|
|
'target_name': 'v8',
|
2012-02-01 15:31:57 +00:00
|
|
|
'dependencies_traverse': 1,
|
2011-01-04 12:14:10 +00:00
|
|
|
'conditions': [
|
2011-08-05 09:44:30 +00:00
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'toolsets': ['host', 'target'],
|
|
|
|
}, {
|
|
|
|
'toolsets': ['target'],
|
|
|
|
}],
|
2011-01-04 12:14:10 +00:00
|
|
|
['v8_use_snapshot=="true"', {
|
2012-03-12 10:35:50 +00:00
|
|
|
# The dependency on v8_base should come from a transitive
|
|
|
|
# dependency however the Android toolchain requires libv8_base.a
|
|
|
|
# to appear before libv8_snapshot.a so it's listed explicitly.
|
|
|
|
'dependencies': ['v8_base', 'v8_snapshot'],
|
2011-01-04 12:14:10 +00:00
|
|
|
},
|
|
|
|
{
|
2012-03-12 10:35:50 +00:00
|
|
|
# The dependency on v8_base should come from a transitive
|
|
|
|
# dependency however the Android toolchain requires libv8_base.a
|
|
|
|
# to appear before libv8_snapshot.a so it's listed explicitly.
|
|
|
|
'dependencies': ['v8_base', 'v8_nosnapshot'],
|
2011-01-04 12:14:10 +00:00
|
|
|
}],
|
2011-05-02 15:06:49 +00:00
|
|
|
['component=="shared_library"', {
|
2011-01-04 12:14:10 +00:00
|
|
|
'type': '<(component)',
|
|
|
|
'sources': [
|
2011-05-02 15:06:49 +00:00
|
|
|
# Note: on non-Windows we still build this file so that gyp
|
|
|
|
# has some sources to link into the component.
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/v8dll-main.cc',
|
|
|
|
],
|
2012-05-16 15:48:06 +00:00
|
|
|
'defines': [
|
|
|
|
'V8_SHARED',
|
|
|
|
'BUILDING_V8_SHARED',
|
|
|
|
],
|
|
|
|
'direct_dependent_settings': {
|
|
|
|
'defines': [
|
|
|
|
'V8_SHARED',
|
|
|
|
'USING_V8_SHARED',
|
|
|
|
],
|
|
|
|
},
|
2011-05-02 15:06:49 +00:00
|
|
|
'conditions': [
|
2012-03-30 15:01:11 +00:00
|
|
|
['OS=="mac"', {
|
|
|
|
'xcode_settings': {
|
|
|
|
'OTHER_LDFLAGS': ['-dynamiclib', '-all_load']
|
|
|
|
},
|
|
|
|
}],
|
2011-09-08 13:20:49 +00:00
|
|
|
['soname_version!=""', {
|
2011-11-04 14:47:13 +00:00
|
|
|
'product_extension': 'so.<(soname_version)',
|
2011-09-08 13:20:49 +00:00
|
|
|
}],
|
2011-01-04 12:14:10 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'type': 'none',
|
|
|
|
}],
|
2010-07-02 07:39:42 +00:00
|
|
|
],
|
2011-07-18 16:39:41 +00:00
|
|
|
'direct_dependent_settings': {
|
|
|
|
'include_dirs': [
|
2011-08-05 09:44:30 +00:00
|
|
|
'../../include',
|
2011-07-18 16:39:41 +00:00
|
|
|
],
|
|
|
|
},
|
2010-07-02 07:39:42 +00:00
|
|
|
},
|
2009-04-27 09:04:39 +00:00
|
|
|
{
|
2011-01-04 12:14:10 +00:00
|
|
|
'target_name': 'v8_snapshot',
|
|
|
|
'type': '<(library)',
|
|
|
|
'conditions': [
|
2011-08-05 09:44:30 +00:00
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'toolsets': ['host', 'target'],
|
|
|
|
'dependencies': ['mksnapshot#host', 'js2c#host'],
|
|
|
|
}, {
|
|
|
|
'toolsets': ['target'],
|
|
|
|
'dependencies': ['mksnapshot', 'js2c'],
|
|
|
|
}],
|
2011-05-02 15:06:49 +00:00
|
|
|
['component=="shared_library"', {
|
2012-05-16 15:48:06 +00:00
|
|
|
'defines': [
|
|
|
|
'V8_SHARED',
|
|
|
|
'BUILDING_V8_SHARED',
|
2011-01-04 12:14:10 +00:00
|
|
|
],
|
2012-05-16 15:48:06 +00:00
|
|
|
'direct_dependent_settings': {
|
|
|
|
'defines': [
|
|
|
|
'V8_SHARED',
|
|
|
|
'USING_V8_SHARED',
|
|
|
|
],
|
|
|
|
},
|
2011-01-04 12:14:10 +00:00
|
|
|
}],
|
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'v8_base',
|
|
|
|
],
|
|
|
|
'include_dirs+': [
|
|
|
|
'../../src',
|
2009-04-27 09:04:39 +00:00
|
|
|
],
|
2011-01-04 12:14:10 +00:00
|
|
|
'sources': [
|
2011-04-15 12:31:03 +00:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
|
2009-04-27 09:04:39 +00:00
|
|
|
'<(INTERMEDIATE_DIR)/snapshot.cc',
|
|
|
|
],
|
2011-01-04 12:14:10 +00:00
|
|
|
'actions': [
|
|
|
|
{
|
|
|
|
'action_name': 'run_mksnapshot',
|
|
|
|
'inputs': [
|
|
|
|
'<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)',
|
|
|
|
],
|
|
|
|
'outputs': [
|
|
|
|
'<(INTERMEDIATE_DIR)/snapshot.cc',
|
|
|
|
],
|
2011-05-24 14:49:02 +00:00
|
|
|
'variables': {
|
2011-08-17 15:56:54 +00:00
|
|
|
'mksnapshot_flags': [
|
|
|
|
'--log-snapshot-positions',
|
|
|
|
'--logfile', '<(INTERMEDIATE_DIR)/snapshot.log',
|
|
|
|
],
|
2011-05-24 14:49:02 +00:00
|
|
|
},
|
|
|
|
'conditions': [
|
|
|
|
['v8_target_arch=="arm"', {
|
|
|
|
# The following rules should be consistent with chromium's
|
|
|
|
# common.gypi and V8's runtime rule to ensure they all generate
|
|
|
|
# the same correct machine code. The following issue is about
|
|
|
|
# V8's runtime rule about vfpv3 and neon:
|
|
|
|
# http://code.google.com/p/v8/issues/detail?id=914
|
|
|
|
'conditions': [
|
|
|
|
['armv7==1', {
|
|
|
|
# The ARM Architecture Manual mandates VFPv3 if NEON is
|
|
|
|
# available.
|
|
|
|
# The current V8 doesn't use d16-d31, so for vfpv3-d16, we can
|
|
|
|
# also enable vfp3 for the better performance.
|
|
|
|
'conditions': [
|
|
|
|
['arm_neon!=1 and arm_fpu!="vfpv3" and arm_fpu!="vfpv3-d16"', {
|
|
|
|
'variables': {
|
|
|
|
'mksnapshot_flags': [
|
|
|
|
'--noenable_vfp3',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
},{ # else: armv7!=1
|
|
|
|
'variables': {
|
|
|
|
'mksnapshot_flags': [
|
|
|
|
'--noenable_armv7',
|
|
|
|
'--noenable_vfp3',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
'action': [
|
|
|
|
'<@(_inputs)',
|
|
|
|
'<@(mksnapshot_flags)',
|
|
|
|
'<@(_outputs)'
|
|
|
|
],
|
2011-01-04 12:14:10 +00:00
|
|
|
},
|
|
|
|
],
|
2009-04-27 09:04:39 +00:00
|
|
|
},
|
2011-01-04 12:14:10 +00:00
|
|
|
{
|
|
|
|
'target_name': 'v8_nosnapshot',
|
|
|
|
'type': '<(library)',
|
|
|
|
'dependencies': [
|
|
|
|
'v8_base',
|
2010-07-02 07:39:42 +00:00
|
|
|
],
|
2009-07-08 14:56:56 +00:00
|
|
|
'include_dirs+': [
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src',
|
2009-07-08 14:56:56 +00:00
|
|
|
],
|
|
|
|
'sources': [
|
2011-01-04 12:14:10 +00:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
|
2011-04-15 12:31:03 +00:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/snapshot-empty.cc',
|
2009-07-08 14:56:56 +00:00
|
|
|
],
|
2009-11-06 07:50:31 +00:00
|
|
|
'conditions': [
|
2011-08-05 09:44:30 +00:00
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'toolsets': ['host', 'target'],
|
|
|
|
'dependencies': ['js2c#host'],
|
|
|
|
}, {
|
|
|
|
'toolsets': ['target'],
|
|
|
|
'dependencies': ['js2c'],
|
2011-01-04 12:14:10 +00:00
|
|
|
}],
|
2011-05-02 15:06:49 +00:00
|
|
|
['component=="shared_library"', {
|
2011-01-04 12:14:10 +00:00
|
|
|
'defines': [
|
|
|
|
'BUILDING_V8_SHARED',
|
2011-05-02 15:06:49 +00:00
|
|
|
'V8_SHARED',
|
2011-01-04 12:14:10 +00:00
|
|
|
],
|
|
|
|
}],
|
2009-11-06 07:50:31 +00:00
|
|
|
]
|
2011-01-04 12:14:10 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'target_name': 'v8_base',
|
|
|
|
'type': '<(library)',
|
2011-12-22 06:33:32 +00:00
|
|
|
'variables': {
|
|
|
|
'optimize': 'max',
|
|
|
|
},
|
2009-07-28 20:32:57 +00:00
|
|
|
'include_dirs+': [
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src',
|
2009-07-28 20:32:57 +00:00
|
|
|
],
|
|
|
|
'sources': [
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/accessors.cc',
|
|
|
|
'../../src/accessors.h',
|
|
|
|
'../../src/allocation.cc',
|
|
|
|
'../../src/allocation.h',
|
|
|
|
'../../src/api.cc',
|
|
|
|
'../../src/api.h',
|
|
|
|
'../../src/apiutils.h',
|
|
|
|
'../../src/arguments.h',
|
|
|
|
'../../src/assembler.cc',
|
|
|
|
'../../src/assembler.h',
|
|
|
|
'../../src/ast.cc',
|
|
|
|
'../../src/ast.h',
|
2012-03-12 13:56:56 +00:00
|
|
|
'../../src/atomicops.h',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/atomicops_internals_x86_gcc.cc',
|
|
|
|
'../../src/bignum-dtoa.cc',
|
|
|
|
'../../src/bignum-dtoa.h',
|
2012-07-05 13:54:20 +00:00
|
|
|
'../../src/bignum.cc',
|
|
|
|
'../../src/bignum.h',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/bootstrapper.cc',
|
|
|
|
'../../src/bootstrapper.h',
|
|
|
|
'../../src/builtins.cc',
|
|
|
|
'../../src/builtins.h',
|
|
|
|
'../../src/bytecodes-irregexp.h',
|
|
|
|
'../../src/cached-powers.cc',
|
|
|
|
'../../src/cached-powers.h',
|
|
|
|
'../../src/char-predicates-inl.h',
|
|
|
|
'../../src/char-predicates.h',
|
|
|
|
'../../src/checks.cc',
|
|
|
|
'../../src/checks.h',
|
|
|
|
'../../src/circular-queue-inl.h',
|
|
|
|
'../../src/circular-queue.cc',
|
|
|
|
'../../src/circular-queue.h',
|
|
|
|
'../../src/code-stubs.cc',
|
|
|
|
'../../src/code-stubs.h',
|
|
|
|
'../../src/code.h',
|
|
|
|
'../../src/codegen.cc',
|
|
|
|
'../../src/codegen.h',
|
|
|
|
'../../src/compilation-cache.cc',
|
|
|
|
'../../src/compilation-cache.h',
|
|
|
|
'../../src/compiler.cc',
|
|
|
|
'../../src/compiler.h',
|
|
|
|
'../../src/contexts.cc',
|
|
|
|
'../../src/contexts.h',
|
|
|
|
'../../src/conversions-inl.h',
|
|
|
|
'../../src/conversions.cc',
|
|
|
|
'../../src/conversions.h',
|
|
|
|
'../../src/counters.cc',
|
|
|
|
'../../src/counters.h',
|
|
|
|
'../../src/cpu-profiler-inl.h',
|
|
|
|
'../../src/cpu-profiler.cc',
|
|
|
|
'../../src/cpu-profiler.h',
|
2012-07-05 13:54:20 +00:00
|
|
|
'../../src/cpu.h',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/data-flow.cc',
|
|
|
|
'../../src/data-flow.h',
|
2012-03-09 12:07:29 +00:00
|
|
|
'../../src/date.cc',
|
|
|
|
'../../src/date.h',
|
2012-07-05 13:54:20 +00:00
|
|
|
'../../src/dateparser-inl.h',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/dateparser.cc',
|
|
|
|
'../../src/dateparser.h',
|
|
|
|
'../../src/debug-agent.cc',
|
|
|
|
'../../src/debug-agent.h',
|
2012-07-05 13:54:20 +00:00
|
|
|
'../../src/debug.cc',
|
|
|
|
'../../src/debug.h',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/deoptimizer.cc',
|
|
|
|
'../../src/deoptimizer.h',
|
|
|
|
'../../src/disasm.h',
|
|
|
|
'../../src/disassembler.cc',
|
|
|
|
'../../src/disassembler.h',
|
|
|
|
'../../src/diy-fp.cc',
|
|
|
|
'../../src/diy-fp.h',
|
|
|
|
'../../src/double.h',
|
2011-09-07 12:39:53 +00:00
|
|
|
'../../src/dtoa.cc',
|
|
|
|
'../../src/dtoa.h',
|
2012-05-23 14:24:29 +00:00
|
|
|
'../../src/elements-kind.cc',
|
|
|
|
'../../src/elements-kind.h',
|
2012-07-05 13:54:20 +00:00
|
|
|
'../../src/elements.cc',
|
|
|
|
'../../src/elements.h',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/execution.cc',
|
|
|
|
'../../src/execution.h',
|
2012-07-05 13:54:20 +00:00
|
|
|
'../../src/extensions/externalize-string-extension.cc',
|
|
|
|
'../../src/extensions/externalize-string-extension.h',
|
|
|
|
'../../src/extensions/gc-extension.cc',
|
|
|
|
'../../src/extensions/gc-extension.h',
|
2012-07-18 12:27:29 +00:00
|
|
|
'../../src/extensions/statistics-extension.cc',
|
|
|
|
'../../src/extensions/statistics-extension.h',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/factory.cc',
|
|
|
|
'../../src/factory.h',
|
|
|
|
'../../src/fast-dtoa.cc',
|
|
|
|
'../../src/fast-dtoa.h',
|
|
|
|
'../../src/fixed-dtoa.cc',
|
|
|
|
'../../src/fixed-dtoa.h',
|
2012-07-05 13:54:20 +00:00
|
|
|
'../../src/flag-definitions.h',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/flags.cc',
|
|
|
|
'../../src/flags.h',
|
|
|
|
'../../src/frames-inl.h',
|
|
|
|
'../../src/frames.cc',
|
|
|
|
'../../src/frames.h',
|
|
|
|
'../../src/full-codegen.cc',
|
|
|
|
'../../src/full-codegen.h',
|
|
|
|
'../../src/func-name-inferrer.cc',
|
|
|
|
'../../src/func-name-inferrer.h',
|
|
|
|
'../../src/global-handles.cc',
|
|
|
|
'../../src/global-handles.h',
|
|
|
|
'../../src/globals.h',
|
|
|
|
'../../src/handles-inl.h',
|
|
|
|
'../../src/handles.cc',
|
|
|
|
'../../src/handles.h',
|
|
|
|
'../../src/hashmap.h',
|
|
|
|
'../../src/heap-inl.h',
|
|
|
|
'../../src/heap-profiler.cc',
|
|
|
|
'../../src/heap-profiler.h',
|
2012-07-05 13:54:20 +00:00
|
|
|
'../../src/heap.cc',
|
|
|
|
'../../src/heap.h',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/hydrogen-instructions.cc',
|
|
|
|
'../../src/hydrogen-instructions.h',
|
2012-07-05 13:54:20 +00:00
|
|
|
'../../src/hydrogen.cc',
|
|
|
|
'../../src/hydrogen.h',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/ic-inl.h',
|
|
|
|
'../../src/ic.cc',
|
|
|
|
'../../src/ic.h',
|
2011-09-19 18:36:47 +00:00
|
|
|
'../../src/incremental-marking.cc',
|
|
|
|
'../../src/incremental-marking.h',
|
2011-01-20 08:38:01 +00:00
|
|
|
'../../src/inspector.cc',
|
|
|
|
'../../src/inspector.h',
|
2012-03-08 13:03:07 +00:00
|
|
|
'../../src/interface.cc',
|
|
|
|
'../../src/interface.h',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/interpreter-irregexp.cc',
|
|
|
|
'../../src/interpreter-irregexp.h',
|
2012-07-05 13:54:20 +00:00
|
|
|
'../../src/isolate.cc',
|
|
|
|
'../../src/isolate.h',
|
2011-05-24 13:02:01 +00:00
|
|
|
'../../src/json-parser.h',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/jsregexp.cc',
|
|
|
|
'../../src/jsregexp.h',
|
2012-03-29 14:01:21 +00:00
|
|
|
'../../src/lazy-instance.h',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/list-inl.h',
|
|
|
|
'../../src/list.h',
|
2012-07-05 13:54:20 +00:00
|
|
|
'../../src/lithium-allocator-inl.h',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/lithium-allocator.cc',
|
|
|
|
'../../src/lithium-allocator.h',
|
2012-07-05 13:54:20 +00:00
|
|
|
'../../src/lithium.cc',
|
|
|
|
'../../src/lithium.h',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/liveedit.cc',
|
|
|
|
'../../src/liveedit.h',
|
2011-01-20 08:38:01 +00:00
|
|
|
'../../src/liveobjectlist-inl.h',
|
|
|
|
'../../src/liveobjectlist.cc',
|
|
|
|
'../../src/liveobjectlist.h',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/log-inl.h',
|
|
|
|
'../../src/log-utils.cc',
|
|
|
|
'../../src/log-utils.h',
|
|
|
|
'../../src/log.cc',
|
|
|
|
'../../src/log.h',
|
|
|
|
'../../src/macro-assembler.h',
|
|
|
|
'../../src/mark-compact.cc',
|
|
|
|
'../../src/mark-compact.h',
|
|
|
|
'../../src/messages.cc',
|
|
|
|
'../../src/messages.h',
|
|
|
|
'../../src/natives.h',
|
|
|
|
'../../src/objects-debug.cc',
|
|
|
|
'../../src/objects-inl.h',
|
2012-07-05 13:54:20 +00:00
|
|
|
'../../src/objects-printer.cc',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/objects-visiting.cc',
|
|
|
|
'../../src/objects-visiting.h',
|
|
|
|
'../../src/objects.cc',
|
|
|
|
'../../src/objects.h',
|
2012-03-12 13:56:56 +00:00
|
|
|
'../../src/once.cc',
|
|
|
|
'../../src/once.h',
|
2012-07-19 18:58:23 +00:00
|
|
|
'../../src/optimizing-compiler-thread.h',
|
|
|
|
'../../src/optimizing-compiler-thread.cc',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/parser.cc',
|
|
|
|
'../../src/parser.h',
|
2012-03-30 14:30:46 +00:00
|
|
|
'../../src/platform-posix.h',
|
2011-03-27 18:40:48 +00:00
|
|
|
'../../src/platform-tls-mac.h',
|
2011-03-27 16:14:20 +00:00
|
|
|
'../../src/platform-tls-win32.h',
|
|
|
|
'../../src/platform-tls.h',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/platform.h',
|
2011-05-06 11:41:15 +00:00
|
|
|
'../../src/preparse-data-format.h',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/preparse-data.cc',
|
|
|
|
'../../src/preparse-data.h',
|
|
|
|
'../../src/preparser.cc',
|
|
|
|
'../../src/preparser.h',
|
|
|
|
'../../src/prettyprinter.cc',
|
|
|
|
'../../src/prettyprinter.h',
|
|
|
|
'../../src/profile-generator-inl.h',
|
|
|
|
'../../src/profile-generator.cc',
|
|
|
|
'../../src/profile-generator.h',
|
2012-07-05 13:54:20 +00:00
|
|
|
'../../src/property-details.h',
|
|
|
|
'../../src/property.cc',
|
|
|
|
'../../src/property.h',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/regexp-macro-assembler-irregexp-inl.h',
|
|
|
|
'../../src/regexp-macro-assembler-irregexp.cc',
|
|
|
|
'../../src/regexp-macro-assembler-irregexp.h',
|
|
|
|
'../../src/regexp-macro-assembler-tracer.cc',
|
|
|
|
'../../src/regexp-macro-assembler-tracer.h',
|
|
|
|
'../../src/regexp-macro-assembler.cc',
|
|
|
|
'../../src/regexp-macro-assembler.h',
|
|
|
|
'../../src/regexp-stack.cc',
|
|
|
|
'../../src/regexp-stack.h',
|
|
|
|
'../../src/rewriter.cc',
|
|
|
|
'../../src/rewriter.h',
|
|
|
|
'../../src/runtime-profiler.cc',
|
|
|
|
'../../src/runtime-profiler.h',
|
2012-07-05 13:54:20 +00:00
|
|
|
'../../src/runtime.cc',
|
|
|
|
'../../src/runtime.h',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/safepoint-table.cc',
|
|
|
|
'../../src/safepoint-table.h',
|
2011-09-08 13:06:44 +00:00
|
|
|
'../../src/scanner-character-streams.cc',
|
|
|
|
'../../src/scanner-character-streams.h',
|
2012-07-05 13:54:20 +00:00
|
|
|
'../../src/scanner.cc',
|
|
|
|
'../../src/scanner.h',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/scopeinfo.cc',
|
|
|
|
'../../src/scopeinfo.h',
|
|
|
|
'../../src/scopes.cc',
|
|
|
|
'../../src/scopes.h',
|
|
|
|
'../../src/serialize.cc',
|
|
|
|
'../../src/serialize.h',
|
2011-03-23 14:44:19 +00:00
|
|
|
'../../src/small-pointer-list.h',
|
2012-07-19 18:58:23 +00:00
|
|
|
'../../src/smart-pointers.h',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/snapshot-common.cc',
|
|
|
|
'../../src/snapshot.h',
|
|
|
|
'../../src/spaces-inl.h',
|
|
|
|
'../../src/spaces.cc',
|
|
|
|
'../../src/spaces.h',
|
2011-09-19 18:36:47 +00:00
|
|
|
'../../src/store-buffer-inl.h',
|
|
|
|
'../../src/store-buffer.cc',
|
|
|
|
'../../src/store-buffer.h',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/string-search.cc',
|
|
|
|
'../../src/string-search.h',
|
|
|
|
'../../src/string-stream.cc',
|
|
|
|
'../../src/string-stream.h',
|
|
|
|
'../../src/strtod.cc',
|
|
|
|
'../../src/strtod.h',
|
|
|
|
'../../src/stub-cache.cc',
|
|
|
|
'../../src/stub-cache.h',
|
|
|
|
'../../src/token.cc',
|
|
|
|
'../../src/token.h',
|
2012-07-05 13:54:20 +00:00
|
|
|
'../../src/transitions-inl.h',
|
|
|
|
'../../src/transitions.cc',
|
|
|
|
'../../src/transitions.h',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/type-info.cc',
|
|
|
|
'../../src/type-info.h',
|
|
|
|
'../../src/unbound-queue-inl.h',
|
|
|
|
'../../src/unbound-queue.h',
|
|
|
|
'../../src/unicode-inl.h',
|
|
|
|
'../../src/unicode.cc',
|
|
|
|
'../../src/unicode.h',
|
2011-05-06 11:41:15 +00:00
|
|
|
'../../src/utils-inl.h',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/utils.cc',
|
|
|
|
'../../src/utils.h',
|
|
|
|
'../../src/v8-counters.cc',
|
|
|
|
'../../src/v8-counters.h',
|
|
|
|
'../../src/v8.cc',
|
|
|
|
'../../src/v8.h',
|
|
|
|
'../../src/v8checks.h',
|
2011-07-05 13:33:51 +00:00
|
|
|
'../../src/v8conversions.cc',
|
|
|
|
'../../src/v8conversions.h',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/v8globals.h',
|
2011-03-22 11:50:39 +00:00
|
|
|
'../../src/v8memory.h',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/v8threads.cc',
|
|
|
|
'../../src/v8threads.h',
|
2011-07-05 13:33:51 +00:00
|
|
|
'../../src/v8utils.cc',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/v8utils.h',
|
|
|
|
'../../src/variables.cc',
|
|
|
|
'../../src/variables.h',
|
|
|
|
'../../src/version.cc',
|
|
|
|
'../../src/version.h',
|
|
|
|
'../../src/vm-state-inl.h',
|
|
|
|
'../../src/vm-state.h',
|
|
|
|
'../../src/zone-inl.h',
|
|
|
|
'../../src/zone.cc',
|
|
|
|
'../../src/zone.h',
|
2009-07-28 20:32:57 +00:00
|
|
|
],
|
2011-01-04 12:14:10 +00:00
|
|
|
'conditions': [
|
2011-08-05 09:44:30 +00:00
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'toolsets': ['host', 'target'],
|
|
|
|
}, {
|
|
|
|
'toolsets': ['target'],
|
|
|
|
}],
|
2011-01-04 12:14:10 +00:00
|
|
|
['v8_target_arch=="arm"', {
|
|
|
|
'sources': [
|
|
|
|
'../../src/arm/assembler-arm-inl.h',
|
|
|
|
'../../src/arm/assembler-arm.cc',
|
|
|
|
'../../src/arm/assembler-arm.h',
|
|
|
|
'../../src/arm/builtins-arm.cc',
|
|
|
|
'../../src/arm/code-stubs-arm.cc',
|
|
|
|
'../../src/arm/code-stubs-arm.h',
|
|
|
|
'../../src/arm/codegen-arm.cc',
|
|
|
|
'../../src/arm/codegen-arm.h',
|
|
|
|
'../../src/arm/constants-arm.h',
|
|
|
|
'../../src/arm/constants-arm.cc',
|
|
|
|
'../../src/arm/cpu-arm.cc',
|
|
|
|
'../../src/arm/debug-arm.cc',
|
|
|
|
'../../src/arm/deoptimizer-arm.cc',
|
|
|
|
'../../src/arm/disasm-arm.cc',
|
|
|
|
'../../src/arm/frames-arm.cc',
|
|
|
|
'../../src/arm/frames-arm.h',
|
|
|
|
'../../src/arm/full-codegen-arm.cc',
|
|
|
|
'../../src/arm/ic-arm.cc',
|
|
|
|
'../../src/arm/lithium-arm.cc',
|
|
|
|
'../../src/arm/lithium-arm.h',
|
2011-01-17 11:25:36 +00:00
|
|
|
'../../src/arm/lithium-codegen-arm.cc',
|
|
|
|
'../../src/arm/lithium-codegen-arm.h',
|
2011-02-17 15:25:38 +00:00
|
|
|
'../../src/arm/lithium-gap-resolver-arm.cc',
|
|
|
|
'../../src/arm/lithium-gap-resolver-arm.h',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/arm/macro-assembler-arm.cc',
|
|
|
|
'../../src/arm/macro-assembler-arm.h',
|
|
|
|
'../../src/arm/regexp-macro-assembler-arm.cc',
|
|
|
|
'../../src/arm/regexp-macro-assembler-arm.h',
|
|
|
|
'../../src/arm/simulator-arm.cc',
|
|
|
|
'../../src/arm/stub-cache-arm.cc',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['v8_target_arch=="ia32" or v8_target_arch=="mac" or OS=="mac"', {
|
|
|
|
'sources': [
|
|
|
|
'../../src/ia32/assembler-ia32-inl.h',
|
|
|
|
'../../src/ia32/assembler-ia32.cc',
|
|
|
|
'../../src/ia32/assembler-ia32.h',
|
|
|
|
'../../src/ia32/builtins-ia32.cc',
|
|
|
|
'../../src/ia32/code-stubs-ia32.cc',
|
|
|
|
'../../src/ia32/code-stubs-ia32.h',
|
|
|
|
'../../src/ia32/codegen-ia32.cc',
|
|
|
|
'../../src/ia32/codegen-ia32.h',
|
|
|
|
'../../src/ia32/cpu-ia32.cc',
|
|
|
|
'../../src/ia32/debug-ia32.cc',
|
|
|
|
'../../src/ia32/deoptimizer-ia32.cc',
|
|
|
|
'../../src/ia32/disasm-ia32.cc',
|
|
|
|
'../../src/ia32/frames-ia32.cc',
|
|
|
|
'../../src/ia32/frames-ia32.h',
|
|
|
|
'../../src/ia32/full-codegen-ia32.cc',
|
|
|
|
'../../src/ia32/ic-ia32.cc',
|
|
|
|
'../../src/ia32/lithium-codegen-ia32.cc',
|
|
|
|
'../../src/ia32/lithium-codegen-ia32.h',
|
2011-01-17 11:25:36 +00:00
|
|
|
'../../src/ia32/lithium-gap-resolver-ia32.cc',
|
|
|
|
'../../src/ia32/lithium-gap-resolver-ia32.h',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/ia32/lithium-ia32.cc',
|
|
|
|
'../../src/ia32/lithium-ia32.h',
|
|
|
|
'../../src/ia32/macro-assembler-ia32.cc',
|
|
|
|
'../../src/ia32/macro-assembler-ia32.h',
|
|
|
|
'../../src/ia32/regexp-macro-assembler-ia32.cc',
|
|
|
|
'../../src/ia32/regexp-macro-assembler-ia32.h',
|
|
|
|
'../../src/ia32/stub-cache-ia32.cc',
|
|
|
|
],
|
|
|
|
}],
|
2012-07-11 15:15:04 +00:00
|
|
|
['v8_target_arch=="mipsel"', {
|
2011-11-09 15:31:54 +00:00
|
|
|
'sources': [
|
|
|
|
'../../src/mips/assembler-mips.cc',
|
|
|
|
'../../src/mips/assembler-mips.h',
|
|
|
|
'../../src/mips/assembler-mips-inl.h',
|
|
|
|
'../../src/mips/builtins-mips.cc',
|
|
|
|
'../../src/mips/codegen-mips.cc',
|
|
|
|
'../../src/mips/codegen-mips.h',
|
|
|
|
'../../src/mips/code-stubs-mips.cc',
|
|
|
|
'../../src/mips/code-stubs-mips.h',
|
|
|
|
'../../src/mips/constants-mips.cc',
|
|
|
|
'../../src/mips/constants-mips.h',
|
|
|
|
'../../src/mips/cpu-mips.cc',
|
|
|
|
'../../src/mips/debug-mips.cc',
|
|
|
|
'../../src/mips/deoptimizer-mips.cc',
|
|
|
|
'../../src/mips/disasm-mips.cc',
|
|
|
|
'../../src/mips/frames-mips.cc',
|
|
|
|
'../../src/mips/frames-mips.h',
|
|
|
|
'../../src/mips/full-codegen-mips.cc',
|
|
|
|
'../../src/mips/ic-mips.cc',
|
|
|
|
'../../src/mips/lithium-codegen-mips.cc',
|
|
|
|
'../../src/mips/lithium-codegen-mips.h',
|
|
|
|
'../../src/mips/lithium-gap-resolver-mips.cc',
|
|
|
|
'../../src/mips/lithium-gap-resolver-mips.h',
|
|
|
|
'../../src/mips/lithium-mips.cc',
|
|
|
|
'../../src/mips/lithium-mips.h',
|
|
|
|
'../../src/mips/macro-assembler-mips.cc',
|
|
|
|
'../../src/mips/macro-assembler-mips.h',
|
|
|
|
'../../src/mips/regexp-macro-assembler-mips.cc',
|
|
|
|
'../../src/mips/regexp-macro-assembler-mips.h',
|
|
|
|
'../../src/mips/simulator-mips.cc',
|
|
|
|
'../../src/mips/stub-cache-mips.cc',
|
|
|
|
],
|
|
|
|
}],
|
2011-01-04 12:14:10 +00:00
|
|
|
['v8_target_arch=="x64" or v8_target_arch=="mac" or OS=="mac"', {
|
|
|
|
'sources': [
|
|
|
|
'../../src/x64/assembler-x64-inl.h',
|
|
|
|
'../../src/x64/assembler-x64.cc',
|
|
|
|
'../../src/x64/assembler-x64.h',
|
|
|
|
'../../src/x64/builtins-x64.cc',
|
|
|
|
'../../src/x64/code-stubs-x64.cc',
|
|
|
|
'../../src/x64/code-stubs-x64.h',
|
|
|
|
'../../src/x64/codegen-x64.cc',
|
|
|
|
'../../src/x64/codegen-x64.h',
|
|
|
|
'../../src/x64/cpu-x64.cc',
|
|
|
|
'../../src/x64/debug-x64.cc',
|
|
|
|
'../../src/x64/deoptimizer-x64.cc',
|
|
|
|
'../../src/x64/disasm-x64.cc',
|
|
|
|
'../../src/x64/frames-x64.cc',
|
|
|
|
'../../src/x64/frames-x64.h',
|
|
|
|
'../../src/x64/full-codegen-x64.cc',
|
|
|
|
'../../src/x64/ic-x64.cc',
|
2011-01-11 12:24:18 +00:00
|
|
|
'../../src/x64/lithium-codegen-x64.cc',
|
2011-01-05 12:31:31 +00:00
|
|
|
'../../src/x64/lithium-codegen-x64.h',
|
2011-01-25 10:10:36 +00:00
|
|
|
'../../src/x64/lithium-gap-resolver-x64.cc',
|
|
|
|
'../../src/x64/lithium-gap-resolver-x64.h',
|
2011-01-05 12:31:31 +00:00
|
|
|
'../../src/x64/lithium-x64.cc',
|
|
|
|
'../../src/x64/lithium-x64.h',
|
2011-01-04 12:14:10 +00:00
|
|
|
'../../src/x64/macro-assembler-x64.cc',
|
|
|
|
'../../src/x64/macro-assembler-x64.h',
|
|
|
|
'../../src/x64/regexp-macro-assembler-x64.cc',
|
|
|
|
'../../src/x64/regexp-macro-assembler-x64.h',
|
|
|
|
'../../src/x64/stub-cache-x64.cc',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['OS=="linux"', {
|
|
|
|
'link_settings': {
|
2011-04-29 12:08:33 +00:00
|
|
|
'conditions': [
|
|
|
|
['v8_compress_startup_data=="bz2"', {
|
|
|
|
'libraries': [
|
|
|
|
'-lbz2',
|
2011-11-02 10:57:03 +00:00
|
|
|
]
|
|
|
|
}],
|
2011-04-29 12:08:33 +00:00
|
|
|
],
|
|
|
|
},
|
2011-01-04 12:14:10 +00:00
|
|
|
'sources': [
|
|
|
|
'../../src/platform-linux.cc',
|
|
|
|
'../../src/platform-posix.cc'
|
|
|
|
],
|
|
|
|
}
|
2011-05-24 14:49:02 +00:00
|
|
|
],
|
|
|
|
['OS=="android"', {
|
2011-11-02 10:57:03 +00:00
|
|
|
'defines': [
|
|
|
|
'CAN_USE_VFP_INSTRUCTIONS',
|
|
|
|
],
|
2011-05-24 14:49:02 +00:00
|
|
|
'sources': [
|
|
|
|
'../../src/platform-posix.cc',
|
|
|
|
],
|
|
|
|
'conditions': [
|
2011-11-23 17:32:34 +00:00
|
|
|
['host_os=="mac"', {
|
|
|
|
'target_conditions': [
|
|
|
|
['_toolset=="host"', {
|
|
|
|
'sources': [
|
|
|
|
'../../src/platform-macos.cc'
|
|
|
|
]
|
|
|
|
}, {
|
|
|
|
'sources': [
|
|
|
|
'../../src/platform-linux.cc'
|
|
|
|
]
|
|
|
|
}],
|
|
|
|
],
|
2011-05-24 14:49:02 +00:00
|
|
|
}, {
|
|
|
|
'sources': [
|
|
|
|
'../../src/platform-linux.cc'
|
|
|
|
]
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
},
|
2009-07-08 14:56:56 +00:00
|
|
|
],
|
2011-01-04 12:14:10 +00:00
|
|
|
['OS=="freebsd"', {
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-L/usr/local/lib -lexecinfo',
|
|
|
|
]},
|
|
|
|
'sources': [
|
|
|
|
'../../src/platform-freebsd.cc',
|
|
|
|
'../../src/platform-posix.cc'
|
|
|
|
],
|
|
|
|
}
|
2010-04-06 09:27:09 +00:00
|
|
|
],
|
2011-01-04 12:14:10 +00:00
|
|
|
['OS=="openbsd"', {
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-L/usr/local/lib -lexecinfo',
|
|
|
|
]},
|
|
|
|
'sources': [
|
|
|
|
'../../src/platform-openbsd.cc',
|
|
|
|
'../../src/platform-posix.cc'
|
|
|
|
],
|
|
|
|
}
|
2009-12-02 13:38:50 +00:00
|
|
|
],
|
2012-01-05 12:17:08 +00:00
|
|
|
['OS=="netbsd"', {
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lexecinfo',
|
|
|
|
]},
|
|
|
|
'sources': [
|
|
|
|
'../../src/platform-openbsd.cc',
|
|
|
|
'../../src/platform-posix.cc'
|
|
|
|
],
|
|
|
|
}
|
|
|
|
],
|
2011-09-15 08:13:39 +00:00
|
|
|
['OS=="solaris"', {
|
2012-01-20 15:43:38 +00:00
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-lsocket -lnsl',
|
|
|
|
]},
|
2011-09-15 08:13:39 +00:00
|
|
|
'sources': [
|
|
|
|
'../../src/platform-solaris.cc',
|
|
|
|
'../../src/platform-posix.cc',
|
|
|
|
],
|
|
|
|
}
|
|
|
|
],
|
2011-01-04 12:14:10 +00:00
|
|
|
['OS=="mac"', {
|
|
|
|
'sources': [
|
|
|
|
'../../src/platform-macos.cc',
|
|
|
|
'../../src/platform-posix.cc'
|
|
|
|
]},
|
|
|
|
],
|
|
|
|
['OS=="win"', {
|
|
|
|
'sources': [
|
|
|
|
'../../src/platform-win32.cc',
|
2011-09-07 12:39:53 +00:00
|
|
|
'../../src/win32-math.cc',
|
|
|
|
'../../src/win32-math.h',
|
2011-01-04 12:14:10 +00:00
|
|
|
],
|
2011-01-25 11:25:30 +00:00
|
|
|
'msvs_disabled_warnings': [4351, 4355, 4800],
|
2011-01-04 12:14:10 +00:00
|
|
|
'link_settings': {
|
2011-08-30 11:10:09 +00:00
|
|
|
'libraries': [ '-lwinmm.lib', '-lws2_32.lib' ],
|
2011-01-04 12:14:10 +00:00
|
|
|
},
|
|
|
|
}],
|
2011-05-02 15:06:49 +00:00
|
|
|
['component=="shared_library"', {
|
2011-01-04 12:14:10 +00:00
|
|
|
'defines': [
|
2011-05-02 15:06:49 +00:00
|
|
|
'BUILDING_V8_SHARED',
|
|
|
|
'V8_SHARED',
|
2011-01-04 12:14:10 +00:00
|
|
|
],
|
|
|
|
}],
|
2012-02-02 20:18:19 +00:00
|
|
|
['v8_postmortem_support=="true"', {
|
|
|
|
'sources': [
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/debug-support.cc',
|
|
|
|
]
|
|
|
|
}],
|
2009-07-08 14:56:56 +00:00
|
|
|
],
|
2011-01-04 12:14:10 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'target_name': 'js2c',
|
|
|
|
'type': 'none',
|
2011-08-05 09:44:30 +00:00
|
|
|
'conditions': [
|
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'toolsets': ['host'],
|
|
|
|
}, {
|
|
|
|
'toolsets': ['target'],
|
|
|
|
}],
|
|
|
|
],
|
2011-01-04 12:14:10 +00:00
|
|
|
'variables': {
|
|
|
|
'library_files': [
|
|
|
|
'../../src/runtime.js',
|
|
|
|
'../../src/v8natives.js',
|
|
|
|
'../../src/array.js',
|
|
|
|
'../../src/string.js',
|
|
|
|
'../../src/uri.js',
|
|
|
|
'../../src/math.js',
|
|
|
|
'../../src/messages.js',
|
|
|
|
'../../src/apinatives.js',
|
|
|
|
'../../src/debug-debugger.js',
|
|
|
|
'../../src/mirror-debugger.js',
|
|
|
|
'../../src/liveedit-debugger.js',
|
|
|
|
'../../src/date.js',
|
|
|
|
'../../src/json.js',
|
|
|
|
'../../src/regexp.js',
|
|
|
|
'../../src/macros.py',
|
|
|
|
],
|
2011-05-04 06:18:49 +00:00
|
|
|
'experimental_library_files': [
|
2011-04-15 12:31:03 +00:00
|
|
|
'../../src/macros.py',
|
2011-08-05 09:44:30 +00:00
|
|
|
'../../src/proxy.js',
|
2011-10-25 14:14:56 +00:00
|
|
|
'../../src/collection.js',
|
2011-05-04 06:18:49 +00:00
|
|
|
],
|
2009-07-08 14:56:56 +00:00
|
|
|
},
|
2011-01-04 12:14:10 +00:00
|
|
|
'actions': [
|
|
|
|
{
|
|
|
|
'action_name': 'js2c',
|
|
|
|
'inputs': [
|
|
|
|
'../../tools/js2c.py',
|
|
|
|
'<@(library_files)',
|
|
|
|
],
|
|
|
|
'outputs': [
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
|
|
|
|
],
|
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'../../tools/js2c.py',
|
|
|
|
'<@(_outputs)',
|
|
|
|
'CORE',
|
2011-06-06 20:47:30 +00:00
|
|
|
'<(v8_compress_startup_data)',
|
2011-01-04 12:14:10 +00:00
|
|
|
'<@(library_files)'
|
|
|
|
],
|
|
|
|
},
|
2011-05-04 06:18:49 +00:00
|
|
|
{
|
2011-04-15 12:31:03 +00:00
|
|
|
'action_name': 'js2c_experimental',
|
|
|
|
'inputs': [
|
|
|
|
'../../tools/js2c.py',
|
|
|
|
'<@(experimental_library_files)',
|
|
|
|
],
|
|
|
|
'outputs': [
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
|
|
|
|
],
|
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'../../tools/js2c.py',
|
|
|
|
'<@(_outputs)',
|
|
|
|
'EXPERIMENTAL',
|
2011-06-06 20:47:30 +00:00
|
|
|
'<(v8_compress_startup_data)',
|
2011-04-15 12:31:03 +00:00
|
|
|
'<@(experimental_library_files)'
|
|
|
|
],
|
|
|
|
},
|
2010-07-02 07:39:42 +00:00
|
|
|
],
|
2011-01-04 12:14:10 +00:00
|
|
|
},
|
2012-02-02 20:18:19 +00:00
|
|
|
{
|
|
|
|
'target_name': 'postmortem-metadata',
|
|
|
|
'type': 'none',
|
|
|
|
'variables': {
|
|
|
|
'heapobject_files': [
|
|
|
|
'../../src/objects.h',
|
|
|
|
'../../src/objects-inl.h',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'actions': [
|
|
|
|
{
|
|
|
|
'action_name': 'gen-postmortem-metadata',
|
|
|
|
'inputs': [
|
|
|
|
'../../tools/gen-postmortem-metadata.py',
|
|
|
|
'<@(heapobject_files)',
|
|
|
|
],
|
|
|
|
'outputs': [
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/debug-support.cc',
|
|
|
|
],
|
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'../../tools/gen-postmortem-metadata.py',
|
|
|
|
'<@(_outputs)',
|
|
|
|
'<@(heapobject_files)'
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2009-07-08 14:56:56 +00:00
|
|
|
{
|
2011-01-04 12:14:10 +00:00
|
|
|
'target_name': 'mksnapshot',
|
|
|
|
'type': 'executable',
|
|
|
|
'dependencies': [
|
2011-11-08 10:14:03 +00:00
|
|
|
'v8_base',
|
2011-01-04 12:14:10 +00:00
|
|
|
'v8_nosnapshot',
|
2009-07-08 14:56:56 +00:00
|
|
|
],
|
2011-01-04 12:14:10 +00:00
|
|
|
'include_dirs+': [
|
|
|
|
'../../src',
|
2009-07-08 14:56:56 +00:00
|
|
|
],
|
2011-01-04 12:14:10 +00:00
|
|
|
'sources': [
|
|
|
|
'../../src/mksnapshot.cc',
|
|
|
|
],
|
|
|
|
'conditions': [
|
2011-08-05 09:44:30 +00:00
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'toolsets': ['host'],
|
|
|
|
}, {
|
|
|
|
'toolsets': ['target'],
|
2011-04-29 12:08:33 +00:00
|
|
|
}],
|
|
|
|
['v8_compress_startup_data=="bz2"', {
|
|
|
|
'libraries': [
|
|
|
|
'-lbz2',
|
2011-11-02 10:57:03 +00:00
|
|
|
]
|
|
|
|
}],
|
2011-08-25 14:50:09 +00:00
|
|
|
],
|
2011-01-04 12:14:10 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'target_name': 'v8_shell',
|
|
|
|
'type': 'executable',
|
|
|
|
'dependencies': [
|
|
|
|
'v8'
|
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'../../samples/shell.cc',
|
|
|
|
],
|
|
|
|
'conditions': [
|
2011-08-05 09:44:30 +00:00
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'toolsets': ['host'],
|
|
|
|
}, {
|
|
|
|
'toolsets': ['target'],
|
|
|
|
}],
|
2011-01-04 12:14:10 +00:00
|
|
|
['OS=="win"', {
|
|
|
|
# This could be gotten by not setting chromium_code, if that's OK.
|
|
|
|
'defines': ['_CRT_SECURE_NO_WARNINGS'],
|
|
|
|
}],
|
2011-04-29 12:08:33 +00:00
|
|
|
['v8_compress_startup_data=="bz2"', {
|
|
|
|
'libraries': [
|
|
|
|
'-lbz2',
|
2011-11-02 10:57:03 +00:00
|
|
|
]
|
|
|
|
}],
|
2009-07-08 14:56:56 +00:00
|
|
|
],
|
|
|
|
},
|
2011-08-05 09:44:30 +00:00
|
|
|
{
|
|
|
|
'target_name': 'preparser_lib',
|
|
|
|
'type': '<(library)',
|
|
|
|
'include_dirs+': [
|
|
|
|
'../../src',
|
|
|
|
],
|
|
|
|
'sources': [
|
2011-09-07 12:39:53 +00:00
|
|
|
'../../include/v8-preparser.h',
|
|
|
|
'../../include/v8stdint.h',
|
2011-08-05 09:44:30 +00:00
|
|
|
'../../src/allocation.cc',
|
2011-09-07 12:39:53 +00:00
|
|
|
'../../src/allocation.h',
|
2012-03-12 13:56:56 +00:00
|
|
|
'../../src/atomicops.h',
|
|
|
|
'../../src/atomicops_internals_x86_gcc.cc',
|
2011-08-05 09:44:30 +00:00
|
|
|
'../../src/bignum.cc',
|
2011-09-07 12:39:53 +00:00
|
|
|
'../../src/bignum.h',
|
|
|
|
'../../src/bignum-dtoa.cc',
|
|
|
|
'../../src/bignum-dtoa.h',
|
2011-08-05 09:44:30 +00:00
|
|
|
'../../src/cached-powers.cc',
|
2011-09-07 12:39:53 +00:00
|
|
|
'../../src/cached-powers.h',
|
|
|
|
'../../src/char-predicates-inl.h',
|
|
|
|
'../../src/char-predicates.h',
|
|
|
|
'../../src/checks.h',
|
|
|
|
'../../src/conversions-inl.h',
|
2011-08-05 09:44:30 +00:00
|
|
|
'../../src/conversions.cc',
|
2011-09-07 12:39:53 +00:00
|
|
|
'../../src/conversions.h',
|
|
|
|
'../../src/diy-fp.cc',
|
|
|
|
'../../src/diy-fp.h',
|
|
|
|
'../../src/double.h',
|
|
|
|
'../../src/dtoa.cc',
|
|
|
|
'../../src/dtoa.h',
|
|
|
|
'../../src/fast-dtoa.cc',
|
|
|
|
'../../src/fast-dtoa.h',
|
|
|
|
'../../src/fixed-dtoa.cc',
|
|
|
|
'../../src/fixed-dtoa.h',
|
|
|
|
'../../src/globals.h',
|
|
|
|
'../../src/hashmap.h',
|
|
|
|
'../../src/list-inl.h',
|
|
|
|
'../../src/list.h',
|
2012-03-12 13:56:56 +00:00
|
|
|
'../../src/once.cc',
|
|
|
|
'../../src/once.h',
|
2011-09-07 12:39:53 +00:00
|
|
|
'../../src/preparse-data-format.h',
|
2011-08-05 09:44:30 +00:00
|
|
|
'../../src/preparse-data.cc',
|
2011-09-07 12:39:53 +00:00
|
|
|
'../../src/preparse-data.h',
|
2011-08-05 09:44:30 +00:00
|
|
|
'../../src/preparser.cc',
|
2011-09-07 12:39:53 +00:00
|
|
|
'../../src/preparser.h',
|
2011-08-05 09:44:30 +00:00
|
|
|
'../../src/preparser-api.cc',
|
2011-09-08 13:06:44 +00:00
|
|
|
'../../src/scanner.cc',
|
|
|
|
'../../src/scanner.h',
|
2011-08-05 09:44:30 +00:00
|
|
|
'../../src/strtod.cc',
|
2011-09-07 12:39:53 +00:00
|
|
|
'../../src/strtod.h',
|
2011-08-05 09:44:30 +00:00
|
|
|
'../../src/token.cc',
|
2011-09-07 12:39:53 +00:00
|
|
|
'../../src/token.h',
|
|
|
|
'../../src/unicode-inl.h',
|
2011-08-05 09:44:30 +00:00
|
|
|
'../../src/unicode.cc',
|
2011-09-07 12:39:53 +00:00
|
|
|
'../../src/unicode.h',
|
|
|
|
'../../src/utils-inl.h',
|
2011-08-05 09:44:30 +00:00
|
|
|
'../../src/utils.cc',
|
2011-09-07 12:39:53 +00:00
|
|
|
'../../src/utils.h',
|
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
['OS=="win"', {
|
|
|
|
'sources': [
|
|
|
|
'../../src/win32-math.cc',
|
|
|
|
'../../src/win32-math.h',
|
|
|
|
]}],
|
2011-08-05 09:44:30 +00:00
|
|
|
],
|
|
|
|
},
|
2009-04-27 09:04:39 +00:00
|
|
|
],
|
2011-01-04 12:14:10 +00:00
|
|
|
}, { # use_system_v8 != 0
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'v8',
|
2011-10-13 07:30:54 +00:00
|
|
|
'type': 'none',
|
2011-08-05 09:44:30 +00:00
|
|
|
'conditions': [
|
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'toolsets': ['host', 'target'],
|
|
|
|
}, {
|
|
|
|
'toolsets': ['target'],
|
|
|
|
}],
|
|
|
|
],
|
2011-01-04 12:14:10 +00:00
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-lv8',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'target_name': 'v8_shell',
|
|
|
|
'type': 'none',
|
2011-08-05 09:44:30 +00:00
|
|
|
'conditions': [
|
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'toolsets': ['host'],
|
|
|
|
}, {
|
|
|
|
'toolsets': ['target'],
|
|
|
|
}],
|
|
|
|
],
|
2011-01-04 12:14:10 +00:00
|
|
|
'dependencies': [
|
|
|
|
'v8'
|
|
|
|
],
|
|
|
|
},
|
2009-07-09 05:25:08 +00:00
|
|
|
],
|
2011-01-04 12:14:10 +00:00
|
|
|
}],
|
2009-04-27 09:04:39 +00:00
|
|
|
],
|
|
|
|
}
|