96f6401789
The CheckGeneratedFiles bot only required rewriting .gn files, while the presubmit wants both .gn and .gni files. It also appears that the #includes rewrite script runs on both the presubmit and CheckGeneratedFiles bots. These presubmits run on the CQ before landing right? If so, no need for them in the CheckGeneratedFIles bot at all. And of course, format .gni files. Change-Id: Icd4526d62f85088862ad93566cc9ace11dc3e33f Reviewed-on: https://skia-review.googlesource.com/c/skia/+/281505 Reviewed-by: Eric Boren <borenet@google.com> Commit-Queue: Mike Klein <mtklein@google.com>
22 lines
779 B
Plaintext
22 lines
779 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("//build/fuchsia/sdk.gni")
|
|
import("../../gn/skia.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" ])
|
|
}
|