blob: a7c8a888dd8f40cf0721a834af4062b727c0e83c [file] [log] [blame]
# Copyright 2018 The Chromium OS 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("//common-mk/pkg_config.gni")
group("all") {
deps = [ ":screenshot" ]
}
pkg_config("target_defaults") {
pkg_deps = [
"egl",
"gbm",
"glesv2",
"libchrome-${libbase_ver}",
"libdrm",
"libpng",
]
}
executable("screenshot") {
configs += [ ":target_defaults" ]
sources = [
"capture.cc",
"crtc.cc",
"egl_capture.cc",
"main.cc",
"png.cc",
]
}