| # Copyright 2016 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. |
| |
| include common.mk |
| include pc_utils.mk |
| |
| hal_usb_PC_DEPS = libcamera_client libcamera_common libcamera_exif \ |
| libcamera_jpeg libcamera_metadata libcamera_timezone \ |
| libcbm libchrome-$(BASE_VER) libsync libyuv |
| hal_usb_CPPFLAGS := $(call get_pc_cflags,$(hal_usb_PC_DEPS)) |
| hal_usb_LDLIBS := $(call get_pc_libs,$(hal_usb_PC_DEPS)) |
| |
| CXX_LIBRARY(hal/usb/camera_hal.so): CPPFLAGS += $(hal_usb_CPPFLAGS) |
| CXX_LIBRARY(hal/usb/camera_hal.so): LDLIBS += $(hal_usb_LDLIBS) |
| CXX_LIBRARY(hal/usb/camera_hal.so): \ |
| $(hal_usb_CXX_OBJECTS) |
| |
| hal/usb/camera_hal: CXX_LIBRARY(hal/usb/camera_hal.so) |
| |
| clean: CLEAN(hal/usb/camera_hal.so) |
| |
| .PHONY: hal/usb/camera_hal |