blob: 95214095ac8df219aa52a3fe690796e026f7b372 [file] [log] [blame]
[
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd",
"-ensure-file",
"fuchsia/third_party/clang/${platform} integration\nfuchsia/third_party/rust/host/${platform} latest\nfuchsia/third_party/rust/target/x86_64-apple-darwin latest\nfuchsia/third_party/make/${platform} version:4.3",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "ensure_installed",
"~followup_annotations": [
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-integration-----\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/clang/resolved-platform\"@@@",
"@@@STEP_LOG_LINE@json.output@ },@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:4.3-----\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/make/resolved-platform\"@@@",
"@@@STEP_LOG_LINE@json.output@ },@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/rust/host/resolved-platform\"@@@",
"@@@STEP_LOG_LINE@json.output@ },@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/rust/target/x86_64-apple-darwin\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [],
"name": "checkout"
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[START_DIR]/fuchsia-third_party-github.com-rust-lang-rust-bindgen"
],
"infra_step": true,
"name": "checkout.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"init"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-rust-lang-rust-bindgen",
"infra_step": true,
"name": "checkout.git init",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"remote",
"add",
"origin",
"https://fuchsia.googlesource.com/third_party/github.com/rust-lang/rust-bindgen"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-rust-lang-rust-bindgen",
"infra_step": true,
"name": "checkout.git remote",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"config",
"core.longpaths",
"true"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-rust-lang-rust-bindgen",
"infra_step": true,
"name": "checkout.set core.longpaths",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"config",
"fetch.uriprotocols",
"https"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-rust-lang-rust-bindgen",
"infra_step": true,
"name": "checkout.set fetch.uriprotocols",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout.cache",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[CACHE]/git"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-rust-lang-rust-bindgen",
"infra_step": true,
"name": "checkout.cache.ensure git cache dir",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"",
"[CACHE]/git/.GUARD_FILE"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-rust-lang-rust-bindgen",
"infra_step": true,
"name": "checkout.cache.write git cache guard file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-rust--lang-rust--bindgen"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-rust-lang-rust-bindgen",
"infra_step": true,
"name": "checkout.cache.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"init",
"--bare"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-rust--lang-rust--bindgen",
"infra_step": true,
"name": "checkout.cache.git init",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"remote.origin.url",
"https://fuchsia.googlesource.com/third_party/github.com/rust-lang/rust-bindgen"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-rust--lang-rust--bindgen",
"infra_step": true,
"name": "checkout.cache.remote set-url",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"core.longpaths",
"true"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-rust--lang-rust--bindgen",
"infra_step": true,
"name": "checkout.cache.set core.longpaths",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"fetch.uriprotocols",
"https"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-rust--lang-rust--bindgen",
"infra_step": true,
"name": "checkout.cache.set fetch.uriprotocols",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"--replace-all",
"remote.origin.fetch",
"+refs/heads/*:refs/heads/*",
"\\+refs/heads/\\*:.*"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-rust--lang-rust--bindgen",
"infra_step": true,
"name": "checkout.cache.replace fetch configs",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--prune",
"--tags",
"--jobs",
"4",
"origin"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-rust--lang-rust--bindgen",
"infra_step": true,
"name": "checkout.cache.git fetch",
"timeout": 1200.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[START_DIR]/fuchsia-third_party-github.com-rust-lang-rust-bindgen/.git/objects/info"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-rust-lang-rust-bindgen",
"infra_step": true,
"name": "checkout.cache.makedirs object/info",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-rust--lang-rust--bindgen/objects\n",
"[START_DIR]/fuchsia-third_party-github.com-rust-lang-rust-bindgen/.git/objects/info/alternates"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-rust-lang-rust-bindgen",
"infra_step": true,
"name": "checkout.cache.alternates",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@alternates@[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-rust--lang-rust--bindgen/objects@@@",
"@@@STEP_LOG_END@alternates@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"remove",
"[CACHE]/git/.GUARD_FILE"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-rust-lang-rust-bindgen",
"infra_step": true,
"name": "checkout.cache.remove git cache guard file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--tags",
"--jobs",
"4",
"origin",
"main"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-rust-lang-rust-bindgen",
"infra_step": true,
"name": "checkout.git fetch",
"timeout": 1200.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"checkout",
"-f",
"FETCH_HEAD"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-rust-lang-rust-bindgen",
"infra_step": true,
"name": "checkout.git checkout",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-rust-lang-rust-bindgen",
"infra_step": true,
"name": "checkout.git rev-parse",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"clean",
"-f",
"-d",
"-x"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-rust-lang-rust-bindgen",
"infra_step": true,
"name": "checkout.git clean",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout.submodule",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"submodule",
"sync"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-rust-lang-rust-bindgen",
"infra_step": true,
"name": "checkout.submodule.git submodule sync",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"submodule",
"update",
"--init",
"--jobs",
"4"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-rust-lang-rust-bindgen",
"infra_step": true,
"name": "checkout.submodule.git submodule update",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[START_DIR]/tmp"
],
"infra_step": true,
"name": "ensure tmp directory"
},
{
"cmd": [],
"name": "build"
},
{
"cmd": [
"sw_vers",
"-productVersion"
],
"name": "build.find macOS version",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "build.ensure XCode 14e222b",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "build.ensure XCode 14e222b.install infra/tools/mac_toolchain",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[START_DIR]/cipd_tool/infra/tools/mac_toolchain/be1bf3cbb34d603837500595770868faf18232f9529e0a375b9527506d4cd711"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337001201.5
}
},
"name": "build.ensure XCode 14e222b.install infra/tools/mac_toolchain.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd_tool/infra/tools/mac_toolchain/be1bf3cbb34d603837500595770868faf18232f9529e0a375b9527506d4cd711",
"-ensure-file",
"infra/tools/mac_toolchain/${platform} git_revision:3e597065cb23c1fe03aeb2ebd792d83e0709c5c2",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337001201.5
}
},
"name": "build.ensure XCode 14e222b.install infra/tools/mac_toolchain.ensure_installed",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-git_revision:3e5\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/mac_toolchain/resolved-platform\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/infra/tools/mac_toolchain/be1bf3cbb34d603837500595770868faf18232f9529e0a375b9527506d4cd711/mac_toolchain",
"install",
"-kind",
"mac",
"-xcode-version",
"14e222b",
"-output-dir",
"[CACHE]/macos_sdk/XCode.app"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337001201.5
}
},
"name": "build.ensure XCode 14e222b.install XCode 14e222b",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"sudo",
"xcode-select",
"--switch",
"[CACHE]/macos_sdk/XCode.app"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337001201.5
}
},
"name": "build.ensure XCode 14e222b.select XCode 14e222b",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"xcrun",
"--sdk",
"macosx",
"--show-sdk-path"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337001201.5
}
},
"name": "build.ensure XCode 14e222b.xcrun",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@raw_io.output_text[sdk-path]@[START_DIR]/xcode@@@",
"@@@STEP_LOG_END@raw_io.output_text[sdk-path]@@@"
]
},
{
"cmd": [],
"name": "build.set up wrapper scripts",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"#!/bin/bash\nexec [START_DIR]/cipd/bin/clang --sysroot=[START_DIR]/xcode \"$@\"",
"[START_DIR]/tmp/cc-wrapper"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-rust-lang-rust-bindgen",
"env": {
"AR": "[START_DIR]/cipd/bin/llvm-ar",
"ASM": "[START_DIR]/tmp/asm-wrapper",
"CC": "[START_DIR]/tmp/cc-wrapper",
"CXX": "[START_DIR]/tmp/cxx-wrapper",
"LD": "[START_DIR]/tmp/linker-wrapper",
"RANLIB": "[START_DIR]/cipd/bin/llvm-ranlib"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/cipd/bin"
]
},
"infra_step": true,
"name": "build.set up wrapper scripts.write wrapper cc-wrapper",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@cc-wrapper@#!/bin/bash@@@",
"@@@STEP_LOG_LINE@cc-wrapper@exec [START_DIR]/cipd/bin/clang --sysroot=[START_DIR]/xcode \"$@\"@@@",
"@@@STEP_LOG_END@cc-wrapper@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"chmod",
"[START_DIR]/tmp/cc-wrapper",
"--mode",
"0755"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-rust-lang-rust-bindgen",
"env": {
"AR": "[START_DIR]/cipd/bin/llvm-ar",
"ASM": "[START_DIR]/tmp/asm-wrapper",
"CC": "[START_DIR]/tmp/cc-wrapper",
"CXX": "[START_DIR]/tmp/cxx-wrapper",
"LD": "[START_DIR]/tmp/linker-wrapper",
"RANLIB": "[START_DIR]/cipd/bin/llvm-ranlib"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/cipd/bin"
]
},
"infra_step": true,
"name": "build.set up wrapper scripts.make cc-wrapper executable",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"#!/bin/bash\nexec [START_DIR]/cipd/bin/clang++ --sysroot=[START_DIR]/xcode \"$@\"",
"[START_DIR]/tmp/cxx-wrapper"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-rust-lang-rust-bindgen",
"env": {
"AR": "[START_DIR]/cipd/bin/llvm-ar",
"ASM": "[START_DIR]/tmp/asm-wrapper",
"CC": "[START_DIR]/tmp/cc-wrapper",
"CXX": "[START_DIR]/tmp/cxx-wrapper",
"LD": "[START_DIR]/tmp/linker-wrapper",
"RANLIB": "[START_DIR]/cipd/bin/llvm-ranlib"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/cipd/bin"
]
},
"infra_step": true,
"name": "build.set up wrapper scripts.write wrapper cxx-wrapper",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@cxx-wrapper@#!/bin/bash@@@",
"@@@STEP_LOG_LINE@cxx-wrapper@exec [START_DIR]/cipd/bin/clang++ --sysroot=[START_DIR]/xcode \"$@\"@@@",
"@@@STEP_LOG_END@cxx-wrapper@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"chmod",
"[START_DIR]/tmp/cxx-wrapper",
"--mode",
"0755"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-rust-lang-rust-bindgen",
"env": {
"AR": "[START_DIR]/cipd/bin/llvm-ar",
"ASM": "[START_DIR]/tmp/asm-wrapper",
"CC": "[START_DIR]/tmp/cc-wrapper",
"CXX": "[START_DIR]/tmp/cxx-wrapper",
"LD": "[START_DIR]/tmp/linker-wrapper",
"RANLIB": "[START_DIR]/cipd/bin/llvm-ranlib"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/cipd/bin"
]
},
"infra_step": true,
"name": "build.set up wrapper scripts.make cxx-wrapper executable",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"#!/bin/bash\nexec [START_DIR]/cipd/bin/clang --sysroot=[START_DIR]/xcode \"$@\"",
"[START_DIR]/tmp/asm-wrapper"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-rust-lang-rust-bindgen",
"env": {
"AR": "[START_DIR]/cipd/bin/llvm-ar",
"ASM": "[START_DIR]/tmp/asm-wrapper",
"CC": "[START_DIR]/tmp/cc-wrapper",
"CXX": "[START_DIR]/tmp/cxx-wrapper",
"LD": "[START_DIR]/tmp/linker-wrapper",
"RANLIB": "[START_DIR]/cipd/bin/llvm-ranlib"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/cipd/bin"
]
},
"infra_step": true,
"name": "build.set up wrapper scripts.write wrapper asm-wrapper",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@asm-wrapper@#!/bin/bash@@@",
"@@@STEP_LOG_LINE@asm-wrapper@exec [START_DIR]/cipd/bin/clang --sysroot=[START_DIR]/xcode \"$@\"@@@",
"@@@STEP_LOG_END@asm-wrapper@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"chmod",
"[START_DIR]/tmp/asm-wrapper",
"--mode",
"0755"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-rust-lang-rust-bindgen",
"env": {
"AR": "[START_DIR]/cipd/bin/llvm-ar",
"ASM": "[START_DIR]/tmp/asm-wrapper",
"CC": "[START_DIR]/tmp/cc-wrapper",
"CXX": "[START_DIR]/tmp/cxx-wrapper",
"LD": "[START_DIR]/tmp/linker-wrapper",
"RANLIB": "[START_DIR]/cipd/bin/llvm-ranlib"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/cipd/bin"
]
},
"infra_step": true,
"name": "build.set up wrapper scripts.make asm-wrapper executable",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"#!/bin/bash\nexec [START_DIR]/cipd/bin/clang --sysroot=[START_DIR]/xcode \"$@\"",
"[START_DIR]/tmp/linker-wrapper"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-rust-lang-rust-bindgen",
"env": {
"AR": "[START_DIR]/cipd/bin/llvm-ar",
"ASM": "[START_DIR]/tmp/asm-wrapper",
"CC": "[START_DIR]/tmp/cc-wrapper",
"CXX": "[START_DIR]/tmp/cxx-wrapper",
"LD": "[START_DIR]/tmp/linker-wrapper",
"RANLIB": "[START_DIR]/cipd/bin/llvm-ranlib"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/cipd/bin"
]
},
"infra_step": true,
"name": "build.set up wrapper scripts.write wrapper linker-wrapper",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@linker-wrapper@#!/bin/bash@@@",
"@@@STEP_LOG_LINE@linker-wrapper@exec [START_DIR]/cipd/bin/clang --sysroot=[START_DIR]/xcode \"$@\"@@@",
"@@@STEP_LOG_END@linker-wrapper@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"chmod",
"[START_DIR]/tmp/linker-wrapper",
"--mode",
"0755"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-rust-lang-rust-bindgen",
"env": {
"AR": "[START_DIR]/cipd/bin/llvm-ar",
"ASM": "[START_DIR]/tmp/asm-wrapper",
"CC": "[START_DIR]/tmp/cc-wrapper",
"CXX": "[START_DIR]/tmp/cxx-wrapper",
"LD": "[START_DIR]/tmp/linker-wrapper",
"RANLIB": "[START_DIR]/cipd/bin/llvm-ranlib"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/cipd/bin"
]
},
"infra_step": true,
"name": "build.set up wrapper scripts.make linker-wrapper executable",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"cargo",
"build",
"--release",
"--bin",
"bindgen",
"--features",
"bogus-feature-for-testing,second-fake-feature"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-rust-lang-rust-bindgen",
"env": {
"AR": "[START_DIR]/cipd/bin/llvm-ar",
"ASM": "[START_DIR]/tmp/asm-wrapper",
"CC": "[START_DIR]/tmp/cc-wrapper",
"CXX": "[START_DIR]/tmp/cxx-wrapper",
"LD": "[START_DIR]/tmp/linker-wrapper",
"RANLIB": "[START_DIR]/cipd/bin/llvm-ranlib"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/cipd/bin"
]
},
"name": "build.cargo build",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[START_DIR]/install"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-rust-lang-rust-bindgen",
"env": {
"AR": "[START_DIR]/cipd/bin/llvm-ar",
"ASM": "[START_DIR]/tmp/asm-wrapper",
"CC": "[START_DIR]/tmp/cc-wrapper",
"CXX": "[START_DIR]/tmp/cxx-wrapper",
"LD": "[START_DIR]/tmp/linker-wrapper",
"RANLIB": "[START_DIR]/cipd/bin/llvm-ranlib"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/cipd/bin"
]
},
"infra_step": true,
"name": "build.ensure the install directory exists",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"move",
"[START_DIR]/fuchsia-third_party-github.com-rust-lang-rust-bindgen/target/release/bindgen",
"[START_DIR]/install/bindgen"
],
"cwd": "[START_DIR]/fuchsia-third_party-github.com-rust-lang-rust-bindgen",
"env": {
"AR": "[START_DIR]/cipd/bin/llvm-ar",
"ASM": "[START_DIR]/tmp/asm-wrapper",
"CC": "[START_DIR]/tmp/cc-wrapper",
"CXX": "[START_DIR]/tmp/cxx-wrapper",
"LD": "[START_DIR]/tmp/linker-wrapper",
"RANLIB": "[START_DIR]/cipd/bin/llvm-ranlib"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/cipd/bin"
]
},
"infra_step": true,
"name": "build.move binary to install directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"sudo",
"xcode-select",
"--reset"
],
"infra_step": true,
"name": "build.reset XCode",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "cipd",
"~followup_annotations": [
"@@@SET_BUILD_PROPERTY@git_revision@\"deadbeef\"@@@",
"@@@SET_BUILD_PROPERTY@instance_id@\"40-chars-fake-of-the-package-instance_id\"@@@",
"@@@SET_BUILD_PROPERTY@package@\"fuchsia/third_party/rust_bindgen/resolved-platform\"@@@"
]
},
{
"cmd": [
"cipd",
"pkg-build",
"-pkg-def",
"{\"data\": [{\"dir\": \".\", \"exclude\": []}, {\"version_file\": \".versions/rust_bindgen.cipd_version\"}], \"install_mode\": \"copy\", \"package\": \"fuchsia/third_party/rust_bindgen/${platform}\", \"root\": \"[START_DIR]/install\"}",
"-out",
"[CLEANUP]/cipd-util-build_tmp_1/rust_bindgen.pkg",
"-hash-algo",
"sha256",
"-json-output",
"/path/to/tmp/json"
],
"name": "cipd.build fuchsia/third_party/rust_bindgen/${platform}",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/rust_bindgen/resolved-platform\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"cipd",
"search",
"fuchsia/third_party/rust_bindgen/${platform}",
"-tag",
"git_revision:deadbeef",
"-json-output",
"/path/to/tmp/json"
],
"name": "cipd.cipd search fuchsia/third_party/rust_bindgen/${platform} git_revision:deadbeef",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": []@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"cipd",
"pkg-register",
"[CLEANUP]/cipd-util-build_tmp_1/rust_bindgen.pkg",
"-ref",
"latest",
"-tag",
"git_revision:deadbeef",
"-metadata",
"bbid:0",
"-json-output",
"/path/to/tmp/json"
],
"name": "cipd.register fuchsia/third_party/rust_bindgen/${platform}",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/rust_bindgen/resolved-platform\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@",
"@@@STEP_LINK@fuchsia/third_party/rust_bindgen/resolved-platform@https://chrome-infra-packages.appspot.com/p/fuchsia/third_party/rust_bindgen/resolved-platform/+/40-chars-fake-of-the-package-instance_id@@@"
]
},
{
"name": "$result"
}
]