blob: 1afd43b64d27b989f197966551893d1c80887445 [file] [log] [blame]
[
{
"cmd": [
"python3",
"-u",
"RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py",
"--",
"RECIPE_REPO[depot_tools]/gsutil.py",
"----",
"cp",
"gs://chromium-browser-official/chromium-130.0.6723.117.tar.xz",
"[START_DIR]/build_dir/chromium-130.0.6723.117.tar.xz"
],
"infra_step": true,
"name": "gsutil download_url"
},
{
"cmd": [
"tar",
"-xJf",
"[START_DIR]/build_dir/chromium-130.0.6723.117.tar.xz",
"-C",
"[START_DIR]/build_dir"
],
"name": "Extract tarball."
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[CACHE]/cipd",
"-ensure-file",
"infra/3pp/tools/ninja/${platform} version:2@1.8.2.chromium.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-version:2@1.8.2.\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/3pp/tools/ninja/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]/build_dir/chromium-130.0.6723.117/build/linux/sysroot_scripts/install-sysroot.py",
"--arch=amd64"
],
"cwd": "[START_DIR]/build_dir/chromium-130.0.6723.117",
"env_suffixes": {
"PATH": [
"[CACHE]/cipd"
]
},
"name": "Download sysroot."
},
{
"cmd": [
"[START_DIR]/build_dir/chromium-130.0.6723.117/tools/clang/scripts/build.py",
"--skip-checkout",
"--without-android",
"--without-fuchsia"
],
"cwd": "[START_DIR]/build_dir/chromium-130.0.6723.117",
"env_suffixes": {
"PATH": [
"[CACHE]/cipd"
]
},
"name": "Build clang."
},
{
"cmd": [
"[START_DIR]/build_dir/chromium-130.0.6723.117/tools/rust/build_rust.py",
"--skip-checkout"
],
"cwd": "[START_DIR]/build_dir/chromium-130.0.6723.117",
"env_suffixes": {
"PATH": [
"[CACHE]/cipd"
]
},
"name": "Build rustc."
},
{
"cmd": [
"[START_DIR]/build_dir/chromium-130.0.6723.117/tools/rust/build_bindgen.py"
],
"cwd": "[START_DIR]/build_dir/chromium-130.0.6723.117",
"env_suffixes": {
"PATH": [
"[CACHE]/cipd"
]
},
"name": "Build bindgen."
},
{
"cmd": [
"[START_DIR]/build_dir/chromium-130.0.6723.117/tools/gn/bootstrap/bootstrap.py",
"--gn-gen-args=is_debug=false enable_nacl=false is_official_build=true enable_distro_version_check=false use_system_libjpeg=true use_v8_context_snapshot=false",
"--use-custom-libcxx"
],
"cwd": "[START_DIR]/build_dir/chromium-130.0.6723.117",
"env": {
"AR": "[START_DIR]/build_dir/chromium-130.0.6723.117/third_party/llvm-build/Release+Asserts/bin/llvm-ar",
"CC": "[START_DIR]/build_dir/chromium-130.0.6723.117/third_party/llvm-build/Release+Asserts/bin/clang",
"CXX": "[START_DIR]/build_dir/chromium-130.0.6723.117/third_party/llvm-build/Release+Asserts/bin/clang++",
"LDFLAGS": "-fuse-ld=lld"
},
"env_suffixes": {
"PATH": [
"[CACHE]/cipd"
]
},
"name": "Bootstrap gn."
},
{
"cmd": [
"[START_DIR]/build_dir/chromium-130.0.6723.117/third_party/node/update_node_binaries"
],
"cwd": "[START_DIR]/build_dir/chromium-130.0.6723.117",
"env_suffixes": {
"PATH": [
"[CACHE]/cipd"
]
},
"name": "Download nodejs."
},
{
"cmd": [
"[START_DIR]/build_dir/chromium-130.0.6723.117/build/linux/unbundle/replace_gn_files.py",
"--system-libraries",
"fontconfig",
"freetype",
"libdrm",
"libjpeg",
"opus"
],
"cwd": "[START_DIR]/build_dir/chromium-130.0.6723.117",
"env_suffixes": {
"PATH": [
"[CACHE]/cipd"
]
},
"name": "Unbundle libraries."
},
{
"cmd": [
"ninja",
"-C",
"out/Release",
"chrome/installer/linux"
],
"cwd": "[START_DIR]/build_dir/chromium-130.0.6723.117",
"env_suffixes": {
"PATH": [
"[CACHE]/cipd"
]
},
"name": "Build chrome."
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"rmtree",
"[START_DIR]/build_dir"
],
"infra_step": true,
"name": "Cleaning build dir."
},
{
"name": "$result"
}
]