blob: 13b705cf9e69b8b924308048679b3af6e3a0d5ba [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
Devin Moore65ca53f2023-05-23 17:34:38 +000029 defaults: [
30 "libcameraservice_deps",
31 ],
32
Marco Nelissen6b285942019-10-21 14:52:30 -070033 header_libs: [
34 "libmedia_headers",
35 ],
36
Jayant Chowdharybe543d42018-08-15 13:16:14 -070037 shared_libs: [
Jayant Chowdharybe543d42018-08-15 13:16:14 -070038 "liblog",
39 "libutils",
40 "libui",
41 "libgui",
42 "libbinder",
Avichal Rakeshfcb78cb2022-10-27 15:45:54 -070043 "libbinder_ndk",
Steven Moreland5fee0f22019-06-10 13:35:00 -070044 "libhidlbase",
Jayant Chowdharybe543d42018-08-15 13:16:14 -070045 "android.hardware.camera.common@1.0",
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 ],
Devin Moore65ca53f2023-05-23 17:34:38 +000050 static_libs: [
51 "libcameraservice",
52 ],
Emilian Peev642fc1d2020-11-24 15:42:38 -080053 compile_multilib: "first",
Jayant Chowdharybe543d42018-08-15 13:16:14 -070054 cflags: [
55 "-Wall",
56 "-Wextra",
57 "-Werror",
58 "-Wno-unused-parameter",
59 ],
60
61 init_rc: ["cameraserver.rc"],
62
63 vintf_fragments: [
Avichal Rakeshfcb78cb2022-10-27 15:45:54 -070064 "manifest_android.frameworks.cameraservice.service.xml",
Jayant Chowdharybe543d42018-08-15 13:16:14 -070065 ],
66}