Index: infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-Clang-arm64-Release-GN_Android.json |
diff --git a/infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-Clang-x86_64-Debug-GN.json b/infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-Clang-arm64-Release-GN_Android.json |
similarity index 89% |
copy from infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-Clang-x86_64-Debug-GN.json |
copy to infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-Clang-arm64-Release-GN_Android.json |
index 35c21ce8896611c755a58d5d429ccc80804e0359..2d930770b7035b6ccccc923f773d003285397cd5 100644 |
--- a/infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-Clang-x86_64-Debug-GN.json |
+++ b/infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-Clang-arm64-Release-GN_Android.json |
@@ -32,10 +32,10 @@ |
], |
"cwd": "[CUSTOM_/_B_WORK]", |
"env": { |
- "BUILDTYPE": "Debug", |
+ "BUILDTYPE": "Release", |
"CHROME_HEADLESS": "1", |
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
- "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-GN" |
+ "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Release-GN_Android" |
}, |
"name": "gclient setup" |
}, |
@@ -56,10 +56,10 @@ |
], |
"cwd": "[CUSTOM_/_B_WORK]", |
"env": { |
- "BUILDTYPE": "Debug", |
+ "BUILDTYPE": "Release", |
"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-GN" |
+ "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Release-GN_Android" |
}, |
"name": "gclient sync", |
"~followup_annotations": [ |
@@ -81,10 +81,10 @@ |
"import json\nimport subprocess\nimport sys\n\nccache = None\ntry:\n ccache = subprocess.check_output(['which', 'ccache']).rstrip()\nexcept:\n pass\nprint json.dumps({'ccache': ccache})\n" |
], |
"env": { |
- "BUILDTYPE": "Debug", |
+ "BUILDTYPE": "Release", |
"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-GN" |
+ "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Release-GN_Android" |
}, |
"name": "has ccache?", |
"stdout": "/path/to/tmp/json", |
@@ -112,13 +112,13 @@ |
], |
"cwd": "[CUSTOM_/_B_WORK]/skia", |
"env": { |
- "BUILDTYPE": "Debug", |
+ "BUILDTYPE": "Release", |
"CC": "/usr/bin/clang", |
"CHROME_HEADLESS": "1", |
"CXX": "/usr/bin/clang++", |
- "GYP_DEFINES": "skia_arch_type=x86_64 skia_clang_build=1 skia_warnings_as_errors=1", |
+ "GYP_DEFINES": "skia_clang_build=1 skia_warnings_as_errors=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-GN" |
+ "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Release-GN_Android" |
}, |
"name": "fetch-gn" |
}, |
@@ -126,18 +126,18 @@ |
"cmd": [ |
"gn", |
"gen", |
- "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-GN/Debug", |
- "--args=cc=\"clang\" cxx=\"clang++\" is_debug=true extra_cflags=\"-Qunused-arguments\" compiler_prefix=\"/usr/bin/ccache\"" |
+ "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Release-GN_Android/Release", |
+ "--args=is_debug=false compiler_prefix=\"/usr/bin/ccache\" ndk=\"[SLAVE_BUILD]/android_ndk_linux\" target_cpu=\"arm64\"" |
], |
"cwd": "[CUSTOM_/_B_WORK]/skia", |
"env": { |
- "BUILDTYPE": "Debug", |
+ "BUILDTYPE": "Release", |
"CC": "/usr/bin/clang", |
"CHROME_HEADLESS": "1", |
"CXX": "/usr/bin/clang++", |
- "GYP_DEFINES": "skia_arch_type=x86_64 skia_clang_build=1 skia_warnings_as_errors=1", |
+ "GYP_DEFINES": "skia_clang_build=1 skia_warnings_as_errors=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-GN" |
+ "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Release-GN_Android" |
}, |
"name": "gn gen" |
}, |
@@ -145,17 +145,17 @@ |
"cmd": [ |
"ninja", |
"-C", |
- "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-GN/Debug" |
+ "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Release-GN_Android/Release" |
], |
"cwd": "[CUSTOM_/_B_WORK]/skia", |
"env": { |
- "BUILDTYPE": "Debug", |
+ "BUILDTYPE": "Release", |
"CC": "/usr/bin/clang", |
"CHROME_HEADLESS": "1", |
"CXX": "/usr/bin/clang++", |
- "GYP_DEFINES": "skia_arch_type=x86_64 skia_clang_build=1 skia_warnings_as_errors=1", |
+ "GYP_DEFINES": "skia_clang_build=1 skia_warnings_as_errors=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-GN" |
+ "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Release-GN_Android" |
}, |
"name": "ninja" |
}, |
@@ -164,8 +164,8 @@ |
"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-GN/Debug", |
- "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug" |
+ "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Release-GN_Android/Release", |
+ "[CUSTOM_[SWARM_OUT_DIR]]/out/Release" |
], |
"name": "copy build products", |
"~followup_annotations": [ |