blob: 2f806425a2894ed537ad988e6a36bfda80bbaae7 [file] [log] [blame]
# 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.
import("$zx_build/public/gn/migrated_targets.gni")
zx_library("bitmap") {
sdk = "source"
sdk_headers = [
"bitmap/bitmap.h",
"bitmap/raw-bitmap.h",
"bitmap/rle-bitmap.h",
"bitmap/storage.h",
]
sdk_migrated = true
kernel = true
host = true
static = true
sources = [ "raw-bitmap.cc" ]
public_deps = [ "$zx/system/ulib/fbl:headers" ]
if (!is_kernel && !is_host) {
public_deps += [
# <bitmap/storage.h> has #include <lib/zx/vmo.h>.
"$zx/system/ulib/zx:headers",
]
deps = [
"$zx/system/ulib/fbl",
"$zx/system/ulib/zircon",
"$zx/system/ulib/zx",
]
}
}
group("tests") {
testonly = true
deps = [ "test:tests" ]
}