Commit 2ebce7a8 authored by Yang Guo's avatar Yang Guo Committed by Commit Bot

[tools] opt out of metrics when fetching deps for node

R=machenbach@chromium.org

Change-Id: Ia50f6e637aec58e9c1bdd726c84b296fd71d7cbb
Reviewed-on: https://chromium-review.googlesource.com/1142767Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#54571}
parent 1704f02c
......@@ -27,6 +27,10 @@ def EnsureDepotTools(v8_path, fetch_if_not_exist):
subprocess.check_call("git clone {} {}".format(
pipes.quote(DEPOT_TOOLS_URL),
pipes.quote(depot_tools)), shell=True)
# Using check_output to hide warning messages.
subprocess.check_output(
[sys.executable, gclient_path, "metrics", "--opt-out"],
cwd=depot_tools)
return depot_tools
return None
depot_tools = _Get(v8_path)
......
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