| Index: scripts/slave/recipes/flutter/flutter.expected/mac.json
|
| diff --git a/scripts/slave/recipes/flutter/flutter.expected/mac.json b/scripts/slave/recipes/flutter/flutter.expected/mac.json
|
| index 07a3b1ec615e11d4a5499a8500d0c7d9ffc3f6b6..5988dcd99fff45cb61c237c8656cf9ffada88f1e 100644
|
| --- a/scripts/slave/recipes/flutter/flutter.expected/mac.json
|
| +++ b/scripts/slave/recipes/flutter/flutter.expected/mac.json
|
| @@ -4,9 +4,8 @@
|
| "python",
|
| "-u",
|
| "\nimport os, sys\nfrom common import chromium_utils # Error? See https://crbug.com/584783.\n\npath = sys.argv[1]\nif os.path.exists(path):\n for p in (os.path.join(path, x) for x in os.listdir(path)):\n if os.path.isdir(p):\n chromium_utils.RemoveDirectory(p)\n else:\n os.unlink(p)\n",
|
| - "[SLAVE_BUILD]"
|
| + "[CWD]"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "rmcontents everything",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@python.inline@@@@",
|
| @@ -29,11 +28,10 @@
|
| "-u",
|
| "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
|
| "--path",
|
| - "[SLAVE_BUILD]/flutter",
|
| + "[CWD]/flutter",
|
| "--url",
|
| "https://chromium.googlesource.com/external/github.com/flutter/flutter"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "git setup"
|
| },
|
| {
|
| @@ -45,7 +43,7 @@
|
| "master",
|
| "--recurse-submodules"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/flutter",
|
| + "cwd": "[CWD]/flutter",
|
| "name": "git fetch"
|
| },
|
| {
|
| @@ -55,7 +53,7 @@
|
| "-f",
|
| "FETCH_HEAD"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/flutter",
|
| + "cwd": "[CWD]/flutter",
|
| "name": "git checkout"
|
| },
|
| {
|
| @@ -64,7 +62,7 @@
|
| "rev-parse",
|
| "HEAD"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/flutter",
|
| + "cwd": "[CWD]/flutter",
|
| "name": "read revision",
|
| "stdout": "/path/to/tmp/",
|
| "~followup_annotations": [
|
| @@ -80,7 +78,7 @@
|
| "-d",
|
| "-x"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/flutter",
|
| + "cwd": "[CWD]/flutter",
|
| "name": "git clean"
|
| },
|
| {
|
| @@ -89,7 +87,7 @@
|
| "submodule",
|
| "sync"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/flutter",
|
| + "cwd": "[CWD]/flutter",
|
| "name": "submodule sync"
|
| },
|
| {
|
| @@ -100,29 +98,27 @@
|
| "--init",
|
| "--recursive"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/flutter",
|
| + "cwd": "[CWD]/flutter",
|
| "name": "submodule update"
|
| },
|
| {
|
| "cmd": [
|
| - "[SLAVE_BUILD]/flutter/infra/download_android_tools.py"
|
| + "[CWD]/flutter/infra/download_android_tools.py"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "download android tools"
|
| },
|
| {
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[BUILD]/scripts/slave/ios/find_xcode.py",
|
| + "[ROOT]/b/build/scripts/slave/ios/find_xcode.py",
|
| "--json-file",
|
| "/path/to/tmp/json"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| - "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
|
| - "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| - "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
|
| + "ANDROID_HOME": "[CWD]/flutter/infra/android_tools",
|
| + "PATH": "[CWD]/flutter/bin:[CWD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| + "PUB_CACHE": "[CWD]/.pub-cache"
|
| },
|
| "name": "enumerate_xcode_installations",
|
| "~followup_annotations": [
|
| @@ -138,17 +134,16 @@
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[BUILD]/scripts/slave/ios/find_xcode.py",
|
| + "[ROOT]/b/build/scripts/slave/ios/find_xcode.py",
|
| "--json-file",
|
| "/path/to/tmp/json",
|
| "--version",
|
| "7.2.1"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| - "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
|
| - "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| - "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
|
| + "ANDROID_HOME": "[CWD]/flutter/infra/android_tools",
|
| + "PATH": "[CWD]/flutter/bin:[CWD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| + "PUB_CACHE": "[CWD]/.pub-cache"
|
| },
|
| "name": "set_xcode_version",
|
| "~followup_annotations": [
|
| @@ -161,11 +156,10 @@
|
| "flutter",
|
| "doctor"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| - "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
|
| - "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| - "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
|
| + "ANDROID_HOME": "[CWD]/flutter/infra/android_tools",
|
| + "PATH": "[CWD]/flutter/bin:[CWD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| + "PUB_CACHE": "[CWD]/.pub-cache"
|
| },
|
| "name": "flutter doctor"
|
| },
|
| @@ -174,11 +168,10 @@
|
| "flutter",
|
| "update-packages"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| - "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
|
| - "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| - "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
|
| + "ANDROID_HOME": "[CWD]/flutter/infra/android_tools",
|
| + "PATH": "[CWD]/flutter/bin:[CWD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| + "PUB_CACHE": "[CWD]/.pub-cache"
|
| },
|
| "name": "update packages"
|
| },
|
| @@ -191,11 +184,11 @@
|
| "--no-current-package",
|
| "--congratulate"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/flutter",
|
| + "cwd": "[CWD]/flutter",
|
| "env": {
|
| - "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
|
| - "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| - "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
|
| + "ANDROID_HOME": "[CWD]/flutter/infra/android_tools",
|
| + "PATH": "[CWD]/flutter/bin:[CWD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| + "PUB_CACHE": "[CWD]/.pub-cache"
|
| },
|
| "name": "flutter analyze"
|
| },
|
| @@ -205,11 +198,11 @@
|
| "-c",
|
| "test/all.dart"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/flutter/packages/cassowary",
|
| + "cwd": "[CWD]/flutter/packages/cassowary",
|
| "env": {
|
| - "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
|
| - "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| - "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
|
| + "ANDROID_HOME": "[CWD]/flutter/infra/android_tools",
|
| + "PATH": "[CWD]/flutter/bin:[CWD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| + "PUB_CACHE": "[CWD]/.pub-cache"
|
| },
|
| "name": "test cassowary"
|
| },
|
| @@ -219,11 +212,11 @@
|
| "-c",
|
| "test/all.dart"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/flutter/packages/flutter_driver",
|
| + "cwd": "[CWD]/flutter/packages/flutter_driver",
|
| "env": {
|
| - "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
|
| - "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| - "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
|
| + "ANDROID_HOME": "[CWD]/flutter/infra/android_tools",
|
| + "PATH": "[CWD]/flutter/bin:[CWD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| + "PUB_CACHE": "[CWD]/.pub-cache"
|
| },
|
| "name": "test flutter_driver"
|
| },
|
| @@ -233,11 +226,11 @@
|
| "-c",
|
| "test/all.dart"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/flutter/packages/flutter_tools",
|
| + "cwd": "[CWD]/flutter/packages/flutter_tools",
|
| "env": {
|
| - "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
|
| - "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| - "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
|
| + "ANDROID_HOME": "[CWD]/flutter/infra/android_tools",
|
| + "PATH": "[CWD]/flutter/bin:[CWD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| + "PUB_CACHE": "[CWD]/.pub-cache"
|
| },
|
| "name": "test flutter_tools"
|
| },
|
| @@ -247,11 +240,11 @@
|
| "-c",
|
| "test/all.dart"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/flutter/packages/flx",
|
| + "cwd": "[CWD]/flutter/packages/flx",
|
| "env": {
|
| - "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
|
| - "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| - "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
|
| + "ANDROID_HOME": "[CWD]/flutter/infra/android_tools",
|
| + "PATH": "[CWD]/flutter/bin:[CWD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| + "PUB_CACHE": "[CWD]/.pub-cache"
|
| },
|
| "name": "test flx"
|
| },
|
| @@ -261,11 +254,11 @@
|
| "-c",
|
| "test/all.dart"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/flutter/packages/newton",
|
| + "cwd": "[CWD]/flutter/packages/newton",
|
| "env": {
|
| - "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
|
| - "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| - "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
|
| + "ANDROID_HOME": "[CWD]/flutter/infra/android_tools",
|
| + "PATH": "[CWD]/flutter/bin:[CWD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| + "PUB_CACHE": "[CWD]/.pub-cache"
|
| },
|
| "name": "test newton"
|
| },
|
| @@ -275,11 +268,11 @@
|
| "build",
|
| "apk"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/flutter/examples/stocks",
|
| + "cwd": "[CWD]/flutter/examples/stocks",
|
| "env": {
|
| - "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
|
| - "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| - "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
|
| + "ANDROID_HOME": "[CWD]/flutter/infra/android_tools",
|
| + "PATH": "[CWD]/flutter/bin:[CWD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| + "PUB_CACHE": "[CWD]/.pub-cache"
|
| },
|
| "name": "flutter build apk stocks"
|
| },
|
| @@ -290,11 +283,11 @@
|
| "ios",
|
| "--no-codesign"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/flutter/examples/stocks",
|
| + "cwd": "[CWD]/flutter/examples/stocks",
|
| "env": {
|
| - "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
|
| - "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| - "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
|
| + "ANDROID_HOME": "[CWD]/flutter/infra/android_tools",
|
| + "PATH": "[CWD]/flutter/bin:[CWD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| + "PUB_CACHE": "[CWD]/.pub-cache"
|
| },
|
| "name": "flutter build ios stocks"
|
| },
|
| @@ -305,11 +298,11 @@
|
| "ios",
|
| "--simulator"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/flutter/examples/stocks",
|
| + "cwd": "[CWD]/flutter/examples/stocks",
|
| "env": {
|
| - "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
|
| - "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| - "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
|
| + "ANDROID_HOME": "[CWD]/flutter/infra/android_tools",
|
| + "PATH": "[CWD]/flutter/bin:[CWD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| + "PUB_CACHE": "[CWD]/.pub-cache"
|
| },
|
| "name": "flutter build ios simulator stocks"
|
| },
|
| @@ -319,11 +312,11 @@
|
| "build",
|
| "apk"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/flutter/examples/material_gallery",
|
| + "cwd": "[CWD]/flutter/examples/material_gallery",
|
| "env": {
|
| - "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
|
| - "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| - "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
|
| + "ANDROID_HOME": "[CWD]/flutter/infra/android_tools",
|
| + "PATH": "[CWD]/flutter/bin:[CWD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| + "PUB_CACHE": "[CWD]/.pub-cache"
|
| },
|
| "name": "flutter build apk material_gallery"
|
| },
|
| @@ -334,11 +327,11 @@
|
| "ios",
|
| "--no-codesign"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/flutter/examples/material_gallery",
|
| + "cwd": "[CWD]/flutter/examples/material_gallery",
|
| "env": {
|
| - "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
|
| - "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| - "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
|
| + "ANDROID_HOME": "[CWD]/flutter/infra/android_tools",
|
| + "PATH": "[CWD]/flutter/bin:[CWD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| + "PUB_CACHE": "[CWD]/.pub-cache"
|
| },
|
| "name": "flutter build ios material_gallery"
|
| },
|
| @@ -349,11 +342,11 @@
|
| "ios",
|
| "--simulator"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/flutter/examples/material_gallery",
|
| + "cwd": "[CWD]/flutter/examples/material_gallery",
|
| "env": {
|
| - "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
|
| - "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| - "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
|
| + "ANDROID_HOME": "[CWD]/flutter/infra/android_tools",
|
| + "PATH": "[CWD]/flutter/bin:[CWD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| + "PUB_CACHE": "[CWD]/.pub-cache"
|
| },
|
| "name": "flutter build ios simulator material_gallery"
|
| },
|
| @@ -364,11 +357,11 @@
|
| "--with-driver-test",
|
| "sample_app"
|
| ],
|
| - "cwd": "[TMP_BASE]/tmp_tmp_1",
|
| + "cwd": "[TMP]/tmp_tmp_1",
|
| "env": {
|
| - "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
|
| - "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| - "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
|
| + "ANDROID_HOME": "[CWD]/flutter/infra/android_tools",
|
| + "PATH": "[CWD]/flutter/bin:[CWD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| + "PUB_CACHE": "[CWD]/.pub-cache"
|
| },
|
| "name": "test create"
|
| },
|
| @@ -378,11 +371,11 @@
|
| "drive",
|
| "--verbose"
|
| ],
|
| - "cwd": "[TMP_BASE]/tmp_tmp_1/sample_app",
|
| + "cwd": "[TMP]/tmp_tmp_1/sample_app",
|
| "env": {
|
| - "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
|
| - "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| - "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
|
| + "ANDROID_HOME": "[CWD]/flutter/infra/android_tools",
|
| + "PATH": "[CWD]/flutter/bin:[CWD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| + "PUB_CACHE": "[CWD]/.pub-cache"
|
| },
|
| "name": "drive sample_app"
|
| },
|
| @@ -391,13 +384,12 @@
|
| "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",
|
| - "[TMP_BASE]/tmp_tmp_1"
|
| + "[TMP]/tmp_tmp_1"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| - "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
|
| - "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| - "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
|
| + "ANDROID_HOME": "[CWD]/flutter/infra/android_tools",
|
| + "PATH": "[CWD]/flutter/bin:[CWD]/flutter/bin/cache/dart-sdk/bin:%(PATH)s",
|
| + "PUB_CACHE": "[CWD]/.pub-cache"
|
| },
|
| "name": "rmtree temp dir",
|
| "~followup_annotations": [
|
|
|