Jayant Chowdhary | be543d4 | 2018-08-15 13:16:14 -0700 | [diff] [blame] | 1 | // 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 Badour | c837504 | 2021-02-12 21:02:31 -0800 | [diff] [blame] | 15 | package { |
Ronish Kalia | b5dd44b | 2024-02-14 14:32:32 +0000 | [diff] [blame] | 16 | default_team: "trendy_team_camera_framework", |
Bob Badour | c837504 | 2021-02-12 21:02:31 -0800 | [diff] [blame] | 17 | // 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 | |
Kiyoung Kim | d2d3326 | 2024-10-11 16:50:53 +0900 | [diff] [blame] | 25 | vintf_fragment { |
| 26 | name: "manifest_android.frameworks.cameraservice.service.xml", |
| 27 | src: "manifest_android.frameworks.cameraservice.service.xml", |
| 28 | } |
| 29 | |
Jayant Chowdhary | be543d4 | 2018-08-15 13:16:14 -0700 | [diff] [blame] | 30 | cc_binary { |
| 31 | name: "cameraserver", |
| 32 | |
| 33 | srcs: ["main_cameraserver.cpp"], |
| 34 | |
Devin Moore | 65ca53f | 2023-05-23 17:34:38 +0000 | [diff] [blame] | 35 | defaults: [ |
| 36 | "libcameraservice_deps", |
| 37 | ], |
| 38 | |
Marco Nelissen | 6b28594 | 2019-10-21 14:52:30 -0700 | [diff] [blame] | 39 | header_libs: [ |
| 40 | "libmedia_headers", |
| 41 | ], |
| 42 | |
Jayant Chowdhary | be543d4 | 2018-08-15 13:16:14 -0700 | [diff] [blame] | 43 | shared_libs: [ |
Jayant Chowdhary | be543d4 | 2018-08-15 13:16:14 -0700 | [diff] [blame] | 44 | "liblog", |
| 45 | "libutils", |
| 46 | "libui", |
| 47 | "libgui", |
| 48 | "libbinder", |
Avichal Rakesh | fcb78cb | 2022-10-27 15:45:54 -0700 | [diff] [blame] | 49 | "libbinder_ndk", |
Steven Moreland | 5fee0f2 | 2019-06-10 13:35:00 -0700 | [diff] [blame] | 50 | "libhidlbase", |
Jayant Chowdhary | be543d4 | 2018-08-15 13:16:14 -0700 | [diff] [blame] | 51 | "android.hardware.camera.common@1.0", |
Jayant Chowdhary | be543d4 | 2018-08-15 13:16:14 -0700 | [diff] [blame] | 52 | "android.hardware.camera.device@1.0", |
| 53 | "android.hardware.camera.device@3.2", |
Emilian Peev | 35ae826 | 2018-11-08 13:11:32 +0000 | [diff] [blame] | 54 | "android.hardware.camera.device@3.4", |
Jayant Chowdhary | be543d4 | 2018-08-15 13:16:14 -0700 | [diff] [blame] | 55 | ], |
Devin Moore | 65ca53f | 2023-05-23 17:34:38 +0000 | [diff] [blame] | 56 | static_libs: [ |
| 57 | "libcameraservice", |
| 58 | ], |
Emilian Peev | 642fc1d | 2020-11-24 15:42:38 -0800 | [diff] [blame] | 59 | compile_multilib: "first", |
Jayant Chowdhary | be543d4 | 2018-08-15 13:16:14 -0700 | [diff] [blame] | 60 | cflags: [ |
| 61 | "-Wall", |
| 62 | "-Wextra", |
| 63 | "-Werror", |
| 64 | "-Wno-unused-parameter", |
| 65 | ], |
| 66 | |
| 67 | init_rc: ["cameraserver.rc"], |
| 68 | |
Kiyoung Kim | d2d3326 | 2024-10-11 16:50:53 +0900 | [diff] [blame] | 69 | vintf_fragment_modules: [ |
Avichal Rakesh | fcb78cb | 2022-10-27 15:45:54 -0700 | [diff] [blame] | 70 | "manifest_android.frameworks.cameraservice.service.xml", |
Jayant Chowdhary | be543d4 | 2018-08-15 13:16:14 -0700 | [diff] [blame] | 71 | ], |
| 72 | } |