• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2023 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
15package {
16    default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19java_library {
20    name: "service_based_camera_extensions",
21    installable: true,
22    srcs: [
23        "src/java/**/*.java",
24        "src/java/**/*.aidl",
25    ],
26    static_libs: [
27        "androidx.annotation_annotation",
28    ],
29    aidl: {
30        local_include_dirs: ["src/java"],
31        include_dirs: [
32           "frameworks/native/aidl/gui",  // For SurfaceView AIDL
33           "frameworks/av/camera/aidl",   // For CaptureRequest AIDL
34        ]
35    },
36    system_ext_specific: true,
37}
38
39prebuilt_etc {
40    name: "service_based_camera_extensions.xml",
41    src: "service_based_camera_extensions.xml",
42    sub_dir: "permissions",
43    system_ext_specific: true,
44}
45