| # Copyright 2019 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("cros_camera_common_pkg_config") { |
| pkg_deps = [ "libchrome" ] |
| } |
| |
| config("cros_camera_common") { |
| # CHROME_OS_CAMERA_BUILD_ENV is used to toggle the include path in header |
| # files imported from google3. |
| defines = [ "CHROME_OS_CAMERA_BUILD_ENV" ] |
| include_dirs = [ |
| "//camera", |
| "//camera/include", |
| ] |
| configs = [ ":cros_camera_common_pkg_config" ] |
| } |