blob: 77e7e16527856c7ed4bdd8cfa13e9fd840e7bb69 [file] [log] [blame]
# Copyright 2016 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("//src/graphics/lib/magma/gnbuild/magma.gni")
config("magma_config") {
include_dirs = [ "." ]
}
source_set("magma") {
public_configs = [ ":magma_config" ]
sources = [
"magma/magma.h",
"magma/magma_sysmem.h",
]
public_deps = [ ":magma_common" ]
}
source_set("magma_common") {
public_configs = [ ":magma_config" ]
sources = [ "magma/magma_common_defs.h" ]
}
config("msd_config") {
include_dirs = [ "msd" ]
}
source_set("msd") {
public_configs = [ ":msd_config" ]
sources = [
"msd/msd.h",
"msd/msd_defs.h",
]
public_deps = [ ":magma_common" ]
}
# TODO(fxbug.dev/85557) - remove
group("magma_abi") {
public_deps = [ ":magma" ]
}