blob: 6d6d1d788e076d1d9483cf6d8ddc65a3fc7faff5 [file] [log] [blame]
Dan Willemsen86e247a2017-12-18 21:10:37 -08001// Copyright (C) 2012 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15cc_library_shared {
16 name: "camera.default",
17 relative_install_path: "hw",
18
19 include_dirs: [
20 "system/core/include",
21 "system/media/camera/include",
22 ],
23
24 srcs: [
25 "CameraHAL.cpp",
26 "Camera.cpp",
27 "ExampleCamera.cpp",
28 "Metadata.cpp",
29 "Stream.cpp",
30 "VendorTags.cpp",
31 ],
32
33 shared_libs: [
34 "libcamera_metadata",
35 "libcutils",
36 "liblog",
37 "libsync",
38 "libutils",
39 ],
40
41 cflags: [
42 "-Wall",
43 "-Wextra",
44 "-Werror",
45 "-fvisibility=hidden",
46 ],
47}