blob: bc6716c070b6acb4dcfde9f8ffc08c9e23ffce11 [file] [log] [blame]
// Copyright (C) 2011 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
cc_library_shared {
name: "camera.ranchu",
vendor: true,
relative_install_path: "hw",
srcs: [
"EmulatedCameraHal.cpp",
"EmulatedCameraFactory.cpp",
"EmulatedCameraHotplugThread.cpp",
"EmulatedBaseCamera.cpp",
"EmulatedCamera.cpp",
"EmulatedCameraDevice.cpp",
"EmulatedQemuCamera.cpp",
"EmulatedQemuCameraDevice.cpp",
"EmulatedFakeCamera.cpp",
"EmulatedFakeCameraDevice.cpp",
"EmulatedFakeRotatingCameraDevice.cpp",
"Converters.cpp",
"PreviewWindow.cpp",
"CallbackNotifier.cpp",
"QemuClient.cpp",
"JpegCompressor.cpp",
"EmulatedCamera2.cpp",
"EmulatedFakeCamera2.cpp",
"EmulatedQemuCamera2.cpp",
"fake-pipeline2/Scene.cpp",
"fake-pipeline2/Sensor.cpp",
"fake-pipeline2/JpegCompressor.cpp",
"EmulatedCamera3.cpp",
"EmulatedFakeCamera3.cpp",
"EmulatedQemuCamera3.cpp",
"qemu-pipeline3/QemuSensor.cpp",
"Exif.cpp",
"Thumbnail.cpp",
"WorkerThread.cpp",
],
shared_libs: [
"libbinder",
"libexif",
"liblog",
"libutils",
"libcutils",
"libEGL",
"libGLESv1_CM",
"libGLESv2",
"libui",
"libdl",
"libjpeg",
"libcamera_metadata",
"libui",
"android.hardware.graphics.mapper@2.0",
"libqemupipe.ranchu",
],
static_libs: [
"libqemud.ranchu",
"android.hardware.camera.common@1.0-helper",
"libyuv_static",
],
header_libs: [
"libhardware_headers",
"media_plugin_headers",
"libgralloc_cb.ranchu",
],
cflags: [
"-Wno-unused-parameter",
"-Wno-c++11-narrowing",
]
}
cc_binary {
name: "emulatorcameratest",
vendor: true,
relative_install_path: "hw",
srcs: ["EmulatorCameraTest.cpp"],
shared_libs: [
"camera.ranchu",
"libcamera_metadata",
"libui",
"libutils",
],
header_libs: [
"libhardware_headers",
"libgralloc_cb.ranchu",
],
cflags: [
"-Wno-unused-parameter",
]
}