blob: 6862cb156b2fad3e332f928c9e7e3d912645d470 [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 {
Ronish Kaliab5dd44b2024-02-14 14:32:32 +000016 default_team: "trendy_team_camera_framework",
Bob Badourc8375042021-02-12 21:02:31 -080017 // See: http://go/android-license-faq
18 // A large-scale-change added 'default_applicable_licenses' to import
19 // all of the 'license_kinds' from "frameworks_av_camera_license"
20 // to get the below license kinds:
21 // SPDX-license-identifier-Apache-2.0
22 default_applicable_licenses: ["frameworks_av_camera_license"],
23}
24
Jayant Chowdharybe543d42018-08-15 13:16:14 -070025cc_binary {
26 name: "cameraserver",
27
28 srcs: ["main_cameraserver.cpp"],
29
Devin Moore65ca53f2023-05-23 17:34:38 +000030 defaults: [
31 "libcameraservice_deps",
32 ],
33
Marco Nelissen6b285942019-10-21 14:52:30 -070034 header_libs: [
35 "libmedia_headers",
36 ],
37
Jayant Chowdharybe543d42018-08-15 13:16:14 -070038 shared_libs: [
Jayant Chowdharybe543d42018-08-15 13:16:14 -070039 "liblog",
40 "libutils",
41 "libui",
42 "libgui",
43 "libbinder",
Avichal Rakeshfcb78cb2022-10-27 15:45:54 -070044 "libbinder_ndk",
Steven Moreland5fee0f22019-06-10 13:35:00 -070045 "libhidlbase",
Jayant Chowdharybe543d42018-08-15 13:16:14 -070046 "android.hardware.camera.common@1.0",
Jayant Chowdharybe543d42018-08-15 13:16:14 -070047 "android.hardware.camera.device@1.0",
48 "android.hardware.camera.device@3.2",
Emilian Peev35ae8262018-11-08 13:11:32 +000049 "android.hardware.camera.device@3.4",
Jayant Chowdharybe543d42018-08-15 13:16:14 -070050 ],
Devin Moore65ca53f2023-05-23 17:34:38 +000051 static_libs: [
52 "libcameraservice",
53 ],
Emilian Peev642fc1d2020-11-24 15:42:38 -080054 compile_multilib: "first",
Jayant Chowdharybe543d42018-08-15 13:16:14 -070055 cflags: [
56 "-Wall",
57 "-Wextra",
58 "-Werror",
59 "-Wno-unused-parameter",
60 ],
61
62 init_rc: ["cameraserver.rc"],
63
64 vintf_fragments: [
Avichal Rakeshfcb78cb2022-10-27 15:45:54 -070065 "manifest_android.frameworks.cameraservice.service.xml",
Jayant Chowdharybe543d42018-08-15 13:16:14 -070066 ],
67}