• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2021 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: "HalfSheetUX",
21    defaults: ["platform_app_defaults"],
22    srcs: ["src/**/*.java"],
23    resource_dirs: ["res"],
24    sdk_version: "module_current",
25    // This is included in tethering apex, which uses min SDK 30
26    min_sdk_version: "30",
27    updatable: true,
28    certificate: ":com.android.nearby.halfsheetcertificate",
29    libs: [
30        "framework-bluetooth",
31        "framework-connectivity-t.impl",
32        "framework-nearby-static",
33    ],
34    static_libs: [
35        "androidx.annotation_annotation",
36        "androidx.fragment_fragment",
37        "androidx-constraintlayout_constraintlayout",
38        "androidx.localbroadcastmanager_localbroadcastmanager",
39        "androidx.core_core",
40        "androidx.appcompat_appcompat",
41        "androidx.recyclerview_recyclerview",
42        "androidx.lifecycle_lifecycle-runtime",
43        "androidx.lifecycle_lifecycle-extensions",
44        "com.google.android.material_material",
45        "fast-pair-lite-protos",
46    ],
47    manifest: "AndroidManifest.xml",
48    jarjar_rules: ":nearby-jarjar-rules",
49    apex_available: ["com.android.tethering",],
50    lint: { strict_updatability_linting: true }
51}
52
53android_app_certificate {
54    name: "com.android.nearby.halfsheetcertificate",
55    certificate: "apk-certs/com.android.nearby.halfsheet"
56}
57