blob: 5c57a836f214fee64c04426eb23e4b54b7eb61da [file] [log] [blame]
# Copyright 2021 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")
pkg_config("gles_pkgconfig") {
pkg_deps = [ "glesv2" ]
}
source_set("gles") {
sources = [
"//camera/gpu/gles/buffer.cc",
"//camera/gpu/gles/framebuffer.cc",
"//camera/gpu/gles/get.cc",
"//camera/gpu/gles/sampler.cc",
"//camera/gpu/gles/screen_space_rect.cc",
"//camera/gpu/gles/shader.cc",
"//camera/gpu/gles/shader_program.cc",
"//camera/gpu/gles/state_guard.cc",
"//camera/gpu/gles/texture_2d.cc",
"//camera/gpu/gles/transform.cc",
"//camera/gpu/gles/utils.cc",
"//camera/gpu/gles/vertex_array.cc",
]
public_configs = [
":gles_pkgconfig",
"//camera/build:cros_camera_common",
]
deps = [ "//camera/gpu/egl" ]
}