blob: 8ca892001251fcd5ac52ea36df3f0fd3549e16a5 [file] [log] [blame]
Jayant Chowdharybe543d42018-08-15 13:16:14 -07001// Copyright 2018 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
Bob Badourc8375042021-02-12 21:02:31 -080015package {
16 // See: http://go/android-license-faq
17 // A large-scale-change added 'default_applicable_licenses' to import
18 // all of the 'license_kinds' from "frameworks_av_camera_license"
19 // to get the below license kinds:
20 // SPDX-license-identifier-Apache-2.0
21 default_applicable_licenses: ["frameworks_av_camera_license"],
22}
23
Jayant Chowdharybe543d42018-08-15 13:16:14 -070024cc_binary {
25 name: "cameraserver",
26
27 srcs: ["main_cameraserver.cpp"],
28
Marco Nelissen6b285942019-10-21 14:52:30 -070029 header_libs: [
30 "libmedia_headers",
31 ],
32
Jayant Chowdharybe543d42018-08-15 13:16:14 -070033 shared_libs: [
34 "libcameraservice",
35 "liblog",
36 "libutils",
37 "libui",
38 "libgui",
39 "libbinder",
Steven Moreland5fee0f22019-06-10 13:35:00 -070040 "libhidlbase",
Jayant Chowdharybe543d42018-08-15 13:16:14 -070041 "android.hardware.camera.common@1.0",
42 "android.hardware.camera.provider@2.4",
Eino-Ville Talvala63f36112018-12-06 14:57:03 -080043 "android.hardware.camera.provider@2.5",
Shuzhen Wang43858162020-01-10 13:42:15 -080044 "android.hardware.camera.provider@2.6",
Shuzhen Wang83bff122020-11-20 15:51:39 -080045 "android.hardware.camera.provider@2.7",
Jayant Chowdharybe543d42018-08-15 13:16:14 -070046 "android.hardware.camera.device@1.0",
47 "android.hardware.camera.device@3.2",
Emilian Peev35ae8262018-11-08 13:11:32 +000048 "android.hardware.camera.device@3.4",
Jayant Chowdharybe543d42018-08-15 13:16:14 -070049 ],
Emilian Peev642fc1d2020-11-24 15:42:38 -080050 compile_multilib: "first",
Jayant Chowdharybe543d42018-08-15 13:16:14 -070051 cflags: [
52 "-Wall",
53 "-Wextra",
54 "-Werror",
55 "-Wno-unused-parameter",
56 ],
57
58 init_rc: ["cameraserver.rc"],
59
60 vintf_fragments: [
Shuzhen Wang316781a2020-08-18 18:11:01 -070061 "manifest_android.frameworks.cameraservice.service@2.2.xml",
Jayant Chowdharybe543d42018-08-15 13:16:14 -070062 ],
63}