mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
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
21 lines
542 B
Plaintext
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}}",
|
|
]
|
|
}
|
|
}
|