blob: 2784c7d0bff8dedc2d822bfaeec4985ce36f0818 [file] [log] [blame]
John Rosasco24cbdab2019-09-25 14:14:35 -07001# 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
Mike Klein96f64012020-04-03 10:59:37 -05005import("//build/fuchsia/sdk.gni")
6import("../../gn/skia.gni")
John Rosasco24cbdab2019-09-25 14:14:35 -07007
Mike Klein96f64012020-04-03 10:59:37 -05008if (is_fuchsia && skia_update_fuchsia_sdk &&
9 current_toolchain == default_toolchain) {
John Rosasco24cbdab2019-09-25 14:14:35 -070010 cipd_dir = "${fuchsia_sdk_path}/../cipd"
Mike Klein96f64012020-04-03 10:59:37 -050011 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" ])
John Rosasco24cbdab2019-09-25 14:14:35 -070021}