| # 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. | |
| config("headers_config") { | |
| include_dirs = [ "include" ] | |
| } | |
| ## BAZEL2GN SENTINEL - DO NOT EDIT BELOW THIS LINE ## | |
| # | |
| # ________ _________ ________ ________ | |
| # |\ ____\|\___ ___\\ __ \|\ __ \ | |
| # \ \ \___|\|___ \ \_\ \ \|\ \ \ \|\ \ | |
| # \ \_____ \ \ \ \ \ \ \\\ \ \ ____\ | |
| # \|____|\ \ \ \ \ \ \ \\\ \ \ \___| | |
| # ____\_\ \ \ \__\ \ \_______\ \__\ | |
| # |\_________\ \|__| \|_______|\|__| | |
| # \|_________| | |
| # | |
| # | |
| # AUTO-GENERATED - DO NOT EDIT | |
| # | |
| # The targets below are auto-generated based on the targets defined in the | |
| # BUILD.bazel file from the same directory. If you made changes to targets in | |
| # Bazel, instead of editing this file manually, run: | |
| # | |
| # > fx bazel2gn | |
| # | |
| # Please do NOT edit this file directly. Instead, edit the BUILD.bazel file and | |
| # rerun bazel2gn. | |
| import("//build/tools/bazel2gn/bazel_migration.gni") | |
| if (is_fuchsia) { | |
| group("cpp") { | |
| public_deps = [ ":ramdevice-client" ] | |
| visibility = [ | |
| ":*", | |
| "//src/bringup/*", | |
| "//src/devices/*", | |
| "//src/firmware/*", | |
| "//src/security/*", | |
| "//src/storage/*", | |
| "//zircon/system/ulib/sysconfig-client/test:*", | |
| ] | |
| } | |
| } | |
| if (is_fuchsia) { | |
| source_set("ramdevice-client") { | |
| sources = [ | |
| "ramdisk.cc", | |
| "ramnand.cc", | |
| ] | |
| public = [ | |
| "include/ramdevice-client/ramdisk.h", | |
| "include/ramdevice-client/ramnand.h", | |
| ] | |
| configs += [ "//build/config/fuchsia:static_cpp_standard_library" ] | |
| deps = [ | |
| "//sdk/fidl/fuchsia.hardware.ramdisk:fuchsia.hardware.ramdisk_cpp", | |
| "//sdk/lib/component/incoming/cpp", | |
| "//sdk/lib/device-watcher/cpp", | |
| "//sdk/lib/fdio", | |
| "//sdk/lib/fdio-caller", | |
| "//sdk/lib/syslog/cpp", | |
| "//src/lib/ddk", | |
| "//zircon/system/ulib/fzl", | |
| ] | |
| public_configs = [ ":headers_config" ] | |
| visibility = [ | |
| ":*", | |
| "//src/bringup/*", | |
| "//src/devices/*", | |
| "//src/firmware/*", | |
| "//src/security/*", | |
| "//src/storage/*", | |
| "//zircon/system/ulib/sysconfig-client/test:*", | |
| ] | |
| public_deps = [ | |
| "//sdk/fidl/fuchsia.device:fuchsia.device_cpp", | |
| "//sdk/fidl/fuchsia.hardware.nand:fuchsia.hardware.nand_cpp", | |
| "//sdk/fidl/fuchsia.storage.block:fuchsia.storage.block_cpp", | |
| "//zircon/system/ulib/fbl", | |
| "//zircon/system/ulib/zx", | |
| ] | |
| } | |
| } | |
| if (is_fuchsia) { | |
| source_set("ramdevice-client-test") { | |
| testonly = true | |
| sources = [ "ramnandctl.cc" ] | |
| public = [ "include/ramdevice-client-test/ramnandctl.h" ] | |
| deps = [ | |
| "//sdk/fidl/fuchsia.hardware.ramdisk:fuchsia.hardware.ramdisk_cpp", | |
| "//sdk/fidl/fuchsia.storage.block:fuchsia.storage.block_cpp", | |
| "//sdk/lib/device-watcher/cpp", | |
| "//sdk/lib/fdio", | |
| "//sdk/lib/fdio-caller", | |
| "//src/lib/ddk", | |
| "//zircon/system/ulib/fzl", | |
| "//zircon/system/ulib/zx", | |
| ] | |
| public_configs = [ ":headers_config" ] | |
| visibility = [ "//*" ] | |
| public_deps = [ | |
| ":ramdevice-client", | |
| "//sdk/fidl/fuchsia.device:fuchsia.device_cpp", | |
| "//sdk/fidl/fuchsia.hardware.nand:fuchsia.hardware.nand_cpp", | |
| "//sdk/lib/sys/component/cpp/testing:cpp", | |
| "//zircon/system/ulib/fbl", | |
| ] | |
| } | |
| } |