| Index: scripts/slave/recipes/webrtc/ios.expected/gn_build.json
|
| diff --git a/scripts/slave/recipes/webrtc/ios.expected/gn_build.json b/scripts/slave/recipes/webrtc/ios.expected/gn_build.json
|
| index cce6051937290ed8e2fb323abad3cc90cbc65ca9..aa0e1cbf1ba13995e7a7a5835520b4ac01b1cbe8 100644
|
| --- a/scripts/slave/recipes/webrtc/ios.expected/gn_build.json
|
| +++ b/scripts/slave/recipes/webrtc/ios.expected/gn_build.json
|
| @@ -5,6 +5,7 @@
|
| "--json-file",
|
| "/path/to/tmp/json"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "host and tools info",
|
| "~followup_annotations": [
|
| "@@@STEP_TEXT@<br />OS X 1.2.3, Xcode 6.7.8 (5D342509a)@@@",
|
| @@ -33,19 +34,20 @@
|
| "--slave",
|
| "fake-vm",
|
| "--spec",
|
| - "cache_dir = '[ROOT]/b/build/slave/cache_dir'\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/external/webrtc'}, {'deps_file': 'DEPS', 'managed': True, 'name': 'webrtc-limited', 'url': 'https://chrome-internal.googlesource.com/chrome/deps/webrtc-limited'}]\ntarget_os = ['ios', 'mac']",
|
| + "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/external/webrtc'}, {'deps_file': 'DEPS', 'managed': True, 'name': 'webrtc-limited', 'url': 'https://chrome-internal.googlesource.com/chrome/deps/webrtc-limited'}]\ntarget_os = ['ios', 'mac']",
|
| "--root",
|
| "src",
|
| "--revision_mapping_file",
|
| "{\"src\": \"got_revision\"}",
|
| "--git-cache-dir",
|
| - "[ROOT]/b/build/slave/cache_dir",
|
| + "[GIT_CACHE]",
|
| "--output_json",
|
| "/path/to/tmp/json",
|
| "--revision",
|
| "src@HEAD",
|
| "--output_manifest"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
|
| },
|
| @@ -63,9 +65,10 @@
|
| "python",
|
| "-u",
|
| "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
|
| - "[CWD]/src/webrtc/build/ios/chromium.fake/ios.json",
|
| + "[SLAVE_BUILD]/src/webrtc/build/ios/chromium.fake/ios.json",
|
| "/path/to/tmp/json"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "read build config",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@json.output@{@@@",
|
| @@ -89,6 +92,7 @@
|
| "-e",
|
| "{\n \"GYP_DEFINES\": {\n \"OS\": \"ios\", \n \"component\": \"static_library\"\n }, \n \"additional_compile_targets\": [\n \"All\"\n ], \n \"compiler\": \"ninja\", \n \"configuration\": \"Debug\", \n \"env\": {}, \n \"gn_args\": [\n \"is_debug=true\"\n ], \n \"mb_type\": \"gn\", \n \"sdk\": \"iphoneos8.0\", \n \"tests\": [], \n \"triggered bots\": {}, \n \"use_analyze\": true, \n \"xcode version\": \"fake xcode version\"\n}"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "finalize build config"
|
| },
|
| {
|
| @@ -99,6 +103,7 @@
|
| "--version",
|
| "fake xcode version"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "find xcode",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@json.output@{}@@@",
|
| @@ -112,6 +117,7 @@
|
| "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
|
| "runhooks"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| "GYP_CHROMIUM_NO_ACTION": "1",
|
| "GYP_CROSSCOMPILE": "1",
|
| @@ -127,6 +133,7 @@
|
| },
|
| {
|
| "cmd": [],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "ensure_goma"
|
| },
|
| {
|
| @@ -137,16 +144,17 @@
|
| "--platform",
|
| "mac-amd64",
|
| "--dest-directory",
|
| - "[CWD]/cipd",
|
| + "[SLAVE_BUILD]/cipd",
|
| "--json-output",
|
| "/path/to/tmp/json"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "ensure_goma.install cipd",
|
| "~followup_annotations": [
|
| "@@@STEP_NEST_LEVEL@1@@@",
|
| "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@@",
|
| "@@@STEP_LOG_LINE@json.output@{@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"executable\": \"fake_slave_build/cipd\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\", @@@",
|
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\"@@@",
|
| "@@@STEP_LOG_LINE@json.output@}@@@",
|
| "@@@STEP_LOG_END@json.output@@@"
|
| @@ -154,10 +162,10 @@
|
| },
|
| {
|
| "cmd": [
|
| - "fake_slave_build/cipd",
|
| + "[SLAVE_BUILD]/cipd/cipd",
|
| "ensure",
|
| "--root",
|
| - "[ROOT]/b/build/slave/cache/cipd/goma",
|
| + "[CACHE]/cipd/goma",
|
| "--list",
|
| "infra_internal/goma/client/mac-amd64 release",
|
| "--json-output",
|
| @@ -165,6 +173,7 @@
|
| "--service-account-json",
|
| "/creds/service_accounts/service-account-goma-client.json"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "ensure_goma.ensure_installed",
|
| "~followup_annotations": [
|
| "@@@STEP_NEST_LEVEL@1@@@",
|
| @@ -183,27 +192,28 @@
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[CWD]/src/tools/mb/mb.py",
|
| + "[SLAVE_BUILD]/src/tools/mb/mb.py",
|
| "gen",
|
| "-m",
|
| "chromium.fake",
|
| "-b",
|
| "ios",
|
| "--config-file",
|
| - "[CWD]/src/webrtc/build/mb_config.pyl",
|
| + "[SLAVE_BUILD]/src/webrtc/build/mb_config.pyl",
|
| "--goma-dir",
|
| - "[ROOT]/b/build/slave/cache/cipd/goma",
|
| + "[CACHE]/cipd/goma",
|
| "//out/Debug-iphoneos"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "generate_build_files"
|
| },
|
| {
|
| "cmd": [
|
| "ninja",
|
| "-C",
|
| - "[CWD]/src/out/Debug-iphoneos"
|
| + "[SLAVE_BUILD]/src/out/Debug-iphoneos"
|
| ],
|
| - "cwd": "[CWD]/src/out/Debug-iphoneos",
|
| + "cwd": "[SLAVE_BUILD]/src/out/Debug-iphoneos",
|
| "name": "compile"
|
| },
|
| {
|
|
|