Commit 79c65133 authored by Nodir Turakulov's avatar Nodir Turakulov Committed by Commit Bot

[gclient] Remove is_blink_mode

Not used

R=tandrii@chromium.org

Bug: 694348
Change-Id: I3188881b1f92df1cbfdbf3aafe309abb9488d9b2
Reviewed-on: https://chromium-review.googlesource.com/1232874
Auto-Submit: Nodir Turakulov <nodir@chromium.org>
Commit-Queue: Robbie Iannucci <iannucci@chromium.org>
Reviewed-by: 's avatarRobbie Iannucci <iannucci@chromium.org>
parent 15b586a4
...@@ -267,19 +267,6 @@ class GclientApi(recipe_api.RecipeApi): ...@@ -267,19 +267,6 @@ class GclientApi(recipe_api.RecipeApi):
with self.m.context(cwd=(self.m.context.cwd or self.m.path['checkout'])): with self.m.context(cwd=(self.m.context.cwd or self.m.path['checkout'])):
return self(name, ['runhooks'] + list(args), infra_step=False, **kwargs) return self(name, ['runhooks'] + list(args), infra_step=False, **kwargs)
@property
def is_blink_mode(self):
""" Indicates wether the caller is to use the Blink config rather than the
Chromium config. This may happen for one of two reasons:
1. The builder is configured to always use TOT Blink. (factory property
top_of_tree_blink=True)
2. A try job comes in that applies to the Blink tree. (patch_project is
blink)
"""
return (
self.m.properties.get('top_of_tree_blink') or
self.m.properties.get('patch_project') == 'blink')
def break_locks(self): def break_locks(self):
"""Remove all index.lock files. If a previous run of git crashed, bot was """Remove all index.lock files. If a previous run of git crashed, bot was
reset, etc... we might end up with leftover index.lock files. reset, etc... we might end up with leftover index.lock files.
......
...@@ -81,8 +81,6 @@ def RunSteps(api): ...@@ -81,8 +81,6 @@ def RunSteps(api):
api.gclient.runhooks() api.gclient.runhooks()
assert not api.gclient.is_blink_mode
def GenTests(api): def GenTests(api):
yield api.test('basic') yield api.test('basic')
......
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