[resultdb] Add rdb and rdb.bat

This should have been a part of
https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2176997

R=estaab@chromium.org

Change-Id: Ia362b562c9818ab759a793aeafd8fda221c86ac4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2177172
Reviewed-by: Erik Staab <estaab@chromium.org>
Reviewed-by: Aaron Gable <agable@chromium.org>
Commit-Queue: Nodir Turakulov <nodir@chromium.org>
Auto-Submit: Nodir Turakulov <nodir@chromium.org>
This commit is contained in:
Nodir Turakulov
2020-05-04 19:43:52 +00:00
committed by LUCI CQ
parent 082a11aa49
commit 0f47d332f1
2 changed files with 19 additions and 0 deletions

12
rdb Executable file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
# Copyright 2020 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
MYPATH=$(dirname "${BASH_SOURCE[0]}")
source "$MYPATH/cipd_bin_setup.sh"
cipd_bin_setup &> /dev/null
exec "$MYPATH/.cipd_bin/rdb" "$@"

7
rdb.bat Normal file
View File

@@ -0,0 +1,7 @@
@echo off
:: Copyright 2020 The Chromium Authors. All rights reserved.
:: Use of this source code is governed by a BSD-style license that can be
:: found in the LICENSE file.
call "%~dp0\cipd_bin_setup.bat" > nul 2>&1
"%~dp0\.cipd_bin\rdb.exe" %*