diff options
Diffstat (limited to 'deps/v8/src/PRESUBMIT.py')
-rw-r--r-- | deps/v8/src/PRESUBMIT.py | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/deps/v8/src/PRESUBMIT.py b/deps/v8/src/PRESUBMIT.py deleted file mode 100644 index b97eefaeb0..0000000000 --- a/deps/v8/src/PRESUBMIT.py +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2017 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. - -"""Presubmit script for //v8/src - -See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts -for more details about the presubmit API built into depot_tools. -""" - -import os - - -def PostUploadHook(cl, change, output_api): - """git cl upload will call this hook after the issue is created/modified. - - This hook adds extra try bots to the CL description in order to run layout - tests in addition to CQ try bots. - """ - def is_api_cc(f): - return 'api.cc' == os.path.split(f.LocalPath())[1] - if not change.AffectedFiles(file_filter=is_api_cc): - return [] - return output_api.EnsureCQIncludeTrybotsAreAdded( - cl, - [ - 'luci.chromium.try:linux_chromium_rel_ng' - ], - 'Automatically added layout test trybots to run tests on CQ.') |