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 { |
| 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 Chowdhary | be543d4 | 2018-08-15 13:16:14 -0700 | [diff] [blame] | 24 | cc_binary { |
| 25 | name: "cameraserver", |
| 26 | |
| 27 | srcs: ["main_cameraserver.cpp"], |
| 28 | |
Marco Nelissen | 6b28594 | 2019-10-21 14:52:30 -0700 | [diff] [blame] | 29 | header_libs: [ |
| 30 | "libmedia_headers", |
| 31 | ], |
| 32 | |
Jayant Chowdhary | be543d4 | 2018-08-15 13:16:14 -0700 | [diff] [blame] | 33 | shared_libs: [ |
| 34 | "libcameraservice", |
| 35 | "liblog", |
| 36 | "libutils", |
| 37 | "libui", |
| 38 | "libgui", |
| 39 | "libbinder", |
Steven Moreland | 5fee0f2 | 2019-06-10 13:35:00 -0700 | [diff] [blame] | 40 | "libhidlbase", |
Jayant Chowdhary | be543d4 | 2018-08-15 13:16:14 -0700 | [diff] [blame] | 41 | "android.hardware.camera.common@1.0", |
| 42 | "android.hardware.camera.provider@2.4", |
Eino-Ville Talvala | 63f3611 | 2018-12-06 14:57:03 -0800 | [diff] [blame] | 43 | "android.hardware.camera.provider@2.5", |
Shuzhen Wang | 4385816 | 2020-01-10 13:42:15 -0800 | [diff] [blame] | 44 | "android.hardware.camera.provider@2.6", |
Shuzhen Wang | 83bff12 | 2020-11-20 15:51:39 -0800 | [diff] [blame] | 45 | "android.hardware.camera.provider@2.7", |
Jayant Chowdhary | be543d4 | 2018-08-15 13:16:14 -0700 | [diff] [blame] | 46 | "android.hardware.camera.device@1.0", |
| 47 | "android.hardware.camera.device@3.2", |
Emilian Peev | 35ae826 | 2018-11-08 13:11:32 +0000 | [diff] [blame] | 48 | "android.hardware.camera.device@3.4", |
Jayant Chowdhary | be543d4 | 2018-08-15 13:16:14 -0700 | [diff] [blame] | 49 | ], |
Emilian Peev | 642fc1d | 2020-11-24 15:42:38 -0800 | [diff] [blame] | 50 | compile_multilib: "first", |
Jayant Chowdhary | be543d4 | 2018-08-15 13:16:14 -0700 | [diff] [blame] | 51 | cflags: [ |
| 52 | "-Wall", |
| 53 | "-Wextra", |
| 54 | "-Werror", |
| 55 | "-Wno-unused-parameter", |
| 56 | ], |
| 57 | |
| 58 | init_rc: ["cameraserver.rc"], |
| 59 | |
| 60 | vintf_fragments: [ |
Shuzhen Wang | 316781a | 2020-08-18 18:11:01 -0700 | [diff] [blame] | 61 | "manifest_android.frameworks.cameraservice.service@2.2.xml", |
Jayant Chowdhary | be543d4 | 2018-08-15 13:16:14 -0700 | [diff] [blame] | 62 | ], |
| 63 | } |