| # Copyright 2019 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. | |
| group("tests") { | |
| testonly = true | |
| deps = [ "test:tests" ] | |
| } | |
| ## 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") | |
| source_set("buffer") { | |
| sources = [] | |
| sources += [ | |
| "array_buffer.cc", | |
| "block_buffer.cc", | |
| ] | |
| if (is_fuchsia) { | |
| sources += [ | |
| "blocking_ring_buffer.cc", | |
| "mapped_vmo.cc", | |
| "owned_vmoid.cc", | |
| "resizeable_vmo_buffer.cc", | |
| "ring_buffer.cc", | |
| "vmo_buffer.cc", | |
| ] | |
| } | |
| public = [] | |
| public += [ | |
| "array_buffer.h", | |
| "block_buffer.h", | |
| "block_buffer_view.h", | |
| "blocking_ring_buffer.h", | |
| "ring_buffer.h", | |
| ] | |
| if (is_fuchsia) { | |
| public += [ | |
| "mapped_vmo.h", | |
| "owned_vmoid.h", | |
| "resizeable_vmo_buffer.h", | |
| "vmo_bitmap_storage.h", | |
| "vmo_buffer.h", | |
| "vmoid_registry.h", | |
| ] | |
| } | |
| deps = [] | |
| deps += [ "//zircon/third_party/ulib/safemath" ] | |
| if (is_fuchsia) { | |
| deps += [ "//sdk/lib/fdio" ] | |
| } else if (false) { | |
| deps += [] | |
| } | |
| visibility = [ | |
| ":*", | |
| "//src/devices/block/drivers/ahci:*", | |
| "//src/storage/bin/dd:*", | |
| "//src/storage/blobfs/*", | |
| "//src/storage/f2fs/*", | |
| "//src/storage/lib/*", | |
| "//src/storage/minfs:*", | |
| ] | |
| public_deps = [] | |
| public_deps += | |
| [ "//sdk/fidl/fuchsia.storage.block:fuchsia.storage.block_cpp" ] | |
| if (is_fuchsia) { | |
| public_deps += [ | |
| "//src/storage/lib/operation", | |
| "//zircon/system/ulib/fzl", | |
| "//zircon/system/ulib/zx", | |
| ] | |
| } | |
| } |