| Index: scripts/slave/recipes/chromium_codesearch.expected/full_Chromium_Linux_Codesearch.json
|
| diff --git a/scripts/slave/recipes/chromium_codesearch.expected/full_Chromium_Linux_Codesearch.json b/scripts/slave/recipes/chromium_codesearch.expected/full_Chromium_Linux_Codesearch.json
|
| index 56ec237056bf84dc84cd22aa6d9110cc6f0694ce..378446e06025388e619631a8bb1a7d98d86b40c8 100644
|
| --- a/scripts/slave/recipes/chromium_codesearch.expected/full_Chromium_Linux_Codesearch.json
|
| +++ b/scripts/slave/recipes/chromium_codesearch.expected/full_Chromium_Linux_Codesearch.json
|
| @@ -11,20 +11,19 @@
|
| "--slave",
|
| "TestSlavename",
|
| "--spec",
|
| - "cache_dir = '[GIT_CACHE]'\nsolutions = [{'custom_vars': {'googlecode_url': 'svn://svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium.org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org/%(repo)s', 'webkit_trunk': 'https://chromium.googlesource.com/chromium/blink.git'}, 'deps_file': '.DEPS.git', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}, {'deps_file': '.DEPS.git', 'managed': True, 'name': 'tools/chrome-devtools-frontend', 'url': 'https://chromium.googlesource.com/chromium/tools/chrome-devtools-frontend'}, {'deps_file': '.DEPS.git', 'managed': True, 'name': 'tools/gsd_generate_index', 'url': 'https://chromium.googlesource.com/chromium/tools/gsd_generate_index'}, {'deps_file': '.DEPS.git', 'managed': True, 'name': 'tools/perf', 'url': 'https://chromium.googlesource.com/chromium/tools/perf'}, {'deps_file': '.DEPS.git', 'managed': True, 'name': 'tools/command_wrapper/bin', 'url': 'https://chromium.googlesource.com/chromium/tools/command_wrapper/bin'}, {'deps_file': '.DEPS.git', 'managed': True, 'name': 'tools/depot_tools', 'url': 'https://chromium.googlesource.com/chromium/tools/depot_tools'}, {'deps_file': '.DEPS.git', 'managed': True, 'name': 'tools/chromium-jobqueue', 'url': 'https://chromium.googlesource.com/chromium/tools/chromium-jobqueue'}, {'deps_file': '.DEPS.git', 'managed': True, 'name': 'tools/chromium-shortener', 'url': 'https://chromium.googlesource.com/chromium/tools/chromium-shortener'}, {'deps_file': '.DEPS.git', 'managed': True, 'name': 'tools/deps2git', 'url': 'https://chromium.googlesource.com/chromium/tools/deps2git'}, {'deps_file': '.DEPS.git', 'managed': True, 'name': 'infra', 'url': 'https://chromium.googlesource.com/infra/infra'}]",
|
| + "cache_dir = '[ROOT]/b/build/slave/cache_dir'\nsolutions = [{'custom_vars': {'googlecode_url': 'svn://svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium.org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org/%(repo)s', 'webkit_trunk': 'https://chromium.googlesource.com/chromium/blink.git'}, 'deps_file': '.DEPS.git', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}, {'deps_file': '.DEPS.git', 'managed': True, 'name': 'tools/chrome-devtools-frontend', 'url': 'https://chromium.googlesource.com/chromium/tools/chrome-devtools-frontend'}, {'deps_file': '.DEPS.git', 'managed': True, 'name': 'tools/gsd_generate_index', 'url': 'https://chromium.googlesource.com/chromium/tools/gsd_generate_index'}, {'deps_file': '.DEPS.git', 'managed': True, 'name': 'tools/perf', 'url': 'https://chromium.googlesource.com/chromium/tools/perf'}, {'deps_file': '.DEPS.git', 'managed': True, 'name': 'tools/command_wrapper/bin', 'url': 'https://chromium.googlesource.com/chromium/tools/command_wrapper/bin'}, {'deps_file': '.DEPS.git', 'managed': True, 'name': 'tools/depot_tools', 'url': 'https://chromium.googlesource.com/chromium/tools/depot_tools'}, {'deps_file': '.DEPS.git', 'managed': True, 'name': 'tools/chromium-jobqueue', 'url': 'https://chromium.googlesource.com/chromium/tools/chromium-jobqueue'}, {'deps_file': '.DEPS.git', 'managed': True, 'name': 'tools/chromium-shortener', 'url': 'https://chromium.googlesource.com/chromium/tools/chromium-shortener'}, {'deps_file': '.DEPS.git', 'managed': True, 'name': 'tools/deps2git', 'url': 'https://chromium.googlesource.com/chromium/tools/deps2git'}, {'deps_file': '.DEPS.git', 'managed': True, 'name': 'infra', 'url': 'https://chromium.googlesource.com/infra/infra'}]",
|
| "--root",
|
| "src",
|
| "--revision_mapping_file",
|
| "{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\", \"src/third_party/angle\": \"got_angle_revision\", \"src/third_party/webrtc\": \"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_revision\", \"src/v8\": \"got_v8_revision\"}",
|
| "--git-cache-dir",
|
| - "[GIT_CACHE]",
|
| + "[ROOT]/b/build/slave/cache_dir",
|
| "--output_json",
|
| "/path/to/tmp/json",
|
| "--revision",
|
| "src@HEAD",
|
| "--output_manifest"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
|
| },
|
| @@ -101,9 +100,8 @@
|
| "python",
|
| "-u",
|
| "\nimport os, sys\nfrom common import chromium_utils # Error? See https://crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n",
|
| - "[SLAVE_BUILD]/src/third_party/llvm-build"
|
| + "[CWD]/src/third_party/llvm-build"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "rmtree llvm-build",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@python.inline@@@@",
|
| @@ -123,29 +121,28 @@
|
| "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
|
| "runhooks"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json",
|
| - "GYP_DEFINES": "clang=1 component=shared_library fastbuild=1 gomadir='[BUILD]/goma' target_arch=x64 use_goma=1",
|
| + "GYP_DEFINES": "clang=1 component=shared_library fastbuild=1 gomadir='[ROOT]/b/build/goma' target_arch=x64 use_goma=1",
|
| "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
|
| },
|
| "name": "gclient runhooks"
|
| },
|
| {
|
| "cmd": [
|
| - "[SLAVE_BUILD]/src/buildtools/linux64/gn",
|
| + "[CWD]/src/buildtools/linux64/gn",
|
| "gen",
|
| - "[SLAVE_BUILD]/src/out/Debug",
|
| + "[CWD]/src/out/Debug",
|
| "--args=is_clang=true is_component_build=true is_debug=true goma_dir=\"/b/build/goma\" symbol_level=1 target_cpu=\"x64\" use_goma=true"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/src",
|
| + "cwd": "[CWD]/src",
|
| "name": "generate build files for linux"
|
| },
|
| {
|
| "cmd": [
|
| "ninja",
|
| "-C",
|
| - "[SLAVE_BUILD]/src/out/Debug",
|
| + "[CWD]/src/out/Debug",
|
| "All",
|
| "-t",
|
| "compdb",
|
| @@ -154,7 +151,6 @@
|
| "objc",
|
| "objcxx"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "generate compilation database for linux",
|
| "stdout": "/path/to/tmp/"
|
| },
|
| @@ -165,11 +161,10 @@
|
| "-u",
|
| "RECIPE_PACKAGE_REPO[build]/scripts/slave/clang_revision.py",
|
| "--src-dir",
|
| - "[SLAVE_BUILD]/src",
|
| + "[CWD]/src",
|
| "--output-json",
|
| "/path/to/tmp/json"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json"
|
| },
|
| @@ -196,9 +191,9 @@
|
| "--target",
|
| "Debug",
|
| "--src-dir",
|
| - "[SLAVE_BUILD]/src",
|
| + "[CWD]/src",
|
| "--goma-cache-dir",
|
| - "[GOMA_CACHE]",
|
| + "[ROOT]/b/build/slave/goma_cache",
|
| "--build-args",
|
| "-k 0",
|
| "--build-tool",
|
| @@ -210,11 +205,10 @@
|
| "--goma-service-account-json-file",
|
| "/creds/service_accounts/service-account-goma-client.json",
|
| "--goma-dir",
|
| - "[BUILD]/goma",
|
| + "[ROOT]/b/build/goma",
|
| "--",
|
| "All"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json"
|
| },
|
| @@ -228,9 +222,8 @@
|
| "cmd": [
|
| "cp",
|
| "some compilation data",
|
| - "[SLAVE_BUILD]/src/out/Debug/compile_commands.json"
|
| + "[CWD]/src/out/Debug/compile_commands.json"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "copy compilation database"
|
| },
|
| {
|
| @@ -241,32 +234,30 @@
|
| "--tools",
|
| "translation_unit"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/src",
|
| + "cwd": "[CWD]/src",
|
| "name": "compile translation_unit clang tool"
|
| },
|
| {
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[SLAVE_BUILD]/src/tools/clang/scripts/run_tool.py",
|
| - "[SLAVE_BUILD]/src/third_party/llvm-build/Release+Asserts/bin/translation_unit",
|
| - "[SLAVE_BUILD]/src/out/Debug",
|
| + "[CWD]/src/tools/clang/scripts/run_tool.py",
|
| + "[CWD]/src/third_party/llvm-build/Release+Asserts/bin/translation_unit",
|
| + "[CWD]/src/out/Debug",
|
| "--all"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "run translation_unit clang tool"
|
| },
|
| {
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[BUILD]/scripts/slave/chromium/package_index.py",
|
| + "[ROOT]/b/build/scripts/slave/chromium/package_index.py",
|
| "--path-to-compdb",
|
| - "[SLAVE_BUILD]/src/out/Debug/compile_commands.json",
|
| + "[CWD]/src/out/Debug/compile_commands.json",
|
| "--path-to-archive-output",
|
| - "[SLAVE_BUILD]/src/out/Debug/index_pack_linux.zip"
|
| + "[CWD]/src/out/Debug/index_pack_linux.zip"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "create index pack"
|
| },
|
| {
|
| @@ -275,13 +266,12 @@
|
| "-u",
|
| "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
|
| "--",
|
| - "[DEPOT_TOOLS]/gsutil.py",
|
| + "[ROOT]/b/depot_tools/gsutil.py",
|
| "----",
|
| "cp",
|
| - "[SLAVE_BUILD]/src/out/Debug/index_pack_linux.zip",
|
| + "[CWD]/src/out/Debug/index_pack_linux.zip",
|
| "gs://chrome-codesearch/prod/index_pack_linux_170242.zip"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "gsutil upload index pack",
|
| "~followup_annotations": [
|
| "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chrome-codesearch/prod/index_pack_linux_170242.zip@@@"
|
| @@ -291,7 +281,7 @@
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[BUILD]/scripts/slave/archive_source_codesearch.py",
|
| + "[ROOT]/b/build/scripts/slave/archive_source_codesearch.py",
|
| "src",
|
| "build",
|
| "infra",
|
| @@ -299,7 +289,6 @@
|
| "-f",
|
| "chromium_src_linux.tar.bz2"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "archive source"
|
| },
|
| {
|
| @@ -308,13 +297,12 @@
|
| "-u",
|
| "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
|
| "--",
|
| - "[DEPOT_TOOLS]/gsutil.py",
|
| + "[ROOT]/b/depot_tools/gsutil.py",
|
| "----",
|
| "cp",
|
| - "[SLAVE_BUILD]/chromium_src_linux.tar.bz2",
|
| + "[CWD]/chromium_src_linux.tar.bz2",
|
| "gs://chrome-codesearch/prod/chromium_src_linux_170242.tar.bz2"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "gsutil upload source tarball",
|
| "~followup_annotations": [
|
| "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chrome-codesearch/prod/chromium_src_linux_170242.tar.bz2@@@"
|
|
|