flutter_flutter/engine/src/flutter/tools/fuchsia/fuchsia_host_bundle.gni
Kaushik Iska 8ed91e89cf Add templates to generate fuchsia host bundles (flutter/engine#13158)
This is part of an effort to separate generation of
host artifacts and target artifacts for fuchsia. The
`fuchsia_host_bundle` template aims to capture all the
artifacts that are specific to a given host.

The next step would be to bundle these are separate CIPD
packages for mac and linux (only x64 hosts)

internal planning doc: go/flutter-fuchsia-packaging
2019-10-21 12:51:38 -07:00

21 lines
542 B
Plaintext

# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
template("fuchsia_host_bundle") {
assert(defined(invoker.name), "'name' must be defined for $target_name.")
dest_dir = "${root_out_dir}/host_bundle/${invoker.name}-${host_os}-${host_cpu}"
copy(target_name) {
if (defined(invoker.deps)) {
deps = invoker.deps
}
sources = invoker.sources
outputs = [
"$dest_dir/{{source_file_part}}",
]
}
}