self.cl_bot_list = [bot for bot in options.bots.split(',') if bot]
self.skia_git_checkout_path = options.skia_git_path
self.default_branch_name = 'autogenerated_deps_roll_branch'
+ self.reviewers_list = ','.join([
+ # 'rmistry@google.com',
+ # 'reed@google.com',
+ # 'bsalomon@google.com',
+ # 'robertphillips@google.com',
+ ])
+ self.cc_list = ','.join([
+ # 'skia-team@google.com',
+ ])
@staticmethod
def GetOptionParser():
'linux_chromeos',
'linux_chromeos_asan',
'linux_gpu',
- 'linux_heapcheck',
'linux_layout',
'linux_layout_rel',
'mac',
vsp.check_call([git, 'add', filename])
vsp.check_call([git, 'commit', '-q', '-m', self._message])
- git_cl = [git, 'cl', 'upload', '-f', '--cc=skia-team@google.com',
+ git_cl = [git, 'cl', 'upload', '-f',
'--bypass-hooks', '--bypass-watchlists']
+ if self._config.cc_list:
+ git_cl.append('--cc=%s' % self._config.cc_list)
+ if self._config.reviewers_list:
+ git_cl.append('--reviewers=%s' % self._config.reviewers_list)
+
git_try = [git, 'cl', 'try', '--revision', svn_info]
git_try.extend([arg for bot in self._config.cl_bot_list
for arg in ('-b', bot)])