[Swarming] Isolate gcmole.

BUG=chromium:535160
LOG=n
TBR=tandrii@chromium.org, kjellander@chromium.org

Review URL: https://codereview.chromium.org/1709503002

Cr-Commit-Position: refs/heads/master@{#34065}
This commit is contained in:
machenbach 2016-02-17 02:07:58 -08:00 committed by Commit bot
parent 9727ab7e28
commit 95e4c70287
5 changed files with 59 additions and 0 deletions

View File

@ -37,6 +37,7 @@
'../test/test262/test262.gyp:*',
'../test/webkit/webkit.gyp:*',
'../tools/check-static-initializers.gyp:*',
'../tools/gcmole/run_gcmole.gyp:*',
'../tools/run-valgrind.gyp:*',
],
}],

View File

@ -71,6 +71,7 @@
'--config-variable', 'OS=<(OS)',
'--config-variable', 'asan=<(asan)',
'--config-variable', 'cfi_vptr=<(cfi_vptr)',
'--config-variable', 'gcmole=<(gcmole)',
'--config-variable', 'has_valgrind=<(has_valgrind)',
'--config-variable', 'icu_use_data_file_flag=0',
'--config-variable', 'msan=<(msan)',

View File

@ -378,6 +378,9 @@
# fpxx - compatibility mode, it chooses fp32 or fp64 depending on runtime
# detection
'mips_fpu_mode%': 'fp32',
# Indicates if gcmole tools are downloaded by a hook.
'gcmole%': 0,
},
'target_defaults': {
'variables': {

View File

@ -0,0 +1,31 @@
# Copyright 2016 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'command': [
'run-gcmole.py',
],
'files': [
'gccause.lua',
'gcmole.lua',
'parallel.py',
'run-gcmole.py',
# The following contains all relevant source and gyp files.
'../gyp/v8.gyp',
'../../src/',
'../../test/cctest/',
],
},
'conditions': [
['gcmole==1', {
'variables': {
'files': [
# This assumes gcmole tools have been fetched by a hook
# into v8/tools/gcmole/gcmole_tools.
'gcmole-tools/',
],
},
}],
],
}

View File

@ -0,0 +1,23 @@
# Copyright 2016 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'conditions': [
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'run_gcmole_run',
'type': 'none',
'includes': [
'../../build/features.gypi',
'../../build/isolate.gypi',
],
'sources': [
'run-gcmole.isolate',
],
},
],
}],
],
}