blob: 2499cb178d44214a7150ed759a859092bc5a3184 [file] [log] [blame]
# Copyright 2020 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.
config("hwcpipe_config") {
include_dirs = [ "." ]
defines = [ "HWCPIPE_NO_JSON" ]
}
config("hwcpipe_warnings") {
cflags = [
"-Wno-extra-semi",
"-Wno-conversion",
"-Wno-deprecated-anon-enum-enum-conversion",
]
}
source_set("mali_profiler") {
sources = [
"cpu_profiler.h",
"gpu_profiler.h",
"hwcpipe.cpp",
"hwcpipe.h",
"vendor/arm/mali/hwc.hpp",
"vendor/arm/mali/hwc_names.hpp",
"vendor/arm/mali/mali_profiler_magma.cpp",
"vendor/arm/mali/mali_profiler_magma.h",
]
public_configs = [ ":hwcpipe_config" ]
configs += [ ":hwcpipe_warnings" ]
configs -= [ "//build/config:no_exceptions" ]
deps = [
"//sdk/lib/fdio",
"//src/graphics/drivers/msd-arm-mali/include",
"//src/graphics/lib/magma/src/libmagma",
"//zircon/system/ulib/zx",
]
}