Graphite: enable Metal by default on build bots
Bug: skia:12466 Change-Id: I8cfbd2b61819cb55b4fa70cfcfe523dbcb903fd8 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/452725 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Jim Van Verth <jvanverth@google.com>
This commit is contained in:
parent
64560c7cd5
commit
6e6bceeeea
@ -274,6 +274,7 @@ def compile_fn(api, checkout_root, out_dir):
|
||||
args['skia_enable_skgpu_v2'] = 'true'
|
||||
if 'Graphite' in extra_tokens:
|
||||
args['skia_enable_graphite'] = 'true'
|
||||
args['skia_use_metal'] = 'true'
|
||||
if 'NoDEPS' in extra_tokens:
|
||||
args.update({
|
||||
'is_official_build': 'true',
|
||||
|
@ -70,7 +70,7 @@
|
||||
"[START_DIR]/cache/work/skia/bin/gn",
|
||||
"gen",
|
||||
"[START_DIR]/cache/work/skia/out/Build-Mac-Clang-arm64-Debug-Graphite/Debug",
|
||||
"--args=cc=\"clang\" cc_wrapper=\"[START_DIR]/ccache_mac/bin/ccache\" cxx=\"clang++\" extra_cflags=[\"-DREBUILD_IF_CHANGED_xcode_build_version=12c33\", \"-O1\"] skia_enable_graphite=true target_cpu=\"arm64\" werror=true"
|
||||
"--args=cc=\"clang\" cc_wrapper=\"[START_DIR]/ccache_mac/bin/ccache\" cxx=\"clang++\" extra_cflags=[\"-DREBUILD_IF_CHANGED_xcode_build_version=12c33\", \"-O1\"] skia_enable_graphite=true skia_use_metal=true target_cpu=\"arm64\" werror=true"
|
||||
],
|
||||
"cwd": "[START_DIR]/cache/work/skia",
|
||||
"env": {
|
||||
|
@ -70,7 +70,7 @@
|
||||
"[START_DIR]/cache/work/skia/bin/gn",
|
||||
"gen",
|
||||
"[START_DIR]/cache/work/skia/out/Build-Mac-Clang-arm64-Release-Graphite/Release",
|
||||
"--args=cc=\"clang\" cc_wrapper=\"[START_DIR]/ccache_mac/bin/ccache\" cxx=\"clang++\" extra_cflags=[\"-DREBUILD_IF_CHANGED_xcode_build_version=12c33\"] is_debug=false skia_enable_graphite=true target_cpu=\"arm64\" werror=true"
|
||||
"--args=cc=\"clang\" cc_wrapper=\"[START_DIR]/ccache_mac/bin/ccache\" cxx=\"clang++\" extra_cflags=[\"-DREBUILD_IF_CHANGED_xcode_build_version=12c33\"] is_debug=false skia_enable_graphite=true skia_use_metal=true target_cpu=\"arm64\" werror=true"
|
||||
],
|
||||
"cwd": "[START_DIR]/cache/work/skia",
|
||||
"env": {
|
||||
|
Loading…
Reference in New Issue
Block a user