| # 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. |
| |
| # This file was generated by the `fx create` command. The template |
| # is located at `//tools/create/templates/component-v2/BUILD.gn.tmpl-cpp`. |
| # If you find something broken, we are eager to review fixes. |
| |
| import("//build/components.gni") |
| |
| group("f2fs-tools") { |
| deps = [ ":package" ] |
| } |
| |
| executable("bin") { |
| output_name = "f2fs" |
| |
| sources = [ "main.cc" ] |
| |
| deps = [ |
| "//sdk/lib/sys/inspect/cpp", |
| "//sdk/lib/syslog/cpp", |
| "//src/lib/uuid", |
| "//third_party/f2fs", |
| "//zircon/public/lib/async", |
| "//zircon/public/lib/async-cpp", |
| "//zircon/system/ulib/async-default", |
| "//zircon/system/ulib/async-loop:async-loop-cpp", |
| "//zircon/system/ulib/async-loop:async-loop-default", |
| ] |
| } |
| |
| fuchsia_component("component") { |
| component_name = "f2fs-tools" |
| manifest = "meta/f2fs-tools.cml" |
| deps = [ ":bin" ] |
| } |
| |
| fuchsia_package("package") { |
| package_name = "f2fs-tools" |
| deps = [ ":component" ] |
| } |