aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra
diff options
context:
space:
mode:
authorGravatar Eric Boren <borenet@google.com>2018-02-16 15:32:53 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-02-16 20:50:27 +0000
commit1701ecea23b05d66476de4358d4ff74fd19c3a67 (patch)
tree2aefb9b89e51adbed66524d74306843a15a0f977 /infra
parent35ec925808537ecaeb0445cf25b5898a5015c165 (diff)
[recipes] Expand depot_tools DEPS hack for flutter and PDFium builds
Bug: skia:7609 Change-Id: Iaaaa2390d87656a4fa40e44fc31c35573abec7b5 Reviewed-on: https://skia-review.googlesource.com/108186 Reviewed-by: Eric Boren <borenet@google.com> Commit-Queue: Eric Boren <borenet@google.com>
Diffstat (limited to 'infra')
-rw-r--r--infra/bots/recipe_modules/flavor/__init__.py1
-rw-r--r--infra/bots/recipe_modules/flavor/examples/full.expected/Build-Debian9-GCC-x86_64-Release-Flutter_Android.json90
-rw-r--r--infra/bots/recipe_modules/flavor/examples/full.expected/Build-Debian9-GCC-x86_64-Release-PDFium.json90
-rw-r--r--infra/bots/recipe_modules/flavor/examples/full.expected/Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths.json90
-rw-r--r--infra/bots/recipe_modules/flavor/flutter_flavor.py9
-rw-r--r--infra/bots/recipe_modules/flavor/pdfium_flavor.py9
-rw-r--r--infra/bots/recipes/compile.expected/Build-Debian9-GCC-x86_64-Release-Flutter_Android.json90
-rw-r--r--infra/bots/recipes/compile.expected/Build-Debian9-GCC-x86_64-Release-PDFium.json90
-rw-r--r--infra/bots/recipes/compile.expected/Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths.json90
-rw-r--r--infra/bots/recipes/compile.expected/flutter_trybot.json90
-rw-r--r--infra/bots/recipes/compile.expected/pdfium_trybot.json90
11 files changed, 729 insertions, 10 deletions
diff --git a/infra/bots/recipe_modules/flavor/__init__.py b/infra/bots/recipe_modules/flavor/__init__.py
index aade7cec2c..3b55382d32 100644
--- a/infra/bots/recipe_modules/flavor/__init__.py
+++ b/infra/bots/recipe_modules/flavor/__init__.py
@@ -6,6 +6,7 @@ DEPS = [
'builder_name_schema',
'depot_tools/bot_update',
'depot_tools/cipd',
+ 'depot_tools/git',
'env',
'recipe_engine/context',
'recipe_engine/file',
diff --git a/infra/bots/recipe_modules/flavor/examples/full.expected/Build-Debian9-GCC-x86_64-Release-Flutter_Android.json b/infra/bots/recipe_modules/flavor/examples/full.expected/Build-Debian9-GCC-x86_64-Release-Flutter_Android.json
index 4b1917ad26..9daa792b74 100644
--- a/infra/bots/recipe_modules/flavor/examples/full.expected/Build-Debian9-GCC-x86_64-Release-Flutter_Android.json
+++ b/infra/bots/recipe_modules/flavor/examples/full.expected/Build-Debian9-GCC-x86_64-Release-Flutter_Android.json
@@ -1,7 +1,95 @@
[
{
"cmd": [
- "gclient",
+ "python",
+ "-u",
+ "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
+ "--path",
+ "[CUSTOM_/_B_WORK]/flutter/depot_tools",
+ "--url",
+ "https://chromium.googlesource.com/chromium/tools/depot_tools.git"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/flutter/src",
+ "name": "git setup"
+ },
+ {
+ "cmd": [
+ "git",
+ "retry",
+ "fetch",
+ "origin",
+ "master",
+ "--progress"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/flutter/depot_tools",
+ "env": {
+ "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
+ },
+ "infra_step": true,
+ "name": "git fetch"
+ },
+ {
+ "cmd": [
+ "git",
+ "checkout",
+ "-f",
+ "FETCH_HEAD"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/flutter/depot_tools",
+ "infra_step": true,
+ "name": "git checkout"
+ },
+ {
+ "cmd": [
+ "git",
+ "rev-parse",
+ "HEAD"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/flutter/depot_tools",
+ "infra_step": true,
+ "name": "read revision",
+ "stdout": "/path/to/tmp/",
+ "~followup_annotations": [
+ "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "git",
+ "clean",
+ "-f",
+ "-d",
+ "-x"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/flutter/depot_tools",
+ "infra_step": true,
+ "name": "git clean"
+ },
+ {
+ "cmd": [
+ "git",
+ "submodule",
+ "sync"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/flutter/depot_tools",
+ "infra_step": true,
+ "name": "submodule sync"
+ },
+ {
+ "cmd": [
+ "git",
+ "submodule",
+ "update",
+ "--init",
+ "--recursive"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/flutter/depot_tools",
+ "infra_step": true,
+ "name": "submodule update"
+ },
+ {
+ "cmd": [
+ "[CUSTOM_/_B_WORK]/flutter/depot_tools/gclient",
"runhooks"
],
"cwd": "[CUSTOM_/_B_WORK]/flutter/src",
diff --git a/infra/bots/recipe_modules/flavor/examples/full.expected/Build-Debian9-GCC-x86_64-Release-PDFium.json b/infra/bots/recipe_modules/flavor/examples/full.expected/Build-Debian9-GCC-x86_64-Release-PDFium.json
index 7ae7bb47cb..e062b77bd4 100644
--- a/infra/bots/recipe_modules/flavor/examples/full.expected/Build-Debian9-GCC-x86_64-Release-PDFium.json
+++ b/infra/bots/recipe_modules/flavor/examples/full.expected/Build-Debian9-GCC-x86_64-Release-PDFium.json
@@ -1,7 +1,95 @@
[
{
"cmd": [
- "gclient",
+ "python",
+ "-u",
+ "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
+ "--path",
+ "[CUSTOM_/_B_WORK]/depot_tools",
+ "--url",
+ "https://chromium.googlesource.com/chromium/tools/depot_tools.git"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/pdfium",
+ "name": "git setup"
+ },
+ {
+ "cmd": [
+ "git",
+ "retry",
+ "fetch",
+ "origin",
+ "master",
+ "--progress"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
+ "env": {
+ "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
+ },
+ "infra_step": true,
+ "name": "git fetch"
+ },
+ {
+ "cmd": [
+ "git",
+ "checkout",
+ "-f",
+ "FETCH_HEAD"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
+ "infra_step": true,
+ "name": "git checkout"
+ },
+ {
+ "cmd": [
+ "git",
+ "rev-parse",
+ "HEAD"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
+ "infra_step": true,
+ "name": "read revision",
+ "stdout": "/path/to/tmp/",
+ "~followup_annotations": [
+ "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "git",
+ "clean",
+ "-f",
+ "-d",
+ "-x"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
+ "infra_step": true,
+ "name": "git clean"
+ },
+ {
+ "cmd": [
+ "git",
+ "submodule",
+ "sync"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
+ "infra_step": true,
+ "name": "submodule sync"
+ },
+ {
+ "cmd": [
+ "git",
+ "submodule",
+ "update",
+ "--init",
+ "--recursive"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
+ "infra_step": true,
+ "name": "submodule update"
+ },
+ {
+ "cmd": [
+ "[CUSTOM_/_B_WORK]/depot_tools/gclient",
"runhook",
"gn_linux64"
],
diff --git a/infra/bots/recipe_modules/flavor/examples/full.expected/Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths.json b/infra/bots/recipe_modules/flavor/examples/full.expected/Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths.json
index 3ad255c1eb..9957d0ed44 100644
--- a/infra/bots/recipe_modules/flavor/examples/full.expected/Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths.json
+++ b/infra/bots/recipe_modules/flavor/examples/full.expected/Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths.json
@@ -1,7 +1,95 @@
[
{
"cmd": [
- "gclient",
+ "python",
+ "-u",
+ "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
+ "--path",
+ "[CUSTOM_/_B_WORK]/depot_tools",
+ "--url",
+ "https://chromium.googlesource.com/chromium/tools/depot_tools.git"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/pdfium",
+ "name": "git setup"
+ },
+ {
+ "cmd": [
+ "git",
+ "retry",
+ "fetch",
+ "origin",
+ "master",
+ "--progress"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
+ "env": {
+ "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
+ },
+ "infra_step": true,
+ "name": "git fetch"
+ },
+ {
+ "cmd": [
+ "git",
+ "checkout",
+ "-f",
+ "FETCH_HEAD"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
+ "infra_step": true,
+ "name": "git checkout"
+ },
+ {
+ "cmd": [
+ "git",
+ "rev-parse",
+ "HEAD"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
+ "infra_step": true,
+ "name": "read revision",
+ "stdout": "/path/to/tmp/",
+ "~followup_annotations": [
+ "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "git",
+ "clean",
+ "-f",
+ "-d",
+ "-x"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
+ "infra_step": true,
+ "name": "git clean"
+ },
+ {
+ "cmd": [
+ "git",
+ "submodule",
+ "sync"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
+ "infra_step": true,
+ "name": "submodule sync"
+ },
+ {
+ "cmd": [
+ "git",
+ "submodule",
+ "update",
+ "--init",
+ "--recursive"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
+ "infra_step": true,
+ "name": "submodule update"
+ },
+ {
+ "cmd": [
+ "[CUSTOM_/_B_WORK]/depot_tools/gclient",
"runhook",
"gn_linux64"
],
diff --git a/infra/bots/recipe_modules/flavor/flutter_flavor.py b/infra/bots/recipe_modules/flavor/flutter_flavor.py
index 2bbf199d9d..6f64ab1244 100644
--- a/infra/bots/recipe_modules/flavor/flutter_flavor.py
+++ b/infra/bots/recipe_modules/flavor/flutter_flavor.py
@@ -22,10 +22,17 @@ class FlutterFlavorUtils(default_flavor.DefaultFlavorUtils):
with self.m.context(cwd=flutter_dir):
# Runhook to generate the gn binary in buildtools.
+ # TODO(borenet): Remove this hack and replace with
+ # 'self.m.gclient.runhooks()' after the transition to Kitchen:
+ # https://bugs.chromium.org/p/skia/issues/detail?id=7050
+ depot_tools = self.m.vars.checkout_root.join('depot_tools')
+ self.m.git.checkout(
+ 'https://chromium.googlesource.com/chromium/tools/depot_tools.git',
+ dir_path=depot_tools, ref='master')
self.m.run(
self.m.step,
'runhook',
- cmd=['gclient', 'runhooks'])
+ cmd=[depot_tools.join('gclient'), 'runhooks'])
# Setup GN args.
gn_args = [
diff --git a/infra/bots/recipe_modules/flavor/pdfium_flavor.py b/infra/bots/recipe_modules/flavor/pdfium_flavor.py
index 6a0018ebf6..d5014b3cd9 100644
--- a/infra/bots/recipe_modules/flavor/pdfium_flavor.py
+++ b/infra/bots/recipe_modules/flavor/pdfium_flavor.py
@@ -18,10 +18,17 @@ class PDFiumFlavorUtils(default_flavor.DefaultFlavorUtils):
# Runhook to generate the gn binary in buildtools.
with self.m.context(cwd=pdfium_dir):
+ # TODO(borenet): Remove this hack and replace with
+ # 'self.m.gclient.runhooks()' after the transition to Kitchen:
+ # https://bugs.chromium.org/p/skia/issues/detail?id=7050
+ depot_tools = self.m.vars.checkout_root.join('depot_tools')
+ self.m.git.checkout(
+ 'https://chromium.googlesource.com/chromium/tools/depot_tools.git',
+ dir_path=depot_tools, ref='master')
self.m.run(
self.m.step,
'runhook',
- cmd=['gclient', 'runhook', 'gn_linux64'])
+ cmd=[depot_tools.join('gclient'), 'runhook', 'gn_linux64'])
# Install the sysroot.
self.m.run(
diff --git a/infra/bots/recipes/compile.expected/Build-Debian9-GCC-x86_64-Release-Flutter_Android.json b/infra/bots/recipes/compile.expected/Build-Debian9-GCC-x86_64-Release-Flutter_Android.json
index 90b4f139f5..badcaf7485 100644
--- a/infra/bots/recipes/compile.expected/Build-Debian9-GCC-x86_64-Release-Flutter_Android.json
+++ b/infra/bots/recipes/compile.expected/Build-Debian9-GCC-x86_64-Release-Flutter_Android.json
@@ -112,7 +112,95 @@
},
{
"cmd": [
- "gclient",
+ "python",
+ "-u",
+ "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
+ "--path",
+ "[CUSTOM_/_B_WORK]/flutter/depot_tools",
+ "--url",
+ "https://chromium.googlesource.com/chromium/tools/depot_tools.git"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/flutter/src",
+ "name": "git setup"
+ },
+ {
+ "cmd": [
+ "git",
+ "retry",
+ "fetch",
+ "origin",
+ "master",
+ "--progress"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/flutter/depot_tools",
+ "env": {
+ "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
+ },
+ "infra_step": true,
+ "name": "git fetch"
+ },
+ {
+ "cmd": [
+ "git",
+ "checkout",
+ "-f",
+ "FETCH_HEAD"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/flutter/depot_tools",
+ "infra_step": true,
+ "name": "git checkout"
+ },
+ {
+ "cmd": [
+ "git",
+ "rev-parse",
+ "HEAD"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/flutter/depot_tools",
+ "infra_step": true,
+ "name": "read revision",
+ "stdout": "/path/to/tmp/",
+ "~followup_annotations": [
+ "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "git",
+ "clean",
+ "-f",
+ "-d",
+ "-x"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/flutter/depot_tools",
+ "infra_step": true,
+ "name": "git clean"
+ },
+ {
+ "cmd": [
+ "git",
+ "submodule",
+ "sync"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/flutter/depot_tools",
+ "infra_step": true,
+ "name": "submodule sync"
+ },
+ {
+ "cmd": [
+ "git",
+ "submodule",
+ "update",
+ "--init",
+ "--recursive"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/flutter/depot_tools",
+ "infra_step": true,
+ "name": "submodule update"
+ },
+ {
+ "cmd": [
+ "[CUSTOM_/_B_WORK]/flutter/depot_tools/gclient",
"runhooks"
],
"cwd": "[CUSTOM_/_B_WORK]/flutter/src",
diff --git a/infra/bots/recipes/compile.expected/Build-Debian9-GCC-x86_64-Release-PDFium.json b/infra/bots/recipes/compile.expected/Build-Debian9-GCC-x86_64-Release-PDFium.json
index 75cdd820ac..6d83f90f7e 100644
--- a/infra/bots/recipes/compile.expected/Build-Debian9-GCC-x86_64-Release-PDFium.json
+++ b/infra/bots/recipes/compile.expected/Build-Debian9-GCC-x86_64-Release-PDFium.json
@@ -112,7 +112,95 @@
},
{
"cmd": [
- "gclient",
+ "python",
+ "-u",
+ "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
+ "--path",
+ "[CUSTOM_/_B_WORK]/depot_tools",
+ "--url",
+ "https://chromium.googlesource.com/chromium/tools/depot_tools.git"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/pdfium",
+ "name": "git setup"
+ },
+ {
+ "cmd": [
+ "git",
+ "retry",
+ "fetch",
+ "origin",
+ "master",
+ "--progress"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
+ "env": {
+ "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
+ },
+ "infra_step": true,
+ "name": "git fetch"
+ },
+ {
+ "cmd": [
+ "git",
+ "checkout",
+ "-f",
+ "FETCH_HEAD"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
+ "infra_step": true,
+ "name": "git checkout"
+ },
+ {
+ "cmd": [
+ "git",
+ "rev-parse",
+ "HEAD"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
+ "infra_step": true,
+ "name": "read revision",
+ "stdout": "/path/to/tmp/",
+ "~followup_annotations": [
+ "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "git",
+ "clean",
+ "-f",
+ "-d",
+ "-x"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
+ "infra_step": true,
+ "name": "git clean"
+ },
+ {
+ "cmd": [
+ "git",
+ "submodule",
+ "sync"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
+ "infra_step": true,
+ "name": "submodule sync"
+ },
+ {
+ "cmd": [
+ "git",
+ "submodule",
+ "update",
+ "--init",
+ "--recursive"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
+ "infra_step": true,
+ "name": "submodule update"
+ },
+ {
+ "cmd": [
+ "[CUSTOM_/_B_WORK]/depot_tools/gclient",
"runhook",
"gn_linux64"
],
diff --git a/infra/bots/recipes/compile.expected/Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths.json b/infra/bots/recipes/compile.expected/Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths.json
index 11c51bcf18..4b7f4868ad 100644
--- a/infra/bots/recipes/compile.expected/Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths.json
+++ b/infra/bots/recipes/compile.expected/Build-Debian9-GCC-x86_64-Release-PDFium_SkiaPaths.json
@@ -112,7 +112,95 @@
},
{
"cmd": [
- "gclient",
+ "python",
+ "-u",
+ "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
+ "--path",
+ "[CUSTOM_/_B_WORK]/depot_tools",
+ "--url",
+ "https://chromium.googlesource.com/chromium/tools/depot_tools.git"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/pdfium",
+ "name": "git setup"
+ },
+ {
+ "cmd": [
+ "git",
+ "retry",
+ "fetch",
+ "origin",
+ "master",
+ "--progress"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
+ "env": {
+ "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
+ },
+ "infra_step": true,
+ "name": "git fetch"
+ },
+ {
+ "cmd": [
+ "git",
+ "checkout",
+ "-f",
+ "FETCH_HEAD"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
+ "infra_step": true,
+ "name": "git checkout"
+ },
+ {
+ "cmd": [
+ "git",
+ "rev-parse",
+ "HEAD"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
+ "infra_step": true,
+ "name": "read revision",
+ "stdout": "/path/to/tmp/",
+ "~followup_annotations": [
+ "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "git",
+ "clean",
+ "-f",
+ "-d",
+ "-x"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
+ "infra_step": true,
+ "name": "git clean"
+ },
+ {
+ "cmd": [
+ "git",
+ "submodule",
+ "sync"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
+ "infra_step": true,
+ "name": "submodule sync"
+ },
+ {
+ "cmd": [
+ "git",
+ "submodule",
+ "update",
+ "--init",
+ "--recursive"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
+ "infra_step": true,
+ "name": "submodule update"
+ },
+ {
+ "cmd": [
+ "[CUSTOM_/_B_WORK]/depot_tools/gclient",
"runhook",
"gn_linux64"
],
diff --git a/infra/bots/recipes/compile.expected/flutter_trybot.json b/infra/bots/recipes/compile.expected/flutter_trybot.json
index 6195710278..34a483ac90 100644
--- a/infra/bots/recipes/compile.expected/flutter_trybot.json
+++ b/infra/bots/recipes/compile.expected/flutter_trybot.json
@@ -116,7 +116,95 @@
},
{
"cmd": [
- "gclient",
+ "python",
+ "-u",
+ "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
+ "--path",
+ "[CUSTOM_/_B_WORK]/flutter/depot_tools",
+ "--url",
+ "https://chromium.googlesource.com/chromium/tools/depot_tools.git"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/flutter/src",
+ "name": "git setup"
+ },
+ {
+ "cmd": [
+ "git",
+ "retry",
+ "fetch",
+ "origin",
+ "master",
+ "--progress"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/flutter/depot_tools",
+ "env": {
+ "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
+ },
+ "infra_step": true,
+ "name": "git fetch"
+ },
+ {
+ "cmd": [
+ "git",
+ "checkout",
+ "-f",
+ "FETCH_HEAD"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/flutter/depot_tools",
+ "infra_step": true,
+ "name": "git checkout"
+ },
+ {
+ "cmd": [
+ "git",
+ "rev-parse",
+ "HEAD"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/flutter/depot_tools",
+ "infra_step": true,
+ "name": "read revision",
+ "stdout": "/path/to/tmp/",
+ "~followup_annotations": [
+ "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "git",
+ "clean",
+ "-f",
+ "-d",
+ "-x"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/flutter/depot_tools",
+ "infra_step": true,
+ "name": "git clean"
+ },
+ {
+ "cmd": [
+ "git",
+ "submodule",
+ "sync"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/flutter/depot_tools",
+ "infra_step": true,
+ "name": "submodule sync"
+ },
+ {
+ "cmd": [
+ "git",
+ "submodule",
+ "update",
+ "--init",
+ "--recursive"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/flutter/depot_tools",
+ "infra_step": true,
+ "name": "submodule update"
+ },
+ {
+ "cmd": [
+ "[CUSTOM_/_B_WORK]/flutter/depot_tools/gclient",
"runhooks"
],
"cwd": "[CUSTOM_/_B_WORK]/flutter/src",
diff --git a/infra/bots/recipes/compile.expected/pdfium_trybot.json b/infra/bots/recipes/compile.expected/pdfium_trybot.json
index 05bb489529..f70a52b7f0 100644
--- a/infra/bots/recipes/compile.expected/pdfium_trybot.json
+++ b/infra/bots/recipes/compile.expected/pdfium_trybot.json
@@ -116,7 +116,95 @@
},
{
"cmd": [
- "gclient",
+ "python",
+ "-u",
+ "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
+ "--path",
+ "[CUSTOM_/_B_WORK]/depot_tools",
+ "--url",
+ "https://chromium.googlesource.com/chromium/tools/depot_tools.git"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/pdfium",
+ "name": "git setup"
+ },
+ {
+ "cmd": [
+ "git",
+ "retry",
+ "fetch",
+ "origin",
+ "master",
+ "--progress"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
+ "env": {
+ "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
+ },
+ "infra_step": true,
+ "name": "git fetch"
+ },
+ {
+ "cmd": [
+ "git",
+ "checkout",
+ "-f",
+ "FETCH_HEAD"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
+ "infra_step": true,
+ "name": "git checkout"
+ },
+ {
+ "cmd": [
+ "git",
+ "rev-parse",
+ "HEAD"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
+ "infra_step": true,
+ "name": "read revision",
+ "stdout": "/path/to/tmp/",
+ "~followup_annotations": [
+ "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "git",
+ "clean",
+ "-f",
+ "-d",
+ "-x"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
+ "infra_step": true,
+ "name": "git clean"
+ },
+ {
+ "cmd": [
+ "git",
+ "submodule",
+ "sync"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
+ "infra_step": true,
+ "name": "submodule sync"
+ },
+ {
+ "cmd": [
+ "git",
+ "submodule",
+ "update",
+ "--init",
+ "--recursive"
+ ],
+ "cwd": "[CUSTOM_/_B_WORK]/depot_tools",
+ "infra_step": true,
+ "name": "submodule update"
+ },
+ {
+ "cmd": [
+ "[CUSTOM_/_B_WORK]/depot_tools/gclient",
"runhook",
"gn_linux64"
],