blob: cfa1fc344774b2c34e1989db3bbc46baa94ed01e [file] [log] [blame]
# Copyright 2021 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("sdk_element.gni")
# Publishes the version history file as an SDK element.
#
# Parameters
#
# data (required)
# The version history data file.
template("version_history_sdk_element") {
assert(defined(invoker.data), "Must define the version history")
version_history = invoker.data
schema = invoker.schema
sdk_element(target_name) {
schema = {
source = schema
}
meta = {
source = version_history
dest = "version_history.json"
}
}
}