| # Copyright 2020 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 |
| |
| import("//build/test.gni") |
| |
| if (is_host) { |
| test("cmpctmalloc_test") { |
| sources = [ |
| "cmpctmalloc_test.cc", |
| "page_manager.cc", |
| ] |
| deps = [ |
| "//zircon/kernel/lib/heap:headers", |
| "//zircon/kernel/lib/heap/cmpctmalloc", |
| "//zircon/system/ulib/zxtest", |
| ] |
| } |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ ":cmpctmalloc_test($host_toolchain)" ] |
| } |