Commit 3bf44848 authored by machenbach's avatar machenbach Committed by Commit bot

[gn] Move build to gypfiles

This prepares for pulling chromium's build as dependency for
gn. After this, the files in build and gypfiles need to stay
in sync until chromium is updated.

BUG=chromium:474921
LOG=n

Review-Url: https://codereview.chromium.org/1848553003
Cr-Commit-Position: refs/heads/master@{#35898}
parent ee03b721
...@@ -41,10 +41,7 @@ shell ...@@ -41,10 +41,7 @@ shell
shell_g shell_g
/_* /_*
/base /base
/build/Debug /gypfiles/win_toolchain.json
/build/ipch
/build/Release
/build/win_toolchain.json
/buildtools /buildtools
/hydrogen.cfg /hydrogen.cfg
/obj /obj
......
...@@ -7,6 +7,10 @@ vars = { ...@@ -7,6 +7,10 @@ vars = {
} }
deps = { deps = {
# TODO(machenbach): Add this. Need to be committed locally as trybots run
# gclient sync on a deps change before applying any other change.
# "v8/build":
# Var("git_url") + "/chromium/src/build.git" + "@" + "7181610b0c84e2cd87852a7f7d30c4e7e4ca32cd",
"v8/tools/gyp": "v8/tools/gyp":
Var("git_url") + "/external/gyp.git" + "@" + "e24c83726b7294179f479a683eeb351568fcc4ee", Var("git_url") + "/external/gyp.git" + "@" + "e24c83726b7294179f479a683eeb351568fcc4ee",
"v8/third_party/icu": "v8/third_party/icu":
...@@ -53,6 +57,7 @@ include_rules = [ ...@@ -53,6 +57,7 @@ include_rules = [
# checkdeps.py shouldn't check for includes in these directories: # checkdeps.py shouldn't check for includes in these directories:
skip_child_includes = [ skip_child_includes = [
"build", "build",
"gypfiles",
"third_party", "third_party",
] ]
...@@ -65,7 +70,7 @@ hooks = [ ...@@ -65,7 +70,7 @@ hooks = [
'pattern': '.', 'pattern': '.',
'action': [ 'action': [
'python', 'python',
'v8/build/landmines.py', 'v8/gypfiles/landmines.py',
], ],
}, },
# Pull clang-format binaries using checked-in hashes. # Pull clang-format binaries using checked-in hashes.
...@@ -190,7 +195,7 @@ hooks = [ ...@@ -190,7 +195,7 @@ hooks = [
# Update the Windows toolchain if necessary. # Update the Windows toolchain if necessary.
'name': 'win_toolchain', 'name': 'win_toolchain',
'pattern': '.', 'pattern': '.',
'action': ['python', 'v8/build/vs_toolchain.py', 'update'], 'action': ['python', 'v8/gypfiles/vs_toolchain.py', 'update'],
}, },
# Pull binutils for linux, enabled debug fission for faster linking / # Pull binutils for linux, enabled debug fission for faster linking /
# debugging when used with clang on Ubuntu Precise. # debugging when used with clang on Ubuntu Precise.
...@@ -208,7 +213,7 @@ hooks = [ ...@@ -208,7 +213,7 @@ hooks = [
# Note: This must run before the clang update. # Note: This must run before the clang update.
'name': 'gold_plugin', 'name': 'gold_plugin',
'pattern': '.', 'pattern': '.',
'action': ['python', 'v8/build/download_gold_plugin.py'], 'action': ['python', 'v8/gypfiles/download_gold_plugin.py'],
}, },
{ {
# Pull clang if needed or requested via GYP_DEFINES. # Pull clang if needed or requested via GYP_DEFINES.
...@@ -220,6 +225,6 @@ hooks = [ ...@@ -220,6 +225,6 @@ hooks = [
{ {
# A change to a .gyp, .gypi, or to GYP itself should run the generator. # A change to a .gyp, .gypi, or to GYP itself should run the generator.
"pattern": ".", "pattern": ".",
"action": ["python", "v8/build/gyp_v8"], "action": ["python", "v8/gypfiles/gyp_v8"],
}, },
] ]
...@@ -261,8 +261,9 @@ NACL_ARCHES = nacl_ia32 nacl_x64 ...@@ -261,8 +261,9 @@ NACL_ARCHES = nacl_ia32 nacl_x64
# List of files that trigger Makefile regeneration: # List of files that trigger Makefile regeneration:
GYPFILES = third_party/icu/icu.gypi third_party/icu/icu.gyp \ GYPFILES = third_party/icu/icu.gypi third_party/icu/icu.gyp \
build/shim_headers.gypi build/features.gypi build/standalone.gypi \ gypfiles/shim_headers.gypi gypfiles/features.gypi \
build/toolchain.gypi build/all.gyp build/mac/asan.gyp \ gypfiles/standalone.gypi \
gypfiles/toolchain.gypi gypfiles/all.gyp gypfiles/mac/asan.gyp \
test/cctest/cctest.gyp test/fuzzer/fuzzer.gyp \ test/cctest/cctest.gyp test/fuzzer/fuzzer.gyp \
test/unittests/unittests.gyp src/v8.gyp \ test/unittests/unittests.gyp src/v8.gyp \
tools/parser-shell.gyp testing/gmock.gyp testing/gtest.gyp \ tools/parser-shell.gyp testing/gmock.gyp testing/gtest.gyp \
...@@ -449,8 +450,8 @@ $(OUT_MAKEFILES): $(GYPFILES) $(ENVFILE) ...@@ -449,8 +450,8 @@ $(OUT_MAKEFILES): $(GYPFILES) $(ENVFILE)
$(eval V8_TARGET_ARCH:=$(subst .,,$(suffix $(basename $@)))) $(eval V8_TARGET_ARCH:=$(subst .,,$(suffix $(basename $@))))
PYTHONPATH="$(shell pwd)/tools/generate_shim_headers:$(shell pwd)/build:$(PYTHONPATH):$(shell pwd)/tools/gyp/pylib:$(PYTHONPATH)" \ PYTHONPATH="$(shell pwd)/tools/generate_shim_headers:$(shell pwd)/build:$(PYTHONPATH):$(shell pwd)/tools/gyp/pylib:$(PYTHONPATH)" \
GYP_GENERATORS=make \ GYP_GENERATORS=make \
tools/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \ tools/gyp/gyp --generator-output="$(OUTDIR)" gypfiles/all.gyp \
-Ibuild/standalone.gypi --depth=. \ -Igypfiles/standalone.gypi --depth=. \
-Dv8_target_arch=$(V8_TARGET_ARCH) \ -Dv8_target_arch=$(V8_TARGET_ARCH) \
$(if $(findstring $(CXX_TARGET_ARCH),$(V8_TARGET_ARCH)), \ $(if $(findstring $(CXX_TARGET_ARCH),$(V8_TARGET_ARCH)), \
-Dtarget_arch=$(V8_TARGET_ARCH),) \ -Dtarget_arch=$(V8_TARGET_ARCH),) \
...@@ -460,8 +461,8 @@ $(OUT_MAKEFILES): $(GYPFILES) $(ENVFILE) ...@@ -460,8 +461,8 @@ $(OUT_MAKEFILES): $(GYPFILES) $(ENVFILE)
$(OUTDIR)/Makefile.native: $(GYPFILES) $(ENVFILE) $(OUTDIR)/Makefile.native: $(GYPFILES) $(ENVFILE)
PYTHONPATH="$(shell pwd)/tools/generate_shim_headers:$(shell pwd)/build:$(PYTHONPATH):$(shell pwd)/tools/gyp/pylib:$(PYTHONPATH)" \ PYTHONPATH="$(shell pwd)/tools/generate_shim_headers:$(shell pwd)/build:$(PYTHONPATH):$(shell pwd)/tools/gyp/pylib:$(PYTHONPATH)" \
GYP_GENERATORS=make \ GYP_GENERATORS=make \
tools/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \ tools/gyp/gyp --generator-output="$(OUTDIR)" gypfiles/all.gyp \
-Ibuild/standalone.gypi --depth=. -S.native $(GYPFLAGS) -Igypfiles/standalone.gypi --depth=. -S.native $(GYPFLAGS)
# Note that NACL_SDK_ROOT must be set to point to an appropriate # Note that NACL_SDK_ROOT must be set to point to an appropriate
# Native Client SDK before using this makefile. You can download # Native Client SDK before using this makefile. You can download
......
...@@ -77,6 +77,6 @@ $(ANDROID_MAKEFILES): ...@@ -77,6 +77,6 @@ $(ANDROID_MAKEFILES):
GYP_GENERATORS=make-android \ GYP_GENERATORS=make-android \
GYP_DEFINES="${DEFINES}" \ GYP_DEFINES="${DEFINES}" \
PYTHONPATH="$(shell pwd)/tools/generate_shim_headers:$(shell pwd)/build:$(PYTHONPATH)" \ PYTHONPATH="$(shell pwd)/tools/generate_shim_headers:$(shell pwd)/build:$(PYTHONPATH)" \
tools/gyp/gyp --generator-output="${OUTDIR}" build/all.gyp \ tools/gyp/gyp --generator-output="${OUTDIR}" gypfiles/all.gyp \
-Ibuild/standalone.gypi --depth=. \ -Igypfiles/standalone.gypi --depth=. \
-S$(suffix $(basename $@))$(suffix $@) ${GYPFLAGS} -S$(suffix $(basename $@))$(suffix $@) ${GYPFLAGS}
...@@ -91,7 +91,7 @@ $(NACL_MAKEFILES): ...@@ -91,7 +91,7 @@ $(NACL_MAKEFILES):
CXX=${NACL_CXX} \ CXX=${NACL_CXX} \
LINK=${NACL_LINK} \ LINK=${NACL_LINK} \
PYTHONPATH="$(shell pwd)/tools/generate_shim_headers:$(shell pwd)/build:$(PYTHONPATH)" \ PYTHONPATH="$(shell pwd)/tools/generate_shim_headers:$(shell pwd)/build:$(PYTHONPATH)" \
tools/gyp/gyp --generator-output="${OUTDIR}" build/all.gyp \ tools/gyp/gyp --generator-output="${OUTDIR}" gypfiles/all.gyp \
-Ibuild/standalone.gypi --depth=. \ -Igypfiles/standalone.gypi --depth=. \
-S$(suffix $(basename $@))$(suffix $@) $(GYPFLAGS) \ -S$(suffix $(basename $@))$(suffix $@) $(GYPFLAGS) \
-Dwno_array_bounds=-Wno-array-bounds -Dwno_array_bounds=-Wno-array-bounds
set noparent
jkummerow@chromium.org
jochen@chromium.org
machenbach@chromium.org machenbach@chromium.org
set noparent
jkummerow@chromium.org
jochen@chromium.org
machenbach@chromium.org
# Copyright 2013 the V8 project authors. All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * 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.
#
# 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.
# Compile time controlled V8 features.
{
'variables': {
'v8_enable_disassembler%': 0,
'v8_enable_gdbjit%': 0,
'v8_object_print%': 0,
'v8_enable_verify_heap%': 0,
'v8_trace_maps%': 0,
# Enable the snapshot feature, for fast context creation.
# http://v8project.blogspot.com/2015/09/custom-startup-snapshots.html
'v8_use_snapshot%': 'true',
'v8_enable_verify_predictable%': 0,
# With post mortem support enabled, metadata is embedded into libv8 that
# describes various parameters of the VM for use by debuggers. See
# tools/gen-postmortem-metadata.py for details.
'v8_postmortem_support%': 'false',
# Interpreted regexp engine exists as platform-independent alternative
# based where the regular expression is compiled to a bytecode.
'v8_interpreted_regexp%': 0,
# Enable ECMAScript Internationalization API. Enabling this feature will
# add a dependency on the ICU library.
'v8_enable_i18n_support%': 1,
# Enable compiler warnings when using V8_DEPRECATED apis.
'v8_deprecation_warnings%': 0,
# Enable compiler warnings when using V8_DEPRECATE_SOON apis.
'v8_imminent_deprecation_warnings%': 0,
# Set to 1 to enable DCHECKs in release builds.
'dcheck_always_on%': 0,
# Enable/disable JavaScript API accessors.
'v8_js_accessors%': 0,
},
'target_defaults': {
'conditions': [
['v8_enable_disassembler==1', {
'defines': ['ENABLE_DISASSEMBLER',],
}],
['v8_enable_gdbjit==1', {
'defines': ['ENABLE_GDB_JIT_INTERFACE',],
}],
['v8_object_print==1', {
'defines': ['OBJECT_PRINT',],
}],
['v8_enable_verify_heap==1', {
'defines': ['VERIFY_HEAP',],
}],
['v8_trace_maps==1', {
'defines': ['TRACE_MAPS',],
}],
['v8_enable_verify_predictable==1', {
'defines': ['VERIFY_PREDICTABLE',],
}],
['v8_interpreted_regexp==1', {
'defines': ['V8_INTERPRETED_REGEXP',],
}],
['v8_deprecation_warnings==1', {
'defines': ['V8_DEPRECATION_WARNINGS',],
}],
['v8_imminent_deprecation_warnings==1', {
'defines': ['V8_IMMINENT_DEPRECATION_WARNINGS',],
}],
['v8_enable_i18n_support==1', {
'defines': ['V8_I18N_SUPPORT',],
}],
['v8_use_snapshot=="true" and v8_use_external_startup_data==1', {
'defines': ['V8_USE_EXTERNAL_STARTUP_DATA',],
}],
['dcheck_always_on!=0', {
'defines': ['DEBUG',],
}],
], # conditions
'configurations': {
'DebugBaseCommon': {
'abstract': 1,
'variables': {
'v8_enable_handle_zapping%': 1,
},
'conditions': [
['v8_enable_handle_zapping==1', {
'defines': ['ENABLE_HANDLE_ZAPPING',],
}],
],
}, # Debug
'Release': {
'variables': {
'v8_enable_handle_zapping%': 1,
},
'conditions': [
['v8_enable_handle_zapping==1', {
'defines': ['ENABLE_HANDLE_ZAPPING',],
}],
], # conditions
}, # Release
}, # configurations
}, # target_defaults
}
...@@ -90,7 +90,7 @@ def additional_include_files(args=[]): ...@@ -90,7 +90,7 @@ def additional_include_files(args=[]):
result.append(path) result.append(path)
# Always include standalone.gypi # Always include standalone.gypi
AddInclude(os.path.join(v8_root, 'build', 'standalone.gypi')) AddInclude(os.path.join(v8_root, 'gypfiles', 'standalone.gypi'))
# Optionally add supplemental .gypi files if present. # Optionally add supplemental .gypi files if present.
supplements = glob.glob(os.path.join(v8_root, '*', 'supplement.gypi')) supplements = glob.glob(os.path.join(v8_root, '*', 'supplement.gypi'))
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
# 'foo_test', # 'foo_test',
# ], # ],
# 'includes': [ # 'includes': [
# '../build/isolate.gypi', # '../gypfiles/isolate.gypi',
# ], # ],
# 'sources': [ # 'sources': [
# 'foo_test.isolate', # 'foo_test.isolate',
......
...@@ -198,7 +198,7 @@ def process_options(): ...@@ -198,7 +198,7 @@ def process_options():
parser = optparse.OptionParser() parser = optparse.OptionParser()
parser.add_option( parser.add_option(
'-s', '--landmine-scripts', action='append', '-s', '--landmine-scripts', action='append',
default=[os.path.join(SRC_DIR, 'build', 'get_landmines.py')], default=[os.path.join(SRC_DIR, 'gypfiles', 'get_landmines.py')],
help='Path to the script which emits landmines to stdout. The target ' help='Path to the script which emits landmines to stdout. The target '
'is passed to this script via option -t. Note that an extra ' 'is passed to this script via option -t. Note that an extra '
'script can be specified via an env var EXTRA_LANDMINES_SCRIPT.') 'script can be specified via an env var EXTRA_LANDMINES_SCRIPT.')
......
# Copyright 2013 the V8 project authors. All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * 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.
#
# 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.
# This file is meant to be included into a target to handle shim headers
# in a consistent manner. To use this the following variables need to be
# defined:
# headers_root_path: string: path to directory containing headers
# header_filenames: list: list of header file names
{
'variables': {
'shim_headers_path': '<(SHARED_INTERMEDIATE_DIR)/shim_headers/<(_target_name)/<(_toolset)',
'shim_generator_additional_args%': [],
},
'include_dirs++': [
'<(shim_headers_path)',
],
'all_dependent_settings': {
'include_dirs+++': [
'<(shim_headers_path)',
],
},
'actions': [
{
'variables': {
'generator_path': '<(DEPTH)/tools/generate_shim_headers/generate_shim_headers.py',
'generator_args': [
'--headers-root', '<(headers_root_path)',
'--output-directory', '<(shim_headers_path)',
'<@(shim_generator_additional_args)',
'<@(header_filenames)',
],
},
'action_name': 'generate_<(_target_name)_shim_headers',
'inputs': [
'<(generator_path)',
],
'outputs': [
'<!@pymod_do_main(generate_shim_headers <@(generator_args) --outputs)',
],
'action': ['python',
'<(generator_path)',
'<@(generator_args)',
'--generate',
],
'message': 'Generating <(_target_name) shim headers.',
},
],
}
...@@ -677,7 +677,7 @@ ...@@ -677,7 +677,7 @@
], ],
}, },
'dependencies': [ 'dependencies': [
'<(DEPTH)/build/mac/asan.gyp:asan_dynamic_runtime', '<(DEPTH)/gypfiles/mac/asan.gyp:asan_dynamic_runtime',
], ],
'target_conditions': [ 'target_conditions': [
['_type!="static_library"', { ['_type!="static_library"', {
...@@ -1327,10 +1327,10 @@ ...@@ -1327,10 +1327,10 @@
['coverage==1', { ['coverage==1', {
# Wrap goma with coverage wrapper. # Wrap goma with coverage wrapper.
'make_global_settings': [ 'make_global_settings': [
['CC_wrapper', '<(base_dir)/build/coverage_wrapper.py <(gomadir)/gomacc'], ['CC_wrapper', '<(base_dir)/gypfiles/coverage_wrapper.py <(gomadir)/gomacc'],
['CXX_wrapper', '<(base_dir)/build/coverage_wrapper.py <(gomadir)/gomacc'], ['CXX_wrapper', '<(base_dir)/gypfiles/coverage_wrapper.py <(gomadir)/gomacc'],
['CC.host_wrapper', '<(base_dir)/build/coverage_wrapper.py <(gomadir)/gomacc'], ['CC.host_wrapper', '<(base_dir)/gypfiles/coverage_wrapper.py <(gomadir)/gomacc'],
['CXX.host_wrapper', '<(base_dir)/build/coverage_wrapper.py <(gomadir)/gomacc'], ['CXX.host_wrapper', '<(base_dir)/gypfiles/coverage_wrapper.py <(gomadir)/gomacc'],
], ],
}, { }, {
# Use only goma wrapper. # Use only goma wrapper.
...@@ -1347,10 +1347,10 @@ ...@@ -1347,10 +1347,10 @@
['coverage==1', { ['coverage==1', {
# Use only coverage wrapper. # Use only coverage wrapper.
'make_global_settings': [ 'make_global_settings': [
['CC_wrapper', '<(base_dir)/build/coverage_wrapper.py'], ['CC_wrapper', '<(base_dir)/gypfiles/coverage_wrapper.py'],
['CXX_wrapper', '<(base_dir)/build/coverage_wrapper.py'], ['CXX_wrapper', '<(base_dir)/gypfiles/coverage_wrapper.py'],
['CC.host_wrapper', '<(base_dir)/build/coverage_wrapper.py'], ['CC.host_wrapper', '<(base_dir)/gypfiles/coverage_wrapper.py'],
['CXX.host_wrapper', '<(base_dir)/build/coverage_wrapper.py'], ['CXX.host_wrapper', '<(base_dir)/gypfiles/coverage_wrapper.py'],
], ],
}], }],
], ],
......
This diff is collapsed.
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
'v8_code': 1, 'v8_code': 1,
'v8_enable_i18n_support%': 1, 'v8_enable_i18n_support%': 1,
}, },
'includes': ['../build/toolchain.gypi', '../build/features.gypi'], 'includes': ['../gypfiles/toolchain.gypi', '../gypfiles/features.gypi'],
'target_defaults': { 'target_defaults': {
'type': 'executable', 'type': 'executable',
'dependencies': [ 'dependencies': [
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
{ {
'includes': [ 'includes': [
'../third_party/icu/icu.isolate', '../third_party/icu/icu.isolate',
'../build/config/win/msvs_dependencies.isolate', '../gypfiles/config/win/msvs_dependencies.isolate',
], ],
'conditions': [ 'conditions': [
['use_custom_libcxx==1', { ['use_custom_libcxx==1', {
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
'v8_enable_i18n_support%': 1, 'v8_enable_i18n_support%': 1,
'v8_toolset_for_d8%': 'target', 'v8_toolset_for_d8%': 'target',
}, },
'includes': ['../build/toolchain.gypi', '../build/features.gypi'], 'includes': ['../gypfiles/toolchain.gypi', '../gypfiles/features.gypi'],
'targets': [ 'targets': [
{ {
'target_name': 'd8', 'target_name': 'd8',
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
'd8', 'd8',
], ],
'includes': [ 'includes': [
'../build/isolate.gypi', '../gypfiles/isolate.gypi',
], ],
'sources': [ 'sources': [
'd8.isolate', 'd8.isolate',
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
'variables': { 'variables': {
'v8_code': 1, 'v8_code': 1,
}, },
'includes': ['../../../build/toolchain.gypi', '../../../build/features.gypi'], 'includes': ['../../../gypfiles/toolchain.gypi', '../../../gypfiles/features.gypi'],
'targets': [ 'targets': [
{ {
'target_name': 'v8_vtune', 'target_name': 'v8_vtune',
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
'v8_experimental_extra_library_files%': [], 'v8_experimental_extra_library_files%': [],
'mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)', 'mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)',
}, },
'includes': ['../build/toolchain.gypi', '../build/features.gypi'], 'includes': ['../gypfiles/toolchain.gypi', '../gypfiles/features.gypi'],
'targets': [ 'targets': [
{ {
'target_name': 'v8', 'target_name': 'v8',
......
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
'../../src/d8.gyp:d8_run', '../../src/d8.gyp:d8_run',
], ],
'includes': [ 'includes': [
'../../build/features.gypi', '../../gypfiles/features.gypi',
'../../build/isolate.gypi', '../../gypfiles/isolate.gypi',
], ],
'sources': [ 'sources': [
'benchmarks.isolate', 'benchmarks.isolate',
......
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
'webkit/webkit.gyp:webkit_run', 'webkit/webkit.gyp:webkit_run',
], ],
'includes': [ 'includes': [
'../build/features.gypi', '../gypfiles/features.gypi',
'../build/isolate.gypi', '../gypfiles/isolate.gypi',
], ],
'sources': [ 'sources': [
'bot_default.isolate', 'bot_default.isolate',
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
'v8_code': 1, 'v8_code': 1,
'generated_file': '<(SHARED_INTERMEDIATE_DIR)/resources.cc', 'generated_file': '<(SHARED_INTERMEDIATE_DIR)/resources.cc',
}, },
'includes': ['../../build/toolchain.gypi', '../../build/features.gypi'], 'includes': ['../../gypfiles/toolchain.gypi', '../../gypfiles/features.gypi'],
'targets': [ 'targets': [
{ {
'target_name': 'cctest', 'target_name': 'cctest',
...@@ -420,7 +420,7 @@ ...@@ -420,7 +420,7 @@
'cctest', 'cctest',
], ],
'includes': [ 'includes': [
'../../build/isolate.gypi', '../../gypfiles/isolate.gypi',
], ],
'sources': [ 'sources': [
'cctest_exe.isolate', 'cctest_exe.isolate',
...@@ -433,7 +433,7 @@ ...@@ -433,7 +433,7 @@
'cctest_exe_run', 'cctest_exe_run',
], ],
'includes': [ 'includes': [
'../../build/isolate.gypi', '../../gypfiles/isolate.gypi',
], ],
'sources': [ 'sources': [
'cctest.isolate', 'cctest.isolate',
......
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
'unittests/unittests.gyp:unittests_run', 'unittests/unittests.gyp:unittests_run',
], ],
'includes': [ 'includes': [
'../build/features.gypi', '../gypfiles/features.gypi',
'../build/isolate.gypi', '../gypfiles/isolate.gypi',
], ],
'sources': [ 'sources': [
'default.isolate', 'default.isolate',
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
'variables': { 'variables': {
'v8_code': 1, 'v8_code': 1,
}, },
'includes': ['../../build/toolchain.gypi', '../../build/features.gypi'], 'includes': ['../../gypfiles/toolchain.gypi', '../../gypfiles/features.gypi'],
'targets': [ 'targets': [
{ {
'target_name': 'json_fuzzer', 'target_name': 'json_fuzzer',
...@@ -174,7 +174,7 @@ ...@@ -174,7 +174,7 @@
'regexp_fuzzer', 'regexp_fuzzer',
], ],
'includes': [ 'includes': [
'../../build/isolate.gypi', '../../gypfiles/isolate.gypi',
], ],
'sources': [ 'sources': [
'fuzzer.isolate', 'fuzzer.isolate',
......
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
'mjsunit/mjsunit.gyp:mjsunit_run', 'mjsunit/mjsunit.gyp:mjsunit_run',
], ],
'includes': [ 'includes': [
'../build/features.gypi', '../gypfiles/features.gypi',
'../build/isolate.gypi', '../gypfiles/isolate.gypi',
], ],
'sources': [ 'sources': [
'ignition.isolate', 'ignition.isolate',
......
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
'../../src/d8.gyp:d8_run', '../../src/d8.gyp:d8_run',
], ],
'includes': [ 'includes': [
'../../build/features.gypi', '../../gypfiles/features.gypi',
'../../build/isolate.gypi', '../../gypfiles/isolate.gypi',
], ],
'sources': [ 'sources': [
'intl.isolate', 'intl.isolate',
......
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
'../../src/d8.gyp:d8_run', '../../src/d8.gyp:d8_run',
], ],
'includes': [ 'includes': [
'../../build/features.gypi', '../../gypfiles/features.gypi',
'../../build/isolate.gypi', '../../gypfiles/isolate.gypi',
], ],
'sources': [ 'sources': [
'message.isolate', 'message.isolate',
......
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
'../../src/d8.gyp:d8_run', '../../src/d8.gyp:d8_run',
], ],
'includes': [ 'includes': [
'../../build/features.gypi', '../../gypfiles/features.gypi',
'../../build/isolate.gypi', '../../gypfiles/isolate.gypi',
], ],
'sources': [ 'sources': [
'mjsunit.isolate', 'mjsunit.isolate',
......
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
'../../src/d8.gyp:d8_run', '../../src/d8.gyp:d8_run',
], ],
'includes': [ 'includes': [
'../../build/features.gypi', '../../gypfiles/features.gypi',
'../../build/isolate.gypi', '../../gypfiles/isolate.gypi',
], ],
'sources': [ 'sources': [
'mozilla.isolate', 'mozilla.isolate',
......
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
'webkit/webkit.gyp:webkit_run', 'webkit/webkit.gyp:webkit_run',
], ],
'includes': [ 'includes': [
'../build/features.gypi', '../gypfiles/features.gypi',
'../build/isolate.gypi', '../gypfiles/isolate.gypi',
], ],
'sources': [ 'sources': [
'optimize_for_size.isolate', 'optimize_for_size.isolate',
......
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
'../src/d8.gyp:d8_run', '../src/d8.gyp:d8_run',
], ],
'includes': [ 'includes': [
'../build/features.gypi', '../gypfiles/features.gypi',
'../build/isolate.gypi', '../gypfiles/isolate.gypi',
], ],
'sources': [ 'sources': [
'perf.isolate', 'perf.isolate',
......
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
'../../src/d8.gyp:d8_run', '../../src/d8.gyp:d8_run',
], ],
'includes': [ 'includes': [
'../../build/features.gypi', '../../gypfiles/features.gypi',
'../../build/isolate.gypi', '../../gypfiles/isolate.gypi',
], ],
'sources': [ 'sources': [
'preparser.isolate', 'preparser.isolate',
......
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
'../../src/d8.gyp:d8_run', '../../src/d8.gyp:d8_run',
], ],
'includes': [ 'includes': [
'../../build/features.gypi', '../../gypfiles/features.gypi',
'../../build/isolate.gypi', '../../gypfiles/isolate.gypi',
], ],
'sources': [ 'sources': [
'simdjs.isolate', 'simdjs.isolate',
......
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
'../../src/d8.gyp:d8_run', '../../src/d8.gyp:d8_run',
], ],
'includes': [ 'includes': [
'../../build/features.gypi', '../../gypfiles/features.gypi',
'../../build/isolate.gypi', '../../gypfiles/isolate.gypi',
], ],
'sources': [ 'sources': [
'test262.isolate', 'test262.isolate',
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
'variables': { 'variables': {
'v8_code': 1, 'v8_code': 1,
}, },
'includes': ['../../build/toolchain.gypi', '../../build/features.gypi'], 'includes': ['../../gypfiles/toolchain.gypi', '../../gypfiles/features.gypi'],
'targets': [ 'targets': [
{ {
'target_name': 'unittests', 'target_name': 'unittests',
...@@ -211,7 +211,7 @@ ...@@ -211,7 +211,7 @@
'unittests', 'unittests',
], ],
'includes': [ 'includes': [
'../../build/isolate.gypi', '../../gypfiles/isolate.gypi',
], ],
'sources': [ 'sources': [
'unittests.isolate', 'unittests.isolate',
......
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
'../../src/d8.gyp:d8_run', '../../src/d8.gyp:d8_run',
], ],
'includes': [ 'includes': [
'../../build/features.gypi', '../../gypfiles/features.gypi',
'../../build/isolate.gypi', '../../gypfiles/isolate.gypi',
], ],
'sources': [ 'sources': [
'webkit.isolate', 'webkit.isolate',
......
...@@ -23,7 +23,7 @@ BINUTILS_TOOLS = ['bin/ld.gold', 'bin/objcopy', 'bin/objdump'] ...@@ -23,7 +23,7 @@ BINUTILS_TOOLS = ['bin/ld.gold', 'bin/objcopy', 'bin/objdump']
BINUTILS_OUT = 'Release' BINUTILS_OUT = 'Release'
DETECT_HOST_ARCH = os.path.abspath(os.path.join( DETECT_HOST_ARCH = os.path.abspath(os.path.join(
BINUTILS_DIR, '../../build/detect_v8_host_arch.py')) BINUTILS_DIR, '../../gypfiles/detect_v8_host_arch.py'))
def ReadFile(filename): def ReadFile(filename):
......
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
'../src/d8.gyp:d8_run', '../src/d8.gyp:d8_run',
], ],
'includes': [ 'includes': [
'../build/features.gypi', '../gypfiles/features.gypi',
'../build/isolate.gypi', '../gypfiles/isolate.gypi',
], ],
'sources': [ 'sources': [
'check-static-initializers.isolate', 'check-static-initializers.isolate',
......
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
'target_name': 'run_gcmole_run', 'target_name': 'run_gcmole_run',
'type': 'none', 'type': 'none',
'includes': [ 'includes': [
'../../build/features.gypi', '../../gypfiles/features.gypi',
'../../build/isolate.gypi', '../../gypfiles/isolate.gypi',
], ],
'sources': [ 'sources': [
'run-gcmole.isolate', 'run-gcmole.isolate',
......
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
'../../src/d8.gyp:d8_run', '../../src/d8.gyp:d8_run',
], ],
'includes': [ 'includes': [
'../../build/features.gypi', '../../gypfiles/features.gypi',
'../../build/isolate.gypi', '../../gypfiles/isolate.gypi',
], ],
'sources': [ 'sources': [
'jsfunfuzz.isolate', 'jsfunfuzz.isolate',
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
'v8_code': 1, 'v8_code': 1,
'v8_enable_i18n_support%': 1, 'v8_enable_i18n_support%': 1,
}, },
'includes': ['../build/toolchain.gypi', '../build/features.gypi'], 'includes': ['../gypfiles/toolchain.gypi', '../gypfiles/features.gypi'],
'targets': [ 'targets': [
{ {
'target_name': 'parser-shell', 'target_name': 'parser-shell',
......
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
'../src/d8.gyp:d8_run', '../src/d8.gyp:d8_run',
], ],
'includes': [ 'includes': [
'../build/features.gypi', '../gypfiles/features.gypi',
'../build/isolate.gypi', '../gypfiles/isolate.gypi',
], ],
'sources': [ 'sources': [
'run-deopt-fuzzer.isolate', 'run-deopt-fuzzer.isolate',
......
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
'../src/d8.gyp:d8_run', '../src/d8.gyp:d8_run',
], ],
'includes': [ 'includes': [
'../build/features.gypi', '../gypfiles/features.gypi',
'../build/isolate.gypi', '../gypfiles/isolate.gypi',
], ],
'sources': [ 'sources': [
'run-valgrind.isolate', 'run-valgrind.isolate',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment