blob: da6028bafa76fe0bfde54b3475d5ef932a70f445 [file] [log] [blame]
# Copyright 2019 The Fuchsia Authors
#
# Use of this source code is governed by a MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT
zx_library("cmpctmalloc") {
kernel = true
host = true
sources = [ "cmpctmalloc.cc" ]
deps = [
"$zx/system/ulib/fbl",
"$zx/system/ulib/pretty",
]
include_dirs = [ "include/lib" ]
if (is_host) {
# TODO: revist the following three specifications after the zircon-to-fuchsia
# build migration. They seem currently required in order to export the host
# compilation of this library to the fuchsia build.
static = true
sdk = "source"
sdk_headers = []
public_deps = [ "$zx/system/ulib/zircon-internal:headers" ]
include_dirs += [
"include",
"$zx/kernel/lib/heap/include",
]
}
}