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.
|
|
|
|
|
|
|
|
{
|
2013-06-28 15:22:46 +00:00
|
|
|
'variables': {
|
2014-03-25 12:05:33 +00:00
|
|
|
'icu_use_data_file_flag%': 0,
|
2013-06-28 15:22:46 +00:00
|
|
|
'v8_code': 1,
|
2013-11-07 12:01:26 +00:00
|
|
|
'v8_random_seed%': 314159265,
|
2013-06-28 15:22:46 +00:00
|
|
|
},
|
2013-07-10 11:15:16 +00:00
|
|
|
'includes': ['../../build/toolchain.gypi', '../../build/features.gypi'],
|
2013-05-15 13:09:57 +00:00
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'v8',
|
|
|
|
'dependencies_traverse': 1,
|
|
|
|
'conditions': [
|
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'toolsets': ['host', 'target'],
|
|
|
|
}, {
|
|
|
|
'toolsets': ['target'],
|
|
|
|
}],
|
2014-06-23 13:52:17 +00:00
|
|
|
|
|
|
|
['v8_use_snapshot=="true" and v8_use_external_startup_data==0', {
|
2013-05-15 13:09:57 +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.
|
2014-05-22 09:04:24 +00:00
|
|
|
'dependencies': ['v8_base', 'v8_snapshot'],
|
2014-06-23 13:52:17 +00:00
|
|
|
}],
|
|
|
|
['v8_use_snapshot!="true" and v8_use_external_startup_data==0', {
|
2013-05-15 13:09:57 +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.
|
2014-05-22 09:04:24 +00:00
|
|
|
'dependencies': ['v8_base', 'v8_nosnapshot'],
|
2013-05-15 13:09:57 +00:00
|
|
|
}],
|
2014-06-27 16:47:25 +00:00
|
|
|
['v8_use_external_startup_data==1 and want_separate_host_toolset==0', {
|
2014-06-23 13:52:17 +00:00
|
|
|
'dependencies': ['v8_base', 'v8_external_snapshot'],
|
|
|
|
}],
|
2014-06-27 16:47:25 +00:00
|
|
|
['v8_use_external_startup_data==1 and want_separate_host_toolset==1', {
|
|
|
|
'dependencies': ['v8_base', 'v8_external_snapshot#host'],
|
|
|
|
}],
|
2013-05-15 13:09:57 +00:00
|
|
|
['component=="shared_library"', {
|
|
|
|
'type': '<(component)',
|
|
|
|
'sources': [
|
|
|
|
# Note: on non-Windows we still build this file so that gyp
|
|
|
|
# has some sources to link into the component.
|
|
|
|
'../../src/v8dll-main.cc',
|
|
|
|
],
|
2014-06-03 08:29:03 +00:00
|
|
|
'include_dirs': [
|
|
|
|
'../..',
|
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
'defines': [
|
|
|
|
'V8_SHARED',
|
|
|
|
'BUILDING_V8_SHARED',
|
2010-07-02 07:39:42 +00:00
|
|
|
],
|
2011-07-18 16:39:41 +00:00
|
|
|
'direct_dependent_settings': {
|
2013-05-15 13:09:57 +00:00
|
|
|
'defines': [
|
|
|
|
'V8_SHARED',
|
|
|
|
'USING_V8_SHARED',
|
2011-07-18 16:39:41 +00:00
|
|
|
],
|
|
|
|
},
|
2013-05-15 13:09:57 +00:00
|
|
|
'target_conditions': [
|
|
|
|
['OS=="android" and _toolset=="target"', {
|
|
|
|
'libraries': [
|
|
|
|
'-llog',
|
2013-04-10 10:42:54 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
'include_dirs': [
|
|
|
|
'src/common/android/include',
|
2011-01-04 12:14:10 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
}],
|
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
['OS=="mac"', {
|
|
|
|
'xcode_settings': {
|
|
|
|
'OTHER_LDFLAGS': ['-dynamiclib', '-all_load']
|
2012-05-16 15:48:06 +00:00
|
|
|
},
|
2011-01-04 12:14:10 +00:00
|
|
|
}],
|
2013-05-15 13:09:57 +00:00
|
|
|
['soname_version!=""', {
|
|
|
|
'product_extension': 'so.<(soname_version)',
|
|
|
|
}],
|
2011-01-04 12:14:10 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'type': 'none',
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
'direct_dependent_settings': {
|
|
|
|
'include_dirs': [
|
|
|
|
'../../include',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'target_name': 'v8_snapshot',
|
|
|
|
'type': 'static_library',
|
|
|
|
'conditions': [
|
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'toolsets': ['host', 'target'],
|
2011-01-04 12:14:10 +00:00
|
|
|
'dependencies': [
|
2014-05-22 09:04:24 +00:00
|
|
|
'mksnapshot#host',
|
2013-05-15 13:09:57 +00:00
|
|
|
'js2c#host',
|
2013-11-26 08:50:15 +00:00
|
|
|
'generate_trig_table#host',
|
2011-01-04 12:14:10 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
}, {
|
|
|
|
'toolsets': ['target'],
|
2013-11-26 08:50:15 +00:00
|
|
|
'dependencies': [
|
2014-05-22 09:04:24 +00:00
|
|
|
'mksnapshot',
|
2013-11-26 08:50:15 +00:00
|
|
|
'js2c',
|
|
|
|
'generate_trig_table',
|
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
}],
|
|
|
|
['component=="shared_library"', {
|
|
|
|
'defines': [
|
|
|
|
'V8_SHARED',
|
|
|
|
'BUILDING_V8_SHARED',
|
2009-04-27 09:04:39 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
'direct_dependent_settings': {
|
|
|
|
'defines': [
|
|
|
|
'V8_SHARED',
|
|
|
|
'USING_V8_SHARED',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
'dependencies': [
|
2014-05-22 09:04:24 +00:00
|
|
|
'v8_base',
|
2013-05-15 13:09:57 +00:00
|
|
|
],
|
|
|
|
'include_dirs+': [
|
2014-06-03 08:12:43 +00:00
|
|
|
'../..',
|
2013-05-15 13:09:57 +00:00
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
|
2013-11-22 08:25:50 +00:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/trig-table.cc',
|
2013-05-15 13:09:57 +00:00
|
|
|
'<(INTERMEDIATE_DIR)/snapshot.cc',
|
2014-06-23 13:52:17 +00:00
|
|
|
'../../src/snapshot-common.cc',
|
2013-05-15 13:09:57 +00:00
|
|
|
],
|
|
|
|
'actions': [
|
|
|
|
{
|
|
|
|
'action_name': 'run_mksnapshot',
|
|
|
|
'inputs': [
|
2014-05-22 09:04:24 +00:00
|
|
|
'<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)',
|
2013-05-15 13:09:57 +00:00
|
|
|
],
|
|
|
|
'outputs': [
|
2009-04-27 09:04:39 +00:00
|
|
|
'<(INTERMEDIATE_DIR)/snapshot.cc',
|
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
'variables': {
|
|
|
|
'mksnapshot_flags': [
|
|
|
|
'--log-snapshot-positions',
|
|
|
|
'--logfile', '<(INTERMEDIATE_DIR)/snapshot.log',
|
|
|
|
],
|
2013-11-07 12:01:26 +00:00
|
|
|
'conditions': [
|
|
|
|
['v8_random_seed!=0', {
|
|
|
|
'mksnapshot_flags': ['--random-seed', '<(v8_random_seed)'],
|
|
|
|
}],
|
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
},
|
|
|
|
'action': [
|
|
|
|
'<@(_inputs)',
|
|
|
|
'<@(mksnapshot_flags)',
|
2014-06-23 13:52:17 +00:00
|
|
|
'<@(INTERMEDIATE_DIR)/snapshot.cc'
|
2011-01-04 12:14:10 +00:00
|
|
|
],
|
2009-04-27 09:04:39 +00:00
|
|
|
},
|
2013-05-15 13:09:57 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
2014-05-22 09:04:24 +00:00
|
|
|
'target_name': 'v8_nosnapshot',
|
2013-05-15 13:09:57 +00:00
|
|
|
'type': 'static_library',
|
|
|
|
'dependencies': [
|
2014-05-22 09:04:24 +00:00
|
|
|
'v8_base',
|
2013-05-15 13:09:57 +00:00
|
|
|
],
|
|
|
|
'include_dirs+': [
|
2014-06-03 08:12:43 +00:00
|
|
|
'../..',
|
2013-05-15 13:09:57 +00:00
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
|
2013-11-22 08:25:50 +00:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/trig-table.cc',
|
2014-06-23 13:52:17 +00:00
|
|
|
'../../src/snapshot-common.cc',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/snapshot-empty.cc',
|
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'toolsets': ['host', 'target'],
|
2013-11-26 08:50:15 +00:00
|
|
|
'dependencies': ['js2c#host', 'generate_trig_table#host'],
|
2013-05-15 13:09:57 +00:00
|
|
|
}, {
|
|
|
|
'toolsets': ['target'],
|
2013-11-26 08:50:15 +00:00
|
|
|
'dependencies': ['js2c', 'generate_trig_table'],
|
2013-05-15 13:09:57 +00:00
|
|
|
}],
|
|
|
|
['component=="shared_library"', {
|
|
|
|
'defines': [
|
|
|
|
'BUILDING_V8_SHARED',
|
|
|
|
'V8_SHARED',
|
2010-07-02 07:39:42 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
}],
|
|
|
|
]
|
|
|
|
},
|
2014-06-23 13:52:17 +00:00
|
|
|
{
|
|
|
|
'target_name': 'v8_external_snapshot',
|
|
|
|
'type': 'static_library',
|
|
|
|
'conditions': [
|
|
|
|
['want_separate_host_toolset==1', {
|
2014-06-27 16:47:25 +00:00
|
|
|
'toolsets': ['host'],
|
2014-06-23 13:52:17 +00:00
|
|
|
'dependencies': [
|
|
|
|
'mksnapshot#host',
|
|
|
|
'js2c#host',
|
|
|
|
'generate_trig_table#host',
|
|
|
|
'natives_blob#host',
|
|
|
|
]}, {
|
|
|
|
'toolsets': ['target'],
|
|
|
|
'dependencies': [
|
|
|
|
'mksnapshot',
|
|
|
|
'js2c',
|
|
|
|
'generate_trig_table',
|
|
|
|
'natives_blob',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['component=="shared_library"', {
|
|
|
|
'defines': [
|
|
|
|
'V8_SHARED',
|
|
|
|
'BUILDING_V8_SHARED',
|
|
|
|
],
|
|
|
|
'direct_dependent_settings': {
|
|
|
|
'defines': [
|
|
|
|
'V8_SHARED',
|
|
|
|
'USING_V8_SHARED',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'v8_base',
|
|
|
|
],
|
|
|
|
'include_dirs+': [
|
|
|
|
'../..',
|
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/trig-table.cc',
|
|
|
|
'../../src/natives-external.cc',
|
|
|
|
'../../src/snapshot-external.cc',
|
|
|
|
],
|
|
|
|
'actions': [
|
|
|
|
{
|
|
|
|
'action_name': 'run_mksnapshot (external)',
|
|
|
|
'inputs': [
|
|
|
|
'<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)',
|
|
|
|
],
|
|
|
|
'outputs': [
|
|
|
|
'<(INTERMEDIATE_DIR)/snapshot.cc',
|
|
|
|
'<(PRODUCT_DIR)/snapshot_blob.bin',
|
|
|
|
],
|
|
|
|
'variables': {
|
|
|
|
'mksnapshot_flags': [
|
|
|
|
'--log-snapshot-positions',
|
|
|
|
'--logfile', '<(INTERMEDIATE_DIR)/snapshot.log',
|
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
['v8_random_seed!=0', {
|
|
|
|
'mksnapshot_flags': ['--random-seed', '<(v8_random_seed)'],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'action': [
|
|
|
|
'<@(_inputs)',
|
|
|
|
'<@(mksnapshot_flags)',
|
|
|
|
'<@(INTERMEDIATE_DIR)/snapshot.cc',
|
|
|
|
'--startup_blob', '<(PRODUCT_DIR)/snapshot_blob.bin',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
2013-11-22 08:25:50 +00:00
|
|
|
{ 'target_name': 'generate_trig_table',
|
|
|
|
'type': 'none',
|
|
|
|
'conditions': [
|
|
|
|
['want_separate_host_toolset==1', {
|
2013-11-26 08:50:15 +00:00
|
|
|
'toolsets': ['host'],
|
2013-11-22 08:25:50 +00:00
|
|
|
}, {
|
|
|
|
'toolsets': ['target'],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
'actions': [
|
|
|
|
{
|
|
|
|
'action_name': 'generate',
|
|
|
|
'inputs': [
|
|
|
|
'../../tools/generate-trig-table.py',
|
|
|
|
],
|
|
|
|
'outputs': [
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/trig-table.cc',
|
|
|
|
],
|
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'../../tools/generate-trig-table.py',
|
|
|
|
'<@(_outputs)',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
2013-05-15 13:09:57 +00:00
|
|
|
{
|
2014-05-22 09:04:24 +00:00
|
|
|
'target_name': 'v8_base',
|
2013-05-15 13:09:57 +00:00
|
|
|
'type': 'static_library',
|
2014-04-23 11:51:28 +00:00
|
|
|
'dependencies': [
|
2014-06-13 11:02:34 +00:00
|
|
|
'v8_libbase',
|
2014-04-23 11:51:28 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
'variables': {
|
|
|
|
'optimize': 'max',
|
|
|
|
},
|
|
|
|
'include_dirs+': [
|
2014-06-03 08:12:43 +00:00
|
|
|
'../..',
|
2013-05-15 13:09:57 +00:00
|
|
|
],
|
|
|
|
'sources': [ ### gcmole(all) ###
|
|
|
|
'../../src/accessors.cc',
|
|
|
|
'../../src/accessors.h',
|
|
|
|
'../../src/allocation.cc',
|
|
|
|
'../../src/allocation.h',
|
2013-10-16 08:10:36 +00:00
|
|
|
'../../src/allocation-site-scopes.cc',
|
|
|
|
'../../src/allocation-site-scopes.h',
|
2013-11-14 12:13:26 +00:00
|
|
|
'../../src/allocation-tracker.cc',
|
|
|
|
'../../src/allocation-tracker.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/api.cc',
|
|
|
|
'../../src/api.h',
|
2013-05-21 06:36:24 +00:00
|
|
|
'../../src/arguments.cc',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/arguments.h',
|
|
|
|
'../../src/assembler.cc',
|
|
|
|
'../../src/assembler.h',
|
2013-06-03 15:32:22 +00:00
|
|
|
'../../src/assert-scope.h',
|
2014-03-19 11:31:43 +00:00
|
|
|
'../../src/assert-scope.cc',
|
2014-06-24 14:03:24 +00:00
|
|
|
'../../src/ast-value-factory.cc',
|
|
|
|
'../../src/ast-value-factory.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/ast.cc',
|
|
|
|
'../../src/ast.h',
|
|
|
|
'../../src/bignum-dtoa.cc',
|
|
|
|
'../../src/bignum-dtoa.h',
|
|
|
|
'../../src/bignum.cc',
|
|
|
|
'../../src/bignum.h',
|
|
|
|
'../../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.h',
|
|
|
|
'../../src/code-stubs.cc',
|
|
|
|
'../../src/code-stubs.h',
|
|
|
|
'../../src/code-stubs-hydrogen.cc',
|
|
|
|
'../../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',
|
|
|
|
'../../src/data-flow.cc',
|
|
|
|
'../../src/data-flow.h',
|
|
|
|
'../../src/date.cc',
|
|
|
|
'../../src/date.h',
|
|
|
|
'../../src/dateparser-inl.h',
|
|
|
|
'../../src/dateparser.cc',
|
|
|
|
'../../src/dateparser.h',
|
|
|
|
'../../src/debug.cc',
|
|
|
|
'../../src/debug.h',
|
|
|
|
'../../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',
|
|
|
|
'../../src/dtoa.cc',
|
|
|
|
'../../src/dtoa.h',
|
2013-08-06 12:57:23 +00:00
|
|
|
'../../src/effects.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/elements-kind.cc',
|
|
|
|
'../../src/elements-kind.h',
|
|
|
|
'../../src/elements.cc',
|
|
|
|
'../../src/elements.h',
|
|
|
|
'../../src/execution.cc',
|
|
|
|
'../../src/execution.h',
|
|
|
|
'../../src/extensions/externalize-string-extension.cc',
|
|
|
|
'../../src/extensions/externalize-string-extension.h',
|
2013-11-27 09:22:04 +00:00
|
|
|
'../../src/extensions/free-buffer-extension.cc',
|
|
|
|
'../../src/extensions/free-buffer-extension.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/extensions/gc-extension.cc',
|
|
|
|
'../../src/extensions/gc-extension.h',
|
|
|
|
'../../src/extensions/statistics-extension.cc',
|
|
|
|
'../../src/extensions/statistics-extension.h',
|
2013-12-05 17:26:22 +00:00
|
|
|
'../../src/extensions/trigger-failure-extension.cc',
|
|
|
|
'../../src/extensions/trigger-failure-extension.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/factory.cc',
|
|
|
|
'../../src/factory.h',
|
|
|
|
'../../src/fast-dtoa.cc',
|
|
|
|
'../../src/fast-dtoa.h',
|
2014-02-10 21:38:17 +00:00
|
|
|
'../../src/feedback-slots.h',
|
2014-06-10 14:01:08 +00:00
|
|
|
'../../src/field-index.cc',
|
|
|
|
'../../src/field-index.h',
|
|
|
|
'../../src/field-index-inl.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/fixed-dtoa.cc',
|
|
|
|
'../../src/fixed-dtoa.h',
|
|
|
|
'../../src/flag-definitions.h',
|
|
|
|
'../../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/gdb-jit.cc',
|
|
|
|
'../../src/gdb-jit.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',
|
|
|
|
'../../src/heap-snapshot-generator-inl.h',
|
|
|
|
'../../src/heap-snapshot-generator.cc',
|
|
|
|
'../../src/heap-snapshot-generator.h',
|
|
|
|
'../../src/heap.cc',
|
|
|
|
'../../src/heap.h',
|
2013-09-11 10:53:56 +00:00
|
|
|
'../../src/hydrogen-alias-analysis.h',
|
2013-07-08 08:36:28 +00:00
|
|
|
'../../src/hydrogen-bce.cc',
|
|
|
|
'../../src/hydrogen-bce.h',
|
2013-07-25 06:37:25 +00:00
|
|
|
'../../src/hydrogen-bch.cc',
|
|
|
|
'../../src/hydrogen-bch.h',
|
2013-07-11 08:21:50 +00:00
|
|
|
'../../src/hydrogen-canonicalize.cc',
|
|
|
|
'../../src/hydrogen-canonicalize.h',
|
2013-09-26 16:25:57 +00:00
|
|
|
'../../src/hydrogen-check-elimination.cc',
|
|
|
|
'../../src/hydrogen-check-elimination.h',
|
2013-07-07 06:00:15 +00:00
|
|
|
'../../src/hydrogen-dce.cc',
|
|
|
|
'../../src/hydrogen-dce.h',
|
2013-07-11 12:03:43 +00:00
|
|
|
'../../src/hydrogen-dehoist.cc',
|
|
|
|
'../../src/hydrogen-dehoist.h',
|
2013-06-04 16:41:24 +00:00
|
|
|
'../../src/hydrogen-environment-liveness.cc',
|
|
|
|
'../../src/hydrogen-environment-liveness.h',
|
2013-06-28 16:09:54 +00:00
|
|
|
'../../src/hydrogen-escape-analysis.cc',
|
|
|
|
'../../src/hydrogen-escape-analysis.h',
|
2013-10-11 13:00:42 +00:00
|
|
|
'../../src/hydrogen-flow-engine.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/hydrogen-instructions.cc',
|
|
|
|
'../../src/hydrogen-instructions.h',
|
|
|
|
'../../src/hydrogen.cc',
|
|
|
|
'../../src/hydrogen.h',
|
2013-05-27 12:45:46 +00:00
|
|
|
'../../src/hydrogen-gvn.cc',
|
|
|
|
'../../src/hydrogen-gvn.h',
|
2013-06-28 07:40:35 +00:00
|
|
|
'../../src/hydrogen-infer-representation.cc',
|
|
|
|
'../../src/hydrogen-infer-representation.h',
|
2013-07-08 08:33:03 +00:00
|
|
|
'../../src/hydrogen-infer-types.cc',
|
|
|
|
'../../src/hydrogen-infer-types.h',
|
2013-09-17 15:32:21 +00:00
|
|
|
'../../src/hydrogen-load-elimination.cc',
|
|
|
|
'../../src/hydrogen-load-elimination.h',
|
2013-07-30 10:25:20 +00:00
|
|
|
'../../src/hydrogen-mark-deoptimize.cc',
|
|
|
|
'../../src/hydrogen-mark-deoptimize.h',
|
2013-10-02 11:43:41 +00:00
|
|
|
'../../src/hydrogen-mark-unreachable.cc',
|
|
|
|
'../../src/hydrogen-mark-unreachable.h',
|
2013-09-12 12:08:54 +00:00
|
|
|
'../../src/hydrogen-osr.cc',
|
|
|
|
'../../src/hydrogen-osr.h',
|
2013-07-04 19:25:16 +00:00
|
|
|
'../../src/hydrogen-range-analysis.cc',
|
|
|
|
'../../src/hydrogen-range-analysis.h',
|
2013-07-08 08:18:29 +00:00
|
|
|
'../../src/hydrogen-redundant-phi.cc',
|
|
|
|
'../../src/hydrogen-redundant-phi.h',
|
2013-07-10 16:34:28 +00:00
|
|
|
'../../src/hydrogen-removable-simulates.cc',
|
|
|
|
'../../src/hydrogen-removable-simulates.h',
|
2013-07-08 09:02:09 +00:00
|
|
|
'../../src/hydrogen-representation-changes.cc',
|
|
|
|
'../../src/hydrogen-representation-changes.h',
|
2013-07-08 07:03:57 +00:00
|
|
|
'../../src/hydrogen-sce.cc',
|
|
|
|
'../../src/hydrogen-sce.h',
|
2014-03-25 09:06:16 +00:00
|
|
|
'../../src/hydrogen-store-elimination.cc',
|
|
|
|
'../../src/hydrogen-store-elimination.h',
|
2014-05-29 04:13:50 +00:00
|
|
|
'../../src/hydrogen-types.cc',
|
|
|
|
'../../src/hydrogen-types.h',
|
2013-07-02 10:53:08 +00:00
|
|
|
'../../src/hydrogen-uint32-analysis.cc',
|
|
|
|
'../../src/hydrogen-uint32-analysis.h',
|
2013-08-20 08:46:36 +00:00
|
|
|
'../../src/i18n.cc',
|
|
|
|
'../../src/i18n.h',
|
2013-07-11 09:58:54 +00:00
|
|
|
'../../src/icu_util.cc',
|
|
|
|
'../../src/icu_util.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/ic-inl.h',
|
|
|
|
'../../src/ic.cc',
|
|
|
|
'../../src/ic.h',
|
|
|
|
'../../src/incremental-marking.cc',
|
|
|
|
'../../src/incremental-marking.h',
|
|
|
|
'../../src/interface.cc',
|
|
|
|
'../../src/interface.h',
|
|
|
|
'../../src/interpreter-irregexp.cc',
|
|
|
|
'../../src/interpreter-irregexp.h',
|
|
|
|
'../../src/isolate.cc',
|
|
|
|
'../../src/isolate.h',
|
|
|
|
'../../src/json-parser.h',
|
|
|
|
'../../src/json-stringifier.h',
|
|
|
|
'../../src/jsregexp-inl.h',
|
|
|
|
'../../src/jsregexp.cc',
|
|
|
|
'../../src/jsregexp.h',
|
|
|
|
'../../src/list-inl.h',
|
|
|
|
'../../src/list.h',
|
|
|
|
'../../src/lithium-allocator-inl.h',
|
|
|
|
'../../src/lithium-allocator.cc',
|
|
|
|
'../../src/lithium-allocator.h',
|
2013-10-02 11:43:41 +00:00
|
|
|
'../../src/lithium-codegen.cc',
|
|
|
|
'../../src/lithium-codegen.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/lithium.cc',
|
|
|
|
'../../src/lithium.h',
|
|
|
|
'../../src/liveedit.cc',
|
|
|
|
'../../src/liveedit.h',
|
|
|
|
'../../src/log-inl.h',
|
|
|
|
'../../src/log-utils.cc',
|
|
|
|
'../../src/log-utils.h',
|
|
|
|
'../../src/log.cc',
|
|
|
|
'../../src/log.h',
|
2014-06-11 09:59:14 +00:00
|
|
|
'../../src/lookup.cc',
|
|
|
|
'../../src/lookup.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/macro-assembler.h',
|
|
|
|
'../../src/mark-compact.cc',
|
|
|
|
'../../src/mark-compact.h',
|
|
|
|
'../../src/messages.cc',
|
|
|
|
'../../src/messages.h',
|
2014-04-01 12:40:58 +00:00
|
|
|
'../../src/msan.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/natives.h',
|
|
|
|
'../../src/objects-debug.cc',
|
|
|
|
'../../src/objects-inl.h',
|
|
|
|
'../../src/objects-printer.cc',
|
|
|
|
'../../src/objects-visiting.cc',
|
|
|
|
'../../src/objects-visiting.h',
|
|
|
|
'../../src/objects.cc',
|
|
|
|
'../../src/objects.h',
|
|
|
|
'../../src/optimizing-compiler-thread.cc',
|
2014-06-27 08:42:17 +00:00
|
|
|
'../../src/optimizing-compiler-thread.h',
|
|
|
|
'../../src/ostreams.cc',
|
|
|
|
'../../src/ostreams.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/parser.cc',
|
|
|
|
'../../src/parser.h',
|
2014-07-03 19:18:26 +00:00
|
|
|
'../../src/perf-jit.cc',
|
|
|
|
'../../src/perf-jit.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/preparse-data-format.h',
|
|
|
|
'../../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',
|
|
|
|
'../../src/property-details.h',
|
|
|
|
'../../src/property.cc',
|
|
|
|
'../../src/property.h',
|
2014-07-14 07:19:49 +00:00
|
|
|
'../../src/prototype.h',
|
2013-05-15 13:09:57 +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',
|
|
|
|
'../../src/runtime.cc',
|
|
|
|
'../../src/runtime.h',
|
|
|
|
'../../src/safepoint-table.cc',
|
|
|
|
'../../src/safepoint-table.h',
|
|
|
|
'../../src/sampler.cc',
|
|
|
|
'../../src/sampler.h',
|
|
|
|
'../../src/scanner-character-streams.cc',
|
|
|
|
'../../src/scanner-character-streams.h',
|
|
|
|
'../../src/scanner.cc',
|
|
|
|
'../../src/scanner.h',
|
|
|
|
'../../src/scopeinfo.cc',
|
|
|
|
'../../src/scopeinfo.h',
|
|
|
|
'../../src/scopes.cc',
|
|
|
|
'../../src/scopes.h',
|
|
|
|
'../../src/serialize.cc',
|
|
|
|
'../../src/serialize.h',
|
|
|
|
'../../src/small-pointer-list.h',
|
|
|
|
'../../src/smart-pointers.h',
|
|
|
|
'../../src/snapshot.h',
|
2014-06-23 13:52:17 +00:00
|
|
|
'../../src/snapshot-source-sink.cc',
|
|
|
|
'../../src/snapshot-source-sink.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/spaces-inl.h',
|
|
|
|
'../../src/spaces.cc',
|
|
|
|
'../../src/spaces.h',
|
|
|
|
'../../src/store-buffer-inl.h',
|
|
|
|
'../../src/store-buffer.cc',
|
|
|
|
'../../src/store-buffer.h',
|
|
|
|
'../../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/sweeper-thread.h',
|
|
|
|
'../../src/sweeper-thread.cc',
|
|
|
|
'../../src/token.cc',
|
|
|
|
'../../src/token.h',
|
|
|
|
'../../src/transitions-inl.h',
|
|
|
|
'../../src/transitions.cc',
|
|
|
|
'../../src/transitions.h',
|
|
|
|
'../../src/type-info.cc',
|
|
|
|
'../../src/type-info.h',
|
2014-04-01 11:07:09 +00:00
|
|
|
'../../src/types-inl.h',
|
2013-06-05 15:43:53 +00:00
|
|
|
'../../src/types.cc',
|
|
|
|
'../../src/types.h',
|
2013-05-27 13:59:20 +00:00
|
|
|
'../../src/typing.cc',
|
|
|
|
'../../src/typing.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/unbound-queue-inl.h',
|
|
|
|
'../../src/unbound-queue.h',
|
|
|
|
'../../src/unicode-inl.h',
|
|
|
|
'../../src/unicode.cc',
|
|
|
|
'../../src/unicode.h',
|
2013-09-12 12:08:54 +00:00
|
|
|
'../../src/unique.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/uri.h',
|
|
|
|
'../../src/utils-inl.h',
|
|
|
|
'../../src/utils.cc',
|
|
|
|
'../../src/utils.h',
|
|
|
|
'../../src/v8.cc',
|
|
|
|
'../../src/v8.h',
|
|
|
|
'../../src/v8memory.h',
|
|
|
|
'../../src/v8threads.cc',
|
|
|
|
'../../src/v8threads.h',
|
|
|
|
'../../src/variables.cc',
|
|
|
|
'../../src/variables.h',
|
2014-04-25 13:43:58 +00:00
|
|
|
'../../src/vector.h',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../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',
|
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'toolsets': ['host', 'target'],
|
|
|
|
}, {
|
|
|
|
'toolsets': ['target'],
|
|
|
|
}],
|
|
|
|
['v8_target_arch=="arm"', {
|
|
|
|
'sources': [ ### gcmole(arch:arm) ###
|
|
|
|
'../../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',
|
|
|
|
'../../src/arm/lithium-codegen-arm.cc',
|
|
|
|
'../../src/arm/lithium-codegen-arm.h',
|
|
|
|
'../../src/arm/lithium-gap-resolver-arm.cc',
|
|
|
|
'../../src/arm/lithium-gap-resolver-arm.h',
|
|
|
|
'../../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',
|
2009-07-08 14:56:56 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
}],
|
2014-03-21 09:28:26 +00:00
|
|
|
['v8_target_arch=="arm64"', {
|
|
|
|
'sources': [ ### gcmole(arch:arm64) ###
|
|
|
|
'../../src/arm64/assembler-arm64.cc',
|
|
|
|
'../../src/arm64/assembler-arm64.h',
|
|
|
|
'../../src/arm64/assembler-arm64-inl.h',
|
|
|
|
'../../src/arm64/builtins-arm64.cc',
|
|
|
|
'../../src/arm64/codegen-arm64.cc',
|
|
|
|
'../../src/arm64/codegen-arm64.h',
|
|
|
|
'../../src/arm64/code-stubs-arm64.cc',
|
|
|
|
'../../src/arm64/code-stubs-arm64.h',
|
|
|
|
'../../src/arm64/constants-arm64.h',
|
|
|
|
'../../src/arm64/cpu-arm64.cc',
|
|
|
|
'../../src/arm64/debug-arm64.cc',
|
|
|
|
'../../src/arm64/decoder-arm64.cc',
|
|
|
|
'../../src/arm64/decoder-arm64.h',
|
|
|
|
'../../src/arm64/decoder-arm64-inl.h',
|
2014-06-23 16:00:53 +00:00
|
|
|
'../../src/arm64/delayed-masm-arm64.cc',
|
|
|
|
'../../src/arm64/delayed-masm-arm64.h',
|
|
|
|
'../../src/arm64/delayed-masm-arm64-inl.h',
|
2014-03-21 09:28:26 +00:00
|
|
|
'../../src/arm64/deoptimizer-arm64.cc',
|
|
|
|
'../../src/arm64/disasm-arm64.cc',
|
|
|
|
'../../src/arm64/disasm-arm64.h',
|
|
|
|
'../../src/arm64/frames-arm64.cc',
|
|
|
|
'../../src/arm64/frames-arm64.h',
|
|
|
|
'../../src/arm64/full-codegen-arm64.cc',
|
|
|
|
'../../src/arm64/ic-arm64.cc',
|
|
|
|
'../../src/arm64/instructions-arm64.cc',
|
|
|
|
'../../src/arm64/instructions-arm64.h',
|
|
|
|
'../../src/arm64/instrument-arm64.cc',
|
|
|
|
'../../src/arm64/instrument-arm64.h',
|
|
|
|
'../../src/arm64/lithium-arm64.cc',
|
|
|
|
'../../src/arm64/lithium-arm64.h',
|
|
|
|
'../../src/arm64/lithium-codegen-arm64.cc',
|
|
|
|
'../../src/arm64/lithium-codegen-arm64.h',
|
|
|
|
'../../src/arm64/lithium-gap-resolver-arm64.cc',
|
|
|
|
'../../src/arm64/lithium-gap-resolver-arm64.h',
|
|
|
|
'../../src/arm64/macro-assembler-arm64.cc',
|
|
|
|
'../../src/arm64/macro-assembler-arm64.h',
|
|
|
|
'../../src/arm64/macro-assembler-arm64-inl.h',
|
|
|
|
'../../src/arm64/regexp-macro-assembler-arm64.cc',
|
|
|
|
'../../src/arm64/regexp-macro-assembler-arm64.h',
|
|
|
|
'../../src/arm64/simulator-arm64.cc',
|
|
|
|
'../../src/arm64/simulator-arm64.h',
|
|
|
|
'../../src/arm64/stub-cache-arm64.cc',
|
|
|
|
'../../src/arm64/utils-arm64.cc',
|
|
|
|
'../../src/arm64/utils-arm64.h',
|
2014-02-12 09:19:30 +00:00
|
|
|
],
|
|
|
|
}],
|
2014-05-06 15:25:51 +00:00
|
|
|
['v8_target_arch=="ia32"', {
|
2013-05-15 13:09:57 +00:00
|
|
|
'sources': [ ### gcmole(arch:ia32) ###
|
|
|
|
'../../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',
|
|
|
|
'../../src/ia32/lithium-gap-resolver-ia32.cc',
|
|
|
|
'../../src/ia32/lithium-gap-resolver-ia32.h',
|
|
|
|
'../../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',
|
2009-07-08 14:56:56 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
}],
|
2014-05-23 16:37:27 +00:00
|
|
|
['v8_target_arch=="x87"', {
|
|
|
|
'sources': [ ### gcmole(arch:x87) ###
|
|
|
|
'../../src/x87/assembler-x87-inl.h',
|
|
|
|
'../../src/x87/assembler-x87.cc',
|
|
|
|
'../../src/x87/assembler-x87.h',
|
|
|
|
'../../src/x87/builtins-x87.cc',
|
|
|
|
'../../src/x87/code-stubs-x87.cc',
|
|
|
|
'../../src/x87/code-stubs-x87.h',
|
|
|
|
'../../src/x87/codegen-x87.cc',
|
|
|
|
'../../src/x87/codegen-x87.h',
|
|
|
|
'../../src/x87/cpu-x87.cc',
|
|
|
|
'../../src/x87/debug-x87.cc',
|
|
|
|
'../../src/x87/deoptimizer-x87.cc',
|
|
|
|
'../../src/x87/disasm-x87.cc',
|
|
|
|
'../../src/x87/frames-x87.cc',
|
|
|
|
'../../src/x87/frames-x87.h',
|
|
|
|
'../../src/x87/full-codegen-x87.cc',
|
|
|
|
'../../src/x87/ic-x87.cc',
|
|
|
|
'../../src/x87/lithium-codegen-x87.cc',
|
|
|
|
'../../src/x87/lithium-codegen-x87.h',
|
|
|
|
'../../src/x87/lithium-gap-resolver-x87.cc',
|
|
|
|
'../../src/x87/lithium-gap-resolver-x87.h',
|
|
|
|
'../../src/x87/lithium-x87.cc',
|
|
|
|
'../../src/x87/lithium-x87.h',
|
|
|
|
'../../src/x87/macro-assembler-x87.cc',
|
|
|
|
'../../src/x87/macro-assembler-x87.h',
|
|
|
|
'../../src/x87/regexp-macro-assembler-x87.cc',
|
|
|
|
'../../src/x87/regexp-macro-assembler-x87.h',
|
|
|
|
'../../src/x87/stub-cache-x87.cc',
|
|
|
|
],
|
|
|
|
}],
|
2014-04-15 16:39:21 +00:00
|
|
|
['v8_target_arch=="mips" or v8_target_arch=="mipsel"', {
|
2013-05-15 13:09:57 +00:00
|
|
|
'sources': [ ### gcmole(arch:mipsel) ###
|
|
|
|
'../../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',
|
2009-07-28 20:32:57 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
}],
|
2014-07-09 11:08:26 +00:00
|
|
|
['v8_target_arch=="mips64el"', {
|
|
|
|
'sources': [ ### gcmole(arch:mips64el) ###
|
|
|
|
'../../src/mips64/assembler-mips64.cc',
|
|
|
|
'../../src/mips64/assembler-mips64.h',
|
|
|
|
'../../src/mips64/assembler-mips64-inl.h',
|
|
|
|
'../../src/mips64/builtins-mips64.cc',
|
|
|
|
'../../src/mips64/codegen-mips64.cc',
|
|
|
|
'../../src/mips64/codegen-mips64.h',
|
|
|
|
'../../src/mips64/code-stubs-mips64.cc',
|
|
|
|
'../../src/mips64/code-stubs-mips64.h',
|
|
|
|
'../../src/mips64/constants-mips64.cc',
|
|
|
|
'../../src/mips64/constants-mips64.h',
|
|
|
|
'../../src/mips64/cpu-mips64.cc',
|
|
|
|
'../../src/mips64/debug-mips64.cc',
|
|
|
|
'../../src/mips64/deoptimizer-mips64.cc',
|
|
|
|
'../../src/mips64/disasm-mips64.cc',
|
|
|
|
'../../src/mips64/frames-mips64.cc',
|
|
|
|
'../../src/mips64/frames-mips64.h',
|
|
|
|
'../../src/mips64/full-codegen-mips64.cc',
|
|
|
|
'../../src/mips64/ic-mips64.cc',
|
|
|
|
'../../src/mips64/lithium-codegen-mips64.cc',
|
|
|
|
'../../src/mips64/lithium-codegen-mips64.h',
|
|
|
|
'../../src/mips64/lithium-gap-resolver-mips64.cc',
|
|
|
|
'../../src/mips64/lithium-gap-resolver-mips64.h',
|
|
|
|
'../../src/mips64/lithium-mips64.cc',
|
|
|
|
'../../src/mips64/lithium-mips64.h',
|
|
|
|
'../../src/mips64/macro-assembler-mips64.cc',
|
|
|
|
'../../src/mips64/macro-assembler-mips64.h',
|
|
|
|
'../../src/mips64/regexp-macro-assembler-mips64.cc',
|
|
|
|
'../../src/mips64/regexp-macro-assembler-mips64.h',
|
|
|
|
'../../src/mips64/simulator-mips64.cc',
|
|
|
|
'../../src/mips64/stub-cache-mips64.cc',
|
|
|
|
],
|
|
|
|
}],
|
2014-06-24 05:27:44 +00:00
|
|
|
['v8_target_arch=="x64" or v8_target_arch=="x32"', {
|
2013-05-15 13:09:57 +00:00
|
|
|
'sources': [ ### gcmole(arch:x64) ###
|
|
|
|
'../../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',
|
|
|
|
'../../src/x64/lithium-codegen-x64.cc',
|
|
|
|
'../../src/x64/lithium-codegen-x64.h',
|
|
|
|
'../../src/x64/lithium-gap-resolver-x64.cc',
|
|
|
|
'../../src/x64/lithium-gap-resolver-x64.h',
|
|
|
|
'../../src/x64/lithium-x64.cc',
|
|
|
|
'../../src/x64/lithium-x64.h',
|
|
|
|
'../../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',
|
2009-07-28 20:32:57 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
}],
|
|
|
|
['OS=="linux"', {
|
|
|
|
'link_settings': {
|
|
|
|
'conditions': [
|
|
|
|
['v8_compress_startup_data=="bz2"', {
|
|
|
|
'libraries': [
|
|
|
|
'-lbz2',
|
|
|
|
]
|
|
|
|
}],
|
2011-01-04 12:14:10 +00:00
|
|
|
],
|
2014-06-30 13:25:46 +00:00
|
|
|
},
|
|
|
|
}
|
|
|
|
],
|
|
|
|
['OS=="win"', {
|
|
|
|
'variables': {
|
|
|
|
'gyp_generators': '<!(echo $GYP_GENERATORS)',
|
|
|
|
},
|
|
|
|
'msvs_disabled_warnings': [4351, 4355, 4800],
|
|
|
|
}],
|
|
|
|
['component=="shared_library"', {
|
|
|
|
'defines': [
|
|
|
|
'BUILDING_V8_SHARED',
|
|
|
|
'V8_SHARED',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['v8_postmortem_support=="true"', {
|
|
|
|
'sources': [
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/debug-support.cc',
|
|
|
|
]
|
|
|
|
}],
|
|
|
|
['v8_enable_i18n_support==1', {
|
|
|
|
'dependencies': [
|
|
|
|
'<(icu_gyp_path):icui18n',
|
|
|
|
'<(icu_gyp_path):icuuc',
|
|
|
|
]
|
|
|
|
}, { # v8_enable_i18n_support==0
|
|
|
|
'sources!': [
|
|
|
|
'../../src/i18n.cc',
|
|
|
|
'../../src/i18n.h',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['OS=="win" and v8_enable_i18n_support==1', {
|
|
|
|
'dependencies': [
|
|
|
|
'<(icu_gyp_path):icudata',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['icu_use_data_file_flag==1', {
|
|
|
|
'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE'],
|
|
|
|
}, { # else icu_use_data_file_flag !=1
|
|
|
|
'conditions': [
|
|
|
|
['OS=="win"', {
|
|
|
|
'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_SHARED'],
|
|
|
|
}, {
|
|
|
|
'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC'],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'target_name': 'v8_libbase',
|
|
|
|
'type': 'static_library',
|
|
|
|
'variables': {
|
|
|
|
'optimize': 'max',
|
|
|
|
},
|
|
|
|
'include_dirs+': [
|
|
|
|
'../..',
|
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'../../src/base/atomicops.h',
|
|
|
|
'../../src/base/atomicops_internals_arm64_gcc.h',
|
|
|
|
'../../src/base/atomicops_internals_arm_gcc.h',
|
|
|
|
'../../src/base/atomicops_internals_atomicword_compat.h',
|
|
|
|
'../../src/base/atomicops_internals_mac.h',
|
|
|
|
'../../src/base/atomicops_internals_mips_gcc.h',
|
|
|
|
'../../src/base/atomicops_internals_tsan.h',
|
|
|
|
'../../src/base/atomicops_internals_x86_gcc.cc',
|
|
|
|
'../../src/base/atomicops_internals_x86_gcc.h',
|
|
|
|
'../../src/base/atomicops_internals_x86_msvc.h',
|
|
|
|
'../../src/base/build_config.h',
|
|
|
|
'../../src/base/cpu.cc',
|
|
|
|
'../../src/base/cpu.h',
|
|
|
|
'../../src/base/lazy-instance.h',
|
|
|
|
'../../src/base/logging.cc',
|
|
|
|
'../../src/base/logging.h',
|
|
|
|
'../../src/base/macros.h',
|
|
|
|
'../../src/base/once.cc',
|
|
|
|
'../../src/base/once.h',
|
|
|
|
'../../src/base/platform/elapsed-timer.h',
|
|
|
|
'../../src/base/platform/time.cc',
|
|
|
|
'../../src/base/platform/time.h',
|
|
|
|
'../../src/base/platform/condition-variable.cc',
|
|
|
|
'../../src/base/platform/condition-variable.h',
|
|
|
|
'../../src/base/platform/mutex.cc',
|
|
|
|
'../../src/base/platform/mutex.h',
|
|
|
|
'../../src/base/platform/platform.h',
|
|
|
|
'../../src/base/platform/semaphore.cc',
|
|
|
|
'../../src/base/platform/semaphore.h',
|
|
|
|
'../../src/base/safe_conversions.h',
|
|
|
|
'../../src/base/safe_conversions_impl.h',
|
|
|
|
'../../src/base/safe_math.h',
|
|
|
|
'../../src/base/safe_math_impl.h',
|
|
|
|
'../../src/base/utils/random-number-generator.cc',
|
|
|
|
'../../src/base/utils/random-number-generator.h',
|
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'toolsets': ['host', 'target'],
|
|
|
|
}, {
|
|
|
|
'toolsets': ['target'],
|
|
|
|
}],
|
|
|
|
['OS=="linux"', {
|
|
|
|
'link_settings': {
|
2013-08-29 09:15:13 +00:00
|
|
|
'libraries': [
|
|
|
|
'-lrt'
|
|
|
|
]
|
2013-05-15 13:09:57 +00:00
|
|
|
},
|
2014-06-30 13:25:46 +00:00
|
|
|
'sources': [
|
|
|
|
'../../src/base/platform/platform-linux.cc',
|
|
|
|
'../../src/base/platform/platform-posix.cc'
|
2011-05-24 14:49:02 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
['OS=="android"', {
|
|
|
|
'sources': [
|
2014-06-30 13:25:46 +00:00
|
|
|
'../../src/base/platform/platform-posix.cc'
|
2013-05-15 13:09:57 +00:00
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
['host_os=="mac"', {
|
|
|
|
'target_conditions': [
|
|
|
|
['_toolset=="host"', {
|
|
|
|
'sources': [
|
2014-06-30 13:25:46 +00:00
|
|
|
'../../src/base/platform/platform-macos.cc'
|
2013-05-15 13:09:57 +00:00
|
|
|
]
|
2011-05-24 14:49:02 +00:00
|
|
|
}, {
|
|
|
|
'sources': [
|
2014-06-30 13:25:46 +00:00
|
|
|
'../../src/base/platform/platform-linux.cc'
|
2011-05-24 14:49:02 +00:00
|
|
|
]
|
|
|
|
}],
|
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
}, {
|
2013-08-30 14:10:13 +00:00
|
|
|
# TODO(bmeurer): What we really want here, is this:
|
|
|
|
#
|
|
|
|
# 'link_settings': {
|
|
|
|
# 'target_conditions': [
|
|
|
|
# ['_toolset=="host"', {
|
|
|
|
# 'libraries': [
|
|
|
|
# '-lrt'
|
|
|
|
# ]
|
|
|
|
# }]
|
|
|
|
# ]
|
|
|
|
# },
|
|
|
|
#
|
|
|
|
# but we can't do this right now, as the AOSP does not support
|
|
|
|
# linking against the host librt, so we need to work around this
|
|
|
|
# for now, using the following hack (see platform/time.cc):
|
|
|
|
'target_conditions': [
|
|
|
|
['_toolset=="host"', {
|
|
|
|
'defines': [
|
2013-09-01 15:03:36 +00:00
|
|
|
'V8_LIBRT_NOT_AVAILABLE=1',
|
2013-08-30 14:10:13 +00:00
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
2011-01-04 12:14:10 +00:00
|
|
|
'sources': [
|
2014-06-30 13:25:46 +00:00
|
|
|
'../../src/base/platform/platform-linux.cc'
|
2013-05-15 13:09:57 +00:00
|
|
|
]
|
|
|
|
}],
|
2010-04-06 09:27:09 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
},
|
|
|
|
],
|
2014-01-02 07:04:05 +00:00
|
|
|
['OS=="qnx"', {
|
|
|
|
'link_settings': {
|
|
|
|
'target_conditions': [
|
|
|
|
['_toolset=="host" and host_os=="linux"', {
|
|
|
|
'libraries': [
|
|
|
|
'-lrt'
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['_toolset=="target"', {
|
|
|
|
'libraries': [
|
2014-05-14 16:34:13 +00:00
|
|
|
'-lbacktrace'
|
2014-01-02 07:04:05 +00:00
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'sources': [
|
2014-06-30 13:25:46 +00:00
|
|
|
'../../src/base/platform/platform-posix.cc',
|
|
|
|
'../../src/base/qnx-math.h',
|
2014-01-02 07:04:05 +00:00
|
|
|
],
|
|
|
|
'target_conditions': [
|
|
|
|
['_toolset=="host" and host_os=="linux"', {
|
|
|
|
'sources': [
|
2014-06-30 13:25:46 +00:00
|
|
|
'../../src/base/platform/platform-linux.cc'
|
2014-01-02 07:04:05 +00:00
|
|
|
],
|
|
|
|
}],
|
|
|
|
['_toolset=="host" and host_os=="mac"', {
|
|
|
|
'sources': [
|
2014-06-30 13:25:46 +00:00
|
|
|
'../../src/base/platform/platform-macos.cc'
|
2014-01-02 07:04:05 +00:00
|
|
|
],
|
|
|
|
}],
|
|
|
|
['_toolset=="target"', {
|
|
|
|
'sources': [
|
2014-06-30 13:25:46 +00:00
|
|
|
'../../src/base/platform/platform-qnx.cc'
|
2014-01-02 07:04:05 +00:00
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
['OS=="freebsd"', {
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-L/usr/local/lib -lexecinfo',
|
|
|
|
]},
|
|
|
|
'sources': [
|
2014-06-30 13:25:46 +00:00
|
|
|
'../../src/base/platform/platform-freebsd.cc',
|
|
|
|
'../../src/base/platform/platform-posix.cc'
|
2009-12-02 13:38:50 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
['OS=="openbsd"', {
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-L/usr/local/lib -lexecinfo',
|
|
|
|
]},
|
|
|
|
'sources': [
|
2014-06-30 13:25:46 +00:00
|
|
|
'../../src/base/platform/platform-openbsd.cc',
|
|
|
|
'../../src/base/platform/platform-posix.cc'
|
2012-01-05 12:17:08 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
['OS=="netbsd"', {
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lexecinfo',
|
|
|
|
]},
|
|
|
|
'sources': [
|
2014-06-30 13:25:46 +00:00
|
|
|
'../../src/base/platform/platform-openbsd.cc',
|
|
|
|
'../../src/base/platform/platform-posix.cc'
|
2011-09-15 08:13:39 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
['OS=="solaris"', {
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
2014-05-14 16:34:13 +00:00
|
|
|
'-lnsl',
|
2013-05-15 13:09:57 +00:00
|
|
|
]},
|
|
|
|
'sources': [
|
2014-06-30 13:25:46 +00:00
|
|
|
'../../src/base/platform/platform-solaris.cc',
|
|
|
|
'../../src/base/platform/platform-posix.cc'
|
2011-01-04 12:14:10 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
['OS=="mac"', {
|
|
|
|
'sources': [
|
2014-06-30 13:25:46 +00:00
|
|
|
'../../src/base/platform/platform-macos.cc',
|
|
|
|
'../../src/base/platform/platform-posix.cc'
|
2013-05-15 13:09:57 +00:00
|
|
|
]},
|
|
|
|
],
|
|
|
|
['OS=="win"', {
|
2013-09-24 13:27:58 +00:00
|
|
|
'defines': [
|
|
|
|
'_CRT_RAND_S' # for rand_s()
|
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
'variables': {
|
|
|
|
'gyp_generators': '<!(echo $GYP_GENERATORS)',
|
|
|
|
},
|
|
|
|
'conditions': [
|
|
|
|
['gyp_generators=="make"', {
|
2013-04-15 08:33:31 +00:00
|
|
|
'variables': {
|
2013-05-15 13:09:57 +00:00
|
|
|
'build_env': '<!(uname -o)',
|
2013-04-15 08:33:31 +00:00
|
|
|
},
|
|
|
|
'conditions': [
|
2013-05-15 13:09:57 +00:00
|
|
|
['build_env=="Cygwin"', {
|
|
|
|
'sources': [
|
2014-06-30 13:25:46 +00:00
|
|
|
'../../src/base/platform/platform-cygwin.cc',
|
|
|
|
'../../src/base/platform/platform-posix.cc'
|
2013-04-16 12:36:44 +00:00
|
|
|
],
|
2013-04-15 08:33:31 +00:00
|
|
|
}, {
|
2013-04-16 12:36:44 +00:00
|
|
|
'sources': [
|
2014-06-30 13:25:46 +00:00
|
|
|
'../../src/base/platform/platform-win32.cc',
|
|
|
|
'../../src/base/win32-headers.h',
|
|
|
|
'../../src/base/win32-math.cc',
|
|
|
|
'../../src/base/win32-math.h'
|
2013-04-16 12:36:44 +00:00
|
|
|
],
|
2013-04-15 08:33:31 +00:00
|
|
|
}],
|
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
'link_settings': {
|
|
|
|
'libraries': [ '-lwinmm', '-lws2_32' ],
|
|
|
|
},
|
2011-08-05 09:44:30 +00:00
|
|
|
}, {
|
2013-05-15 13:09:57 +00:00
|
|
|
'sources': [
|
2014-06-30 13:25:46 +00:00
|
|
|
'../../src/base/platform/platform-win32.cc',
|
|
|
|
'../../src/base/win32-headers.h',
|
|
|
|
'../../src/base/win32-math.cc',
|
|
|
|
'../../src/base/win32-math.h'
|
2013-05-15 13:09:57 +00:00
|
|
|
],
|
|
|
|
'msvs_disabled_warnings': [4351, 4355, 4800],
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [ '-lwinmm.lib', '-lws2_32.lib' ],
|
|
|
|
},
|
2011-08-05 09:44:30 +00:00
|
|
|
}],
|
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
}],
|
2014-04-23 11:51:28 +00:00
|
|
|
],
|
|
|
|
},
|
2014-07-03 07:37:27 +00:00
|
|
|
{
|
|
|
|
'target_name': 'v8_libplatform',
|
|
|
|
'type': 'static_library',
|
|
|
|
'variables': {
|
|
|
|
'optimize': 'max',
|
|
|
|
},
|
|
|
|
'dependencies': [
|
|
|
|
'v8_libbase',
|
|
|
|
],
|
|
|
|
'include_dirs+': [
|
|
|
|
'../..',
|
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'../../include/libplatform/libplatform.h',
|
|
|
|
'../../src/libplatform/default-platform.cc',
|
|
|
|
'../../src/libplatform/default-platform.h',
|
|
|
|
'../../src/libplatform/task-queue.cc',
|
|
|
|
'../../src/libplatform/task-queue.h',
|
|
|
|
'../../src/libplatform/worker-thread.cc',
|
|
|
|
'../../src/libplatform/worker-thread.h',
|
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'toolsets': ['host', 'target'],
|
|
|
|
}, {
|
|
|
|
'toolsets': ['target'],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
},
|
2014-06-23 13:52:17 +00:00
|
|
|
{
|
|
|
|
'target_name': 'natives_blob',
|
|
|
|
'type': 'none',
|
|
|
|
'conditions': [
|
|
|
|
[ 'v8_use_external_startup_data==1', {
|
|
|
|
'dependencies': ['js2c'],
|
|
|
|
'actions': [{
|
|
|
|
'action_name': 'concatenate_natives_blob',
|
|
|
|
'inputs': [
|
|
|
|
'../../tools/concatenate-files.py',
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/libraries.bin',
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/libraries-experimental.bin',
|
|
|
|
],
|
|
|
|
'outputs': [
|
|
|
|
'<(PRODUCT_DIR)/natives_blob.bin',
|
|
|
|
],
|
|
|
|
'action': ['python', '<@(_inputs)', '<@(_outputs)'],
|
|
|
|
}],
|
|
|
|
}],
|
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'toolsets': ['host'],
|
|
|
|
}, {
|
|
|
|
'toolsets': ['target'],
|
|
|
|
}],
|
|
|
|
]
|
|
|
|
},
|
2013-05-15 13:09:57 +00:00
|
|
|
{
|
|
|
|
'target_name': 'js2c',
|
|
|
|
'type': 'none',
|
|
|
|
'conditions': [
|
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'toolsets': ['host'],
|
|
|
|
}, {
|
|
|
|
'toolsets': ['target'],
|
|
|
|
}],
|
2013-07-03 11:22:29 +00:00
|
|
|
['v8_enable_i18n_support==1', {
|
2013-09-12 13:50:38 +00:00
|
|
|
'variables': {
|
|
|
|
'i18n_library_files': [
|
|
|
|
'../../src/i18n.js',
|
2013-08-26 17:00:58 +00:00
|
|
|
],
|
2013-09-12 13:50:38 +00:00
|
|
|
},
|
|
|
|
}, {
|
|
|
|
'variables': {
|
|
|
|
'i18n_library_files': [],
|
|
|
|
},
|
2013-07-03 11:22:29 +00:00
|
|
|
}],
|
2013-05-15 13:09:57 +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',
|
2013-08-20 13:55:52 +00:00
|
|
|
'../../src/arraybuffer.js',
|
|
|
|
'../../src/typedarray.js',
|
2014-05-06 14:48:34 +00:00
|
|
|
'../../src/weak_collection.js',
|
|
|
|
'../../src/promise.js',
|
2014-03-13 00:20:06 +00:00
|
|
|
'../../src/object-observe.js',
|
2013-05-15 13:09:57 +00:00
|
|
|
'../../src/macros.py',
|
|
|
|
],
|
|
|
|
'experimental_library_files': [
|
|
|
|
'../../src/macros.py',
|
|
|
|
'../../src/symbol.js',
|
|
|
|
'../../src/proxy.js',
|
|
|
|
'../../src/collection.js',
|
2014-06-03 00:34:01 +00:00
|
|
|
'../../src/collection-iterator.js',
|
2013-07-11 11:20:54 +00:00
|
|
|
'../../src/generator.js',
|
2013-07-30 16:33:08 +00:00
|
|
|
'../../src/array-iterator.js',
|
2014-06-25 07:43:14 +00:00
|
|
|
'../../src/string-iterator.js',
|
2013-08-02 10:57:48 +00:00
|
|
|
'../../src/harmony-string.js',
|
|
|
|
'../../src/harmony-array.js',
|
2013-05-15 13:09:57 +00:00
|
|
|
],
|
2014-06-23 13:52:17 +00:00
|
|
|
'libraries_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries.bin',
|
|
|
|
'libraries_experimental_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries-experimental.bin',
|
2013-05-15 13:09:57 +00:00
|
|
|
},
|
|
|
|
'actions': [
|
2009-07-08 14:56:56 +00:00
|
|
|
{
|
2013-05-15 13:09:57 +00:00
|
|
|
'action_name': 'js2c',
|
|
|
|
'inputs': [
|
|
|
|
'../../tools/js2c.py',
|
|
|
|
'<@(library_files)',
|
2013-09-12 13:50:38 +00:00
|
|
|
'<@(i18n_library_files)',
|
2009-07-08 14:56:56 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
'outputs': [
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
|
2009-07-08 14:56:56 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'../../tools/js2c.py',
|
2014-06-23 13:52:17 +00:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
|
2013-05-15 13:09:57 +00:00
|
|
|
'CORE',
|
|
|
|
'<(v8_compress_startup_data)',
|
2013-09-12 13:50:38 +00:00
|
|
|
'<@(library_files)',
|
|
|
|
'<@(i18n_library_files)',
|
2011-08-25 14:50:09 +00:00
|
|
|
],
|
2014-06-23 13:52:17 +00:00
|
|
|
'conditions': [
|
|
|
|
[ 'v8_use_external_startup_data==1', {
|
|
|
|
'outputs': ['<@(libraries_bin_file)'],
|
|
|
|
'action': [
|
|
|
|
'--startup_blob', '<@(libraries_bin_file)',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
2011-01-04 12:14:10 +00:00
|
|
|
},
|
|
|
|
{
|
2013-05-15 13:09:57 +00:00
|
|
|
'action_name': 'js2c_experimental',
|
|
|
|
'inputs': [
|
|
|
|
'../../tools/js2c.py',
|
|
|
|
'<@(experimental_library_files)',
|
2011-01-04 12:14:10 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
'outputs': [
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
|
2011-01-04 12:14:10 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'../../tools/js2c.py',
|
2014-06-23 13:52:17 +00:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
|
2013-05-15 13:09:57 +00:00
|
|
|
'EXPERIMENTAL',
|
|
|
|
'<(v8_compress_startup_data)',
|
|
|
|
'<@(experimental_library_files)'
|
2009-07-08 14:56:56 +00:00
|
|
|
],
|
2014-06-23 13:52:17 +00:00
|
|
|
'conditions': [
|
|
|
|
[ 'v8_use_external_startup_data==1', {
|
|
|
|
'outputs': ['<@(libraries_experimental_bin_file)'],
|
|
|
|
'action': [
|
|
|
|
'--startup_blob', '<@(libraries_experimental_bin_file)'
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
2009-07-08 14:56:56 +00:00
|
|
|
},
|
2009-04-27 09:04:39 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +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)',
|
2013-01-16 10:16:46 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
'outputs': [
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/debug-support.cc',
|
2011-01-04 12:14:10 +00:00
|
|
|
],
|
2013-05-15 13:09:57 +00:00
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'../../tools/gen-postmortem-metadata.py',
|
|
|
|
'<@(_outputs)',
|
|
|
|
'<@(heapobject_files)'
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2014-05-22 09:04:24 +00:00
|
|
|
'target_name': 'mksnapshot',
|
2013-05-15 13:09:57 +00:00
|
|
|
'type': 'executable',
|
2014-07-03 07:37:27 +00:00
|
|
|
'dependencies': ['v8_base', 'v8_nosnapshot', 'v8_libplatform'],
|
2013-05-15 13:09:57 +00:00
|
|
|
'include_dirs+': [
|
2014-06-03 08:12:43 +00:00
|
|
|
'../..',
|
2013-05-15 13:09:57 +00:00
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'../../src/mksnapshot.cc',
|
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
['want_separate_host_toolset==1', {
|
|
|
|
'toolsets': ['host'],
|
|
|
|
}, {
|
|
|
|
'toolsets': ['target'],
|
|
|
|
}],
|
|
|
|
['v8_compress_startup_data=="bz2"', {
|
|
|
|
'libraries': [
|
|
|
|
'-lbz2',
|
|
|
|
]
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
},
|
2009-04-27 09:04:39 +00:00
|
|
|
],
|
|
|
|
}
|