• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2020 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
19// Used for car service module build
20filegroup {
21    name: "android.car.watchdoglib-src",
22    srcs: [
23        "src/**/*.java",
24    ],
25    visibility: [
26        "//packages/services/Car/service",
27    ],
28}
29
30java_library {
31    name: "android.car.watchdoglib",
32    srcs: [
33        ":android.car.watchdoglib-src",
34    ],
35
36    sdk_version: "module_current",
37    min_sdk_version: "31",
38    apex_available: [
39        "//apex_available:platform",
40        "com.android.car.framework"
41    ],
42    static_libs: [
43        "android.automotive.watchdog.internal-V2-java",
44    ],
45
46    libs: [
47        "android.car.builtin",
48        "framework-annotations-lib",
49    ],
50
51    product_variables: {
52        pdk: {
53            enabled: false,
54        },
55    },
56    installable: true,
57}
58