blob: 25c3a254db300612e98abb38bd914449f3dbcef4 [file] [log] [blame]
# Copyright 2022 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.
#
# Package for the Flutter embedder for Fuchsia.
load(
"@rules_fuchsia//fuchsia:defs.bzl",
"fuchsia_cc_binary",
"fuchsia_component_manifest",
)
# ELF binary that takes Flutter app assets and runs a Flutter app.
fuchsia_cc_binary(
name = "embedder",
visibility = ["//visibility:public"],
srcs = [
"main.cc",
],
deps = [
"//src/embedder/engine:embedder_header",
"//src/embedder/engine:libflutter_engine",
"@fuchsia_sdk//pkg/async-loop-default",
"@fuchsia_sdk//pkg/async-loop-cpp",
"@fuchsia_sdk//pkg/syslog",
],
)
fuchsia_component_manifest(
name = "embedder_manifest",
visibility = ["//visibility:public"],
src = "meta/embedder.cml",
includes = ["@fuchsia_sdk//pkg/syslog:client"],
)