1# Copyright 2019 Google LLC. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5import("//build/fuchsia/sdk.gni") 6import("../../gn/skia.gni") 7 8if (is_fuchsia && skia_update_fuchsia_sdk && 9 current_toolchain == default_toolchain) { 10 cipd_dir = "${fuchsia_sdk_path}/../cipd" 11 update_sdk_out = exec_script( 12 "//build/fuchsia/update_fuchsia_sdk", 13 [ 14 "-sdk_dir=" + rebase_path(fuchsia_sdk_path), 15 "-clang_dir=" + rebase_path(fuchsia_toolchain_path), 16 "-cipd_cache_dir=" + rebase_path(cipd_dir), 17 "-cipd_clang_version=git_revision:a6e1de4afc51560df18c95cb616dec51248ed660", 18 ], 19 "list lines", 20 [ "//build/fuchsia/update_fuchsia_sdk" ]) 21} 22