| Index: infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-Clang-arm64-Debug-GN_Android-Trybot.json
|
| diff --git a/infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-Clang-x86_64-Debug-ASAN.json b/infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-Clang-arm64-Debug-GN_Android-Trybot.json
|
| similarity index 89%
|
| copy from infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-Clang-x86_64-Debug-ASAN.json
|
| copy to infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-Clang-arm64-Debug-GN_Android-Trybot.json
|
| index 827ad8a49bc50e8552f826c08692429dfa91062a..8e4a61b46220b1a9864fe76876f17de16b49fb7b 100644
|
| --- a/infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-Clang-x86_64-Debug-ASAN.json
|
| +++ b/infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-Clang-arm64-Debug-GN_Android-Trybot.json
|
| @@ -35,7 +35,7 @@
|
| "BUILDTYPE": "Debug",
|
| "CHROME_HEADLESS": "1",
|
| "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
|
| - "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-ASAN"
|
| + "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Debug-GN_Android-Trybot"
|
| },
|
| "name": "gclient setup"
|
| },
|
| @@ -64,7 +64,7 @@
|
| "BUILDTYPE": "Debug",
|
| "CHROME_HEADLESS": "1",
|
| "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]",
|
| - "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-ASAN"
|
| + "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Debug-GN_Android-Trybot"
|
| },
|
| "name": "gclient sync",
|
| "~followup_annotations": [
|
| @@ -95,7 +95,7 @@
|
| "BUILDTYPE": "Debug",
|
| "CHROME_HEADLESS": "1",
|
| "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]",
|
| - "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-ASAN"
|
| + "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Debug-GN_Android-Trybot"
|
| },
|
| "name": "gclient recurse (git config user.name)"
|
| },
|
| @@ -115,12 +115,32 @@
|
| "BUILDTYPE": "Debug",
|
| "CHROME_HEADLESS": "1",
|
| "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]",
|
| - "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-ASAN"
|
| + "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Debug-GN_Android-Trybot"
|
| },
|
| "name": "gclient recurse (git config user.email)"
|
| },
|
| {
|
| "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[DEPOT_TOOLS]/apply_issue.py",
|
| + "-r",
|
| + "[CUSTOM_/_B_WORK]/skia",
|
| + "-i",
|
| + "500",
|
| + "-p",
|
| + "1",
|
| + "-s",
|
| + "https://codereview.chromium.org",
|
| + "--no-auth"
|
| + ],
|
| + "name": "apply_issue",
|
| + "~followup_annotations": [
|
| + "@@@STEP_LINK@Applied issue 500@https://codereview.chromium.org/500@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn"
|
| ],
|
| "cwd": "[CUSTOM_/_B_WORK]/skia",
|
| @@ -133,8 +153,8 @@
|
| "cmd": [
|
| "gn",
|
| "gen",
|
| - "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-ASAN/Debug",
|
| - "--args=cc=\"[SLAVE_BUILD]/clang_linux/bin/clang\" cxx=\"[SLAVE_BUILD]/clang_linux/bin/clang++\" extra_ldflags=\"-fuse-ld=lld\" sanitize=\"ASAN\""
|
| + "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Debug-GN_Android-Trybot/Debug",
|
| + "--args=ndk=\"[SLAVE_BUILD]/android_ndk_linux\" target_cpu=\"arm64\""
|
| ],
|
| "cwd": "[CUSTOM_/_B_WORK]/skia",
|
| "env": {
|
| @@ -146,7 +166,7 @@
|
| "cmd": [
|
| "ninja",
|
| "-C",
|
| - "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-ASAN/Debug"
|
| + "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Debug-GN_Android-Trybot/Debug"
|
| ],
|
| "cwd": "[CUSTOM_/_B_WORK]/skia",
|
| "env": {
|
| @@ -159,7 +179,7 @@
|
| "python",
|
| "-u",
|
| "import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc = sys.argv[1]\ndst = sys.argv[2]\nbuild_products_whitelist = ['dm', 'dm.exe', 'get_images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so', 'iOSShell.app', 'iOSShell.ipa', 'visualbench', 'visualbench.exe', 'vulkan-1.dll']\n\ntry:\n os.makedirs(dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor pattern in build_products_whitelist:\n path = os.path.join(src, pattern)\n for f in glob.glob(path):\n dst_path = os.path.join(dst, os.path.relpath(f, src))\n if not os.path.isdir(os.path.dirname(dst_path)):\n os.makedirs(os.path.dirname(dst_path))\n print 'Copying build product %s to %s' % (f, dst_path)\n shutil.move(f, dst_path)\n",
|
| - "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-ASAN/Debug",
|
| + "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Debug-GN_Android-Trybot/Debug",
|
| "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug"
|
| ],
|
| "name": "copy build products",
|
|
|