blob: 27bddcb1b5a957da52dddf726b2a25a9ac901dae [file] [log] [blame] [edit]
# Copyright 2022 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//camera/build/cc_embed_data.gni")
import("//common-mk/pkg_config.gni")
pkg_config("target_defaults") {
configs = [ "//camera/build:cros_camera_common" ]
pkg_deps = [
"libcros_camera_android_deps",
"libsync",
"libyuv",
]
}
source_set("effects") {
sources = [
"//camera/features/effects/effects_metrics.cc",
"//camera/features/effects/effects_stream_manipulator.cc",
]
libs = [ "cros_ml_core" ]
public_configs = [ ":target_defaults" ]
# -fPIC needed by the libcros_camera.so shared library.
configs += [ "//common-mk:pic" ]
deps = [
"//camera/common:libcros_camera_mojom",
"//camera/gpu:image_processor",
]
}