24cbdab97e
Change-Id: I2619784eca0f7a4dd66f2db0104cb746d9266b4e Reviewed-on: https://skia-review.googlesource.com/c/skia/+/244369 Commit-Queue: John Rosasco <rosasco@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> Reviewed-by: Mike Klein <mtklein@google.com>
19 lines
769 B
Plaintext
19 lines
769 B
Plaintext
# Copyright 2019 Google LLC.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
import ("../../gn/skia.gni")
|
|
import ("//build/fuchsia/sdk.gni")
|
|
|
|
if(is_fuchsia && skia_update_fuchsia_sdk &&
|
|
current_toolchain == default_toolchain) {
|
|
cipd_dir = "${fuchsia_sdk_path}/../cipd"
|
|
update_sdk_out = exec_script("//build/fuchsia/update_fuchsia_sdk",
|
|
[ "-sdk_dir=" + rebase_path(fuchsia_sdk_path),
|
|
"-clang_dir=" + rebase_path(fuchsia_toolchain_path),
|
|
"-cipd_cache_dir=" + rebase_path(cipd_dir),
|
|
"-cipd_clang_version=git_revision:a6e1de4afc51560df18c95cb616dec51248ed660" ],
|
|
"list lines",
|
|
[ "//build/fuchsia/update_fuchsia_sdk" ])
|
|
}
|