Update to XCode 10.3
Bug: skia:9194 Change-Id: Ideecb40fc4f30a8ffac64877431332886d95045a Reviewed-on: https://skia-review.googlesource.com/c/skia/+/230578 Auto-Submit: Ben Wagner aka dogben <benjaminwagner@google.com> Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Ben Wagner aka dogben <benjaminwagner@google.com>
This commit is contained in:
parent
120e7d6766
commit
ba36ee7826
@ -6,12 +6,16 @@
|
||||
from . import util
|
||||
|
||||
|
||||
# See mapping of Xcode version to Xcode build version here:
|
||||
# https://chromium.googlesource.com/chromium/tools/build/+/master/scripts/slave/recipe_modules/ios/api.py#37
|
||||
# XCode build is listed in parentheses after the version at
|
||||
# https://developer.apple.com/news/releases/, or on Wikipedia here:
|
||||
# https://en.wikipedia.org/wiki/Xcode#Version_comparison_table
|
||||
# Use lowercase letters.
|
||||
# When updating XCODE_BUILD_VERSION, you will also need to update
|
||||
# XCODE_CLANG_VERSION.
|
||||
XCODE_BUILD_VERSION = '9c40b'
|
||||
XCODE_CLANG_VERSION = '9.0.0'
|
||||
XCODE_BUILD_VERSION = '10g8'
|
||||
# Wikipedia lists the Clang version here:
|
||||
# https://en.wikipedia.org/wiki/Xcode#Toolchain_versions
|
||||
XCODE_CLANG_VERSION = '10.0.1'
|
||||
|
||||
|
||||
def build_command_buffer(api, chrome_dir, skia_dir, out):
|
||||
@ -91,10 +95,6 @@ def compile_fn(api, checkout_root, out_dir):
|
||||
if os == 'Mac':
|
||||
extra_cflags.append(
|
||||
'-DDUMMY_xcode_build_version=%s' % XCODE_BUILD_VERSION)
|
||||
if XCODE_CLANG_VERSION.startswith('9.'):
|
||||
# XCode 9 seems to handle try_acquire_capability wrong.
|
||||
extra_cflags.append('-Wno-thread-safety-analysis')
|
||||
|
||||
mac_toolchain_cmd = api.vars.slave_dir.join(
|
||||
'mac_toolchain', 'mac_toolchain')
|
||||
xcode_app_path = api.vars.cache_dir.join('Xcode.app')
|
||||
@ -115,6 +115,17 @@ def compile_fn(api, checkout_root, out_dir):
|
||||
api.step('install xcode', install_xcode_cmd)
|
||||
api.step('select xcode', [
|
||||
'sudo', 'xcode-select', '-switch', xcode_app_path])
|
||||
if 'iOS' in extra_tokens:
|
||||
if target_arch == 'arm':
|
||||
# Can only compile for 32-bit up to iOS 10.
|
||||
env['IPHONEOS_DEPLOYMENT_TARGET'] = '10.0'
|
||||
else:
|
||||
# Our iOS devices are on an older version.
|
||||
# Can't compile for Metal before 11.0.
|
||||
env['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
|
||||
else:
|
||||
# We have some bots on 10.13.
|
||||
env['MACOSX_DEPLOYMENT_TARGET'] = '10.13'
|
||||
|
||||
if compiler == 'Clang' and api.vars.is_linux:
|
||||
cc = clang_linux + '/bin/clang'
|
||||
|
@ -0,0 +1,121 @@
|
||||
[
|
||||
{
|
||||
"cmd": [],
|
||||
"name": "ensure xcode",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_TEXT@Ensuring Xcode version 10g8 in [START_DIR]/cache/Xcode.app@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"[START_DIR]/mac_toolchain/mac_toolchain",
|
||||
"install",
|
||||
"-kind",
|
||||
"ios",
|
||||
"-xcode-version",
|
||||
"10g8",
|
||||
"-output-dir",
|
||||
"[START_DIR]/cache/Xcode.app"
|
||||
],
|
||||
"name": "ensure xcode.install xcode",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_NEST_LEVEL@1@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"sudo",
|
||||
"xcode-select",
|
||||
"-switch",
|
||||
"[START_DIR]/cache/Xcode.app"
|
||||
],
|
||||
"name": "ensure xcode.select xcode",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_NEST_LEVEL@1@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"-u",
|
||||
"[START_DIR]/cache/work/skia/bin/fetch-gn"
|
||||
],
|
||||
"cwd": "[START_DIR]/cache/work/skia",
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
"PATH": "<PATH>:RECIPE_REPO[depot_tools]"
|
||||
},
|
||||
"infra_step": true,
|
||||
"name": "fetch-gn"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"[START_DIR]/cache/work/skia/bin/gn",
|
||||
"gen",
|
||||
"[START_DIR]/cache/work/skia/out/Build-Mac-Clang-arm-Debug-iOS/Debug",
|
||||
"--args=cc=\"clang\" cxx=\"clang++\" extra_cflags=[\"-DDUMMY_xcode_build_version=10g8\", \"-O1\"] skia_ios_identity=\".*GS9WA.*\" skia_ios_profile=\"Upstream Testing Provisioning Profile\" target_cpu=\"arm\" target_os=\"ios\" werror=true"
|
||||
],
|
||||
"cwd": "[START_DIR]/cache/work/skia",
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
"IPHONEOS_DEPLOYMENT_TARGET": "10.0",
|
||||
"PATH": "<PATH>:RECIPE_REPO[depot_tools]"
|
||||
},
|
||||
"name": "gn gen"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"ninja",
|
||||
"-C",
|
||||
"[START_DIR]/cache/work/skia/out/Build-Mac-Clang-arm-Debug-iOS/Debug"
|
||||
],
|
||||
"cwd": "[START_DIR]/cache/work/skia",
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
"IPHONEOS_DEPLOYMENT_TARGET": "10.0",
|
||||
"PATH": "<PATH>:RECIPE_REPO[depot_tools]"
|
||||
},
|
||||
"name": "ninja"
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"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', 'dm.app', 'nanobench.app', 'get_images_from_skps', 'get_images_from_skps.exe', 'hello-opencl', 'hello-opencl.exe', 'nanobench', 'nanobench.exe', 'skpbench', 'skpbench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'skiaserve', 'skottie_tool', 'lib/*.so', 'run_testlab', 'skqp-universal-debug.apk', 'whitelist_devices.json']\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",
|
||||
"[START_DIR]/cache/work/skia/out/Build-Mac-Clang-arm-Debug-iOS/Debug",
|
||||
"[START_DIR]/[SWARM_OUT_DIR]/out/Debug"
|
||||
],
|
||||
"infra_step": true,
|
||||
"name": "copy build products",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@python.inline@import errno@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@import glob@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@import os@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@import shutil@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@import sys@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@dst = sys.argv[2]@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@build_products_whitelist = ['dm', 'dm.exe', 'dm.app', 'nanobench.app', 'get_images_from_skps', 'get_images_from_skps.exe', 'hello-opencl', 'hello-opencl.exe', 'nanobench', 'nanobench.exe', 'skpbench', 'skpbench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'skiaserve', 'skottie_tool', 'lib/*.so', 'run_testlab', 'skqp-universal-debug.apk', 'whitelist_devices.json']@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@try:@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@ os.makedirs(dst)@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@except OSError as e:@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@ if e.errno != errno.EEXIST:@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@ raise@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@for pattern in build_products_whitelist:@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@ path = os.path.join(src, pattern)@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@ for f in glob.glob(path):@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@ dst_path = os.path.join(dst, os.path.relpath(f, src))@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@ if not os.path.isdir(os.path.dirname(dst_path)):@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@ os.makedirs(os.path.dirname(dst_path))@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@ print 'Copying build product %s to %s' % (f, dst_path)@@@",
|
||||
"@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@",
|
||||
"@@@STEP_LOG_END@python.inline@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "$result"
|
||||
}
|
||||
]
|
@ -3,7 +3,7 @@
|
||||
"cmd": [],
|
||||
"name": "ensure xcode",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_TEXT@Ensuring Xcode version 9c40b in [START_DIR]/cache/Xcode.app@@@"
|
||||
"@@@STEP_TEXT@Ensuring Xcode version 10g8 in [START_DIR]/cache/Xcode.app@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -13,7 +13,7 @@
|
||||
"-kind",
|
||||
"ios",
|
||||
"-xcode-version",
|
||||
"9c40b",
|
||||
"10g8",
|
||||
"-output-dir",
|
||||
"[START_DIR]/cache/Xcode.app"
|
||||
],
|
||||
@ -53,11 +53,12 @@
|
||||
"[START_DIR]/cache/work/skia/bin/gn",
|
||||
"gen",
|
||||
"[START_DIR]/cache/work/skia/out/Build-Mac-Clang-arm64-Debug-iOS/Debug",
|
||||
"--args=cc=\"clang\" cxx=\"clang++\" extra_cflags=[\"-DDUMMY_xcode_build_version=9c40b\", \"-Wno-thread-safety-analysis\", \"-O1\"] skia_ios_identity=\".*GS9WA.*\" skia_ios_profile=\"Upstream Testing Provisioning Profile\" target_cpu=\"arm64\" target_os=\"ios\" werror=true"
|
||||
"--args=cc=\"clang\" cxx=\"clang++\" extra_cflags=[\"-DDUMMY_xcode_build_version=10g8\", \"-O1\"] skia_ios_identity=\".*GS9WA.*\" skia_ios_profile=\"Upstream Testing Provisioning Profile\" target_cpu=\"arm64\" target_os=\"ios\" werror=true"
|
||||
],
|
||||
"cwd": "[START_DIR]/cache/work/skia",
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
"IPHONEOS_DEPLOYMENT_TARGET": "11.0",
|
||||
"PATH": "<PATH>:RECIPE_REPO[depot_tools]"
|
||||
},
|
||||
"name": "gn gen"
|
||||
@ -71,6 +72,7 @@
|
||||
"cwd": "[START_DIR]/cache/work/skia",
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
"IPHONEOS_DEPLOYMENT_TARGET": "11.0",
|
||||
"PATH": "<PATH>:RECIPE_REPO[depot_tools]"
|
||||
},
|
||||
"name": "ninja"
|
||||
|
@ -3,7 +3,7 @@
|
||||
"cmd": [],
|
||||
"name": "ensure xcode",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_TEXT@Ensuring Xcode version 9c40b in [START_DIR]/cache/Xcode.app@@@"
|
||||
"@@@STEP_TEXT@Ensuring Xcode version 10g8 in [START_DIR]/cache/Xcode.app@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -13,7 +13,7 @@
|
||||
"-kind",
|
||||
"ios",
|
||||
"-xcode-version",
|
||||
"9c40b",
|
||||
"10g8",
|
||||
"-output-dir",
|
||||
"[START_DIR]/cache/Xcode.app"
|
||||
],
|
||||
@ -53,11 +53,12 @@
|
||||
"[START_DIR]/cache/work/skia/bin/gn",
|
||||
"gen",
|
||||
"[START_DIR]/cache/work/skia/out/Build-Mac-Clang-x86_64-Debug-ASAN/Debug",
|
||||
"--args=cc=\"clang\" cxx=\"clang++\" extra_cflags=[\"-DDUMMY_xcode_build_version=9c40b\", \"-Wno-thread-safety-analysis\", \"-O1\"] sanitize=\"ASAN\" skia_enable_spirv_validation=false target_cpu=\"x86_64\" werror=true"
|
||||
"--args=cc=\"clang\" cxx=\"clang++\" extra_cflags=[\"-DDUMMY_xcode_build_version=10g8\", \"-O1\"] sanitize=\"ASAN\" skia_enable_spirv_validation=false target_cpu=\"x86_64\" werror=true"
|
||||
],
|
||||
"cwd": "[START_DIR]/cache/work/skia",
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
"MACOSX_DEPLOYMENT_TARGET": "10.13",
|
||||
"PATH": "<PATH>:RECIPE_REPO[depot_tools]"
|
||||
},
|
||||
"name": "gn gen"
|
||||
@ -71,6 +72,7 @@
|
||||
"cwd": "[START_DIR]/cache/work/skia",
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
"MACOSX_DEPLOYMENT_TARGET": "10.13",
|
||||
"PATH": "<PATH>:RECIPE_REPO[depot_tools]"
|
||||
},
|
||||
"name": "ninja"
|
||||
@ -121,15 +123,15 @@
|
||||
"--json-output",
|
||||
"/path/to/tmp/json",
|
||||
"glob",
|
||||
"[START_DIR]/cache/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib/darwin",
|
||||
"[START_DIR]/cache/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/lib/darwin",
|
||||
"libclang_rt.*san_osx_dynamic.dylib"
|
||||
],
|
||||
"infra_step": true,
|
||||
"name": "find xSAN dylibs",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_LOG_LINE@glob@[START_DIR]/cache/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib@@@",
|
||||
"@@@STEP_LOG_LINE@glob@[START_DIR]/cache/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib/darwin/libclang_rt.tsan_osx_dynamic.dylib@@@",
|
||||
"@@@STEP_LOG_LINE@glob@[START_DIR]/cache/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib/darwin/libclang_rt.ubsan_osx_dynamic.dylib@@@",
|
||||
"@@@STEP_LOG_LINE@glob@[START_DIR]/cache/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/lib/darwin/libclang_rt.asan_osx_dynamic.dylib@@@",
|
||||
"@@@STEP_LOG_LINE@glob@[START_DIR]/cache/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/lib/darwin/libclang_rt.tsan_osx_dynamic.dylib@@@",
|
||||
"@@@STEP_LOG_LINE@glob@[START_DIR]/cache/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/lib/darwin/libclang_rt.ubsan_osx_dynamic.dylib@@@",
|
||||
"@@@STEP_LOG_END@glob@@@"
|
||||
]
|
||||
},
|
||||
@ -141,7 +143,7 @@
|
||||
"--json-output",
|
||||
"/path/to/tmp/json",
|
||||
"copy",
|
||||
"[START_DIR]/cache/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib",
|
||||
"[START_DIR]/cache/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/lib/darwin/libclang_rt.asan_osx_dynamic.dylib",
|
||||
"[START_DIR]/[SWARM_OUT_DIR]/out/Debug"
|
||||
],
|
||||
"infra_step": true,
|
||||
@ -155,7 +157,7 @@
|
||||
"--json-output",
|
||||
"/path/to/tmp/json",
|
||||
"copy",
|
||||
"[START_DIR]/cache/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib/darwin/libclang_rt.tsan_osx_dynamic.dylib",
|
||||
"[START_DIR]/cache/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/lib/darwin/libclang_rt.tsan_osx_dynamic.dylib",
|
||||
"[START_DIR]/[SWARM_OUT_DIR]/out/Debug"
|
||||
],
|
||||
"infra_step": true,
|
||||
@ -169,7 +171,7 @@
|
||||
"--json-output",
|
||||
"/path/to/tmp/json",
|
||||
"copy",
|
||||
"[START_DIR]/cache/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib/darwin/libclang_rt.ubsan_osx_dynamic.dylib",
|
||||
"[START_DIR]/cache/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/lib/darwin/libclang_rt.ubsan_osx_dynamic.dylib",
|
||||
"[START_DIR]/[SWARM_OUT_DIR]/out/Debug"
|
||||
],
|
||||
"infra_step": true,
|
||||
|
@ -3,7 +3,7 @@
|
||||
"cmd": [],
|
||||
"name": "ensure xcode",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_TEXT@Ensuring Xcode version 9c40b in [START_DIR]/cache/Xcode.app@@@"
|
||||
"@@@STEP_TEXT@Ensuring Xcode version 10g8 in [START_DIR]/cache/Xcode.app@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -13,7 +13,7 @@
|
||||
"-kind",
|
||||
"ios",
|
||||
"-xcode-version",
|
||||
"9c40b",
|
||||
"10g8",
|
||||
"-output-dir",
|
||||
"[START_DIR]/cache/Xcode.app"
|
||||
],
|
||||
@ -74,11 +74,12 @@
|
||||
"[START_DIR]/cache/work/skia/bin/gn",
|
||||
"gen",
|
||||
"[START_DIR]/cache/work/skia/out/Build-Mac-Clang-x86_64-Debug-CommandBuffer/Debug",
|
||||
"--args=cc=\"clang\" cxx=\"clang++\" extra_cflags=[\"-DDUMMY_xcode_build_version=9c40b\", \"-Wno-thread-safety-analysis\", \"-O1\"] skia_gl_standard=\"\" target_cpu=\"x86_64\" werror=true"
|
||||
"--args=cc=\"clang\" cxx=\"clang++\" extra_cflags=[\"-DDUMMY_xcode_build_version=10g8\", \"-O1\"] skia_gl_standard=\"\" target_cpu=\"x86_64\" werror=true"
|
||||
],
|
||||
"cwd": "[START_DIR]/cache/work/skia",
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
"MACOSX_DEPLOYMENT_TARGET": "10.13",
|
||||
"PATH": "<PATH>:RECIPE_REPO[depot_tools]"
|
||||
},
|
||||
"name": "gn gen"
|
||||
@ -92,6 +93,7 @@
|
||||
"cwd": "[START_DIR]/cache/work/skia",
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
"MACOSX_DEPLOYMENT_TARGET": "10.13",
|
||||
"PATH": "<PATH>:RECIPE_REPO[depot_tools]"
|
||||
},
|
||||
"name": "ninja"
|
||||
|
@ -3,7 +3,7 @@
|
||||
"cmd": [],
|
||||
"name": "ensure xcode",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_TEXT@Ensuring Xcode version 9c40b in [START_DIR]/cache/Xcode.app@@@"
|
||||
"@@@STEP_TEXT@Ensuring Xcode version 10g8 in [START_DIR]/cache/Xcode.app@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -13,7 +13,7 @@
|
||||
"-kind",
|
||||
"ios",
|
||||
"-xcode-version",
|
||||
"9c40b",
|
||||
"10g8",
|
||||
"-output-dir",
|
||||
"[START_DIR]/cache/Xcode.app"
|
||||
],
|
||||
@ -53,11 +53,12 @@
|
||||
"[START_DIR]/cache/work/skia/bin/gn",
|
||||
"gen",
|
||||
"[START_DIR]/cache/work/skia/out/Build-Mac-Clang-x86_64-Debug-Metal/Debug",
|
||||
"--args=cc=\"clang\" cxx=\"clang++\" extra_cflags=[\"-DDUMMY_xcode_build_version=9c40b\", \"-Wno-thread-safety-analysis\", \"-O1\"] skia_use_metal=true target_cpu=\"x86_64\" werror=true"
|
||||
"--args=cc=\"clang\" cxx=\"clang++\" extra_cflags=[\"-DDUMMY_xcode_build_version=10g8\", \"-O1\"] skia_use_metal=true target_cpu=\"x86_64\" werror=true"
|
||||
],
|
||||
"cwd": "[START_DIR]/cache/work/skia",
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
"MACOSX_DEPLOYMENT_TARGET": "10.13",
|
||||
"PATH": "<PATH>:RECIPE_REPO[depot_tools]"
|
||||
},
|
||||
"name": "gn gen"
|
||||
@ -71,6 +72,7 @@
|
||||
"cwd": "[START_DIR]/cache/work/skia",
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
"MACOSX_DEPLOYMENT_TARGET": "10.13",
|
||||
"PATH": "<PATH>:RECIPE_REPO[depot_tools]"
|
||||
},
|
||||
"name": "ninja"
|
||||
|
@ -3,7 +3,7 @@
|
||||
"cmd": [],
|
||||
"name": "ensure xcode",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_TEXT@Ensuring Xcode version 9c40b in [START_DIR]/cache/Xcode.app@@@"
|
||||
"@@@STEP_TEXT@Ensuring Xcode version 10g8 in [START_DIR]/cache/Xcode.app@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -13,7 +13,7 @@
|
||||
"-kind",
|
||||
"ios",
|
||||
"-xcode-version",
|
||||
"9c40b",
|
||||
"10g8",
|
||||
"-output-dir",
|
||||
"[START_DIR]/cache/Xcode.app"
|
||||
],
|
||||
@ -53,11 +53,12 @@
|
||||
"[START_DIR]/cache/work/skia/bin/gn",
|
||||
"gen",
|
||||
"[START_DIR]/cache/work/skia/out/Build-Mac-Clang-x86_64-Release-MoltenVK_Vulkan/Release",
|
||||
"--args=cc=\"clang\" cxx=\"clang++\" extra_cflags=[\"-DDUMMY_xcode_build_version=9c40b\", \"-Wno-thread-safety-analysis\"] is_debug=false skia_enable_vulkan_debug_layers=false skia_moltenvk_path=\"[START_DIR]/moltenvk\" skia_use_vulkan=true target_cpu=\"x86_64\" werror=true"
|
||||
"--args=cc=\"clang\" cxx=\"clang++\" extra_cflags=[\"-DDUMMY_xcode_build_version=10g8\"] is_debug=false skia_enable_vulkan_debug_layers=false skia_moltenvk_path=\"[START_DIR]/moltenvk\" skia_use_vulkan=true target_cpu=\"x86_64\" werror=true"
|
||||
],
|
||||
"cwd": "[START_DIR]/cache/work/skia",
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
"MACOSX_DEPLOYMENT_TARGET": "10.13",
|
||||
"PATH": "<PATH>:RECIPE_REPO[depot_tools]"
|
||||
},
|
||||
"name": "gn gen"
|
||||
@ -71,6 +72,7 @@
|
||||
"cwd": "[START_DIR]/cache/work/skia",
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
"MACOSX_DEPLOYMENT_TARGET": "10.13",
|
||||
"PATH": "<PATH>:RECIPE_REPO[depot_tools]"
|
||||
},
|
||||
"name": "ninja"
|
||||
|
@ -58,6 +58,7 @@ TEST_BUILDERS = [
|
||||
'Build-Debian9-GCC-x86_64-Release-ANGLE',
|
||||
'Build-Debian9-GCC-x86_64-Release-NoGPU',
|
||||
'Build-Debian9-GCC-x86_64-Release-Shared',
|
||||
'Build-Mac-Clang-arm-Debug-iOS',
|
||||
'Build-Mac-Clang-arm64-Debug-Android_Vulkan',
|
||||
'Build-Mac-Clang-arm64-Debug-iOS',
|
||||
'Build-Mac-Clang-x86_64-Debug-ASAN',
|
||||
|
@ -131,7 +131,7 @@
|
||||
"cmd": [],
|
||||
"name": "ensure xcode",
|
||||
"~followup_annotations": [
|
||||
"@@@STEP_TEXT@Ensuring Xcode version 9c40b in [START_DIR]/cache/Xcode.app@@@"
|
||||
"@@@STEP_TEXT@Ensuring Xcode version 10g8 in [START_DIR]/cache/Xcode.app@@@"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -141,7 +141,7 @@
|
||||
"-kind",
|
||||
"ios",
|
||||
"-xcode-version",
|
||||
"9c40b",
|
||||
"10g8",
|
||||
"-output-dir",
|
||||
"[START_DIR]/cache/Xcode.app"
|
||||
],
|
||||
@ -202,11 +202,12 @@
|
||||
"[START_DIR]/cache/work/skia/bin/gn",
|
||||
"gen",
|
||||
"[START_DIR]/cache/work/skia/out/Build-Mac-Clang-x86_64-Debug-CommandBuffer/Debug",
|
||||
"--args=cc=\"clang\" cxx=\"clang++\" extra_cflags=[\"-DDUMMY_xcode_build_version=9c40b\", \"-Wno-thread-safety-analysis\", \"-O1\"] skia_gl_standard=\"\" target_cpu=\"x86_64\" werror=true"
|
||||
"--args=cc=\"clang\" cxx=\"clang++\" extra_cflags=[\"-DDUMMY_xcode_build_version=10g8\", \"-O1\"] skia_gl_standard=\"\" target_cpu=\"x86_64\" werror=true"
|
||||
],
|
||||
"cwd": "[START_DIR]/cache/work/skia",
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
"MACOSX_DEPLOYMENT_TARGET": "10.13",
|
||||
"PATH": "<PATH>:RECIPE_REPO[depot_tools]"
|
||||
},
|
||||
"name": "gn gen"
|
||||
@ -220,6 +221,7 @@
|
||||
"cwd": "[START_DIR]/cache/work/skia",
|
||||
"env": {
|
||||
"CHROME_HEADLESS": "1",
|
||||
"MACOSX_DEPLOYMENT_TARGET": "10.13",
|
||||
"PATH": "<PATH>:RECIPE_REPO[depot_tools]"
|
||||
},
|
||||
"name": "ninja"
|
||||
|
Loading…
Reference in New Issue
Block a user