• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2016 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
19android_app {
20    name: "BuiltInPrintService",
21    certificate: "platform",
22    privileged: true,
23    srcs: [
24        "src/**/*.java",
25        "src/**/I*.aidl",
26        "src/**/*.kt",
27    ],
28    static_libs: [
29        "androidx.core_core",
30        "bips_aconfig_flags_java_lib",
31        "androidx.appcompat_appcompat",
32        "androidx-constraintlayout_constraintlayout",
33        "androidx.recyclerview_recyclerview",
34        "androidx.preference_preference",
35        "androidx.fragment_fragment",
36        "androidx.lifecycle_lifecycle-common",
37        "androidx.lifecycle_lifecycle-runtime",
38        "androidx.lifecycle_lifecycle-livedata",
39        "androidx.lifecycle_lifecycle-viewmodel-ktx",
40        "androidx.lifecycle_lifecycle-livedata-ktx",
41        "androidx.lifecycle_lifecycle-extensions",
42        "androidx.annotation_annotation",
43        "kotlin-stdlib",
44        "kotlinx_coroutines",
45        "kotlinx-coroutines-android",
46        "androidx.core_core-ktx",
47    ],
48    flags_packages: [
49        "bips_aconfig_flags",
50    ],
51    resource_dirs: ["res"],
52    sdk_version: "system_current",
53    optimize: {
54        proguard_flags_files: ["proguard.flags"],
55        shrink_resources: true,
56        optimize: true,
57    },
58    jni_libs: [
59        "libwfds",
60        "libcups",
61    ],
62}
63