blob: 4e68c3d186da04186d47509b7f2667af062a5123 [file] [log] [blame]
Weice57d88f62021-12-06 06:24:56 +00001// 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
Xinyi Zhou455ad5d2022-02-03 13:00:49 -080019android_app {
20 name: "HalfSheetUX",
21 defaults: ["platform_app_defaults"],
Weice57d88f62021-12-06 06:24:56 +000022 srcs: ["src/**/*.java"],
Qin Wang616f5a12022-09-26 00:25:59 +000023 resource_dirs: ["res"],
Weice57d88f62021-12-06 06:24:56 +000024 sdk_version: "module_current",
Remi NGUYEN VAN15ed7d22022-01-07 13:20:08 +090025 // This is included in tethering apex, which uses min SDK 30
26 min_sdk_version: "30",
Weice57d88f62021-12-06 06:24:56 +000027 target_sdk_version: "current",
Xinyi Zhou455ad5d2022-02-03 13:00:49 -080028 updatable: true,
29 certificate: ":com.android.nearby.halfsheetcertificate",
Weice57d88f62021-12-06 06:24:56 +000030 libs: [
Roopa Sattirajue8fabcc2022-01-11 20:40:07 -080031 "framework-bluetooth",
paulhua4cecf22022-02-16 09:09:19 +080032 "framework-connectivity-t",
Qin Wang616f5a12022-09-26 00:25:59 +000033 "framework-nearby-static",
Xinyi Zhou455ad5d2022-02-03 13:00:49 -080034 ],
Weice57d88f62021-12-06 06:24:56 +000035 static_libs: [
Weicefcd891b2021-12-28 23:31:08 +000036 "androidx.annotation_annotation",
37 "androidx.fragment_fragment",
38 "androidx-constraintlayout_constraintlayout",
39 "androidx.localbroadcastmanager_localbroadcastmanager",
Xinyi Zhou455ad5d2022-02-03 13:00:49 -080040 "androidx.core_core",
41 "androidx.appcompat_appcompat",
42 "androidx.recyclerview_recyclerview",
43 "androidx.lifecycle_lifecycle-runtime",
44 "androidx.lifecycle_lifecycle-extensions",
45 "com.google.android.material_material",
Weicefcd891b2021-12-28 23:31:08 +000046 "fast-pair-lite-protos",
Weice57d88f62021-12-06 06:24:56 +000047 ],
Xinyi Zhou455ad5d2022-02-03 13:00:49 -080048 plugins: ["java_api_finder"],
49 manifest: "AndroidManifest.xml",
50 jarjar_rules: ":nearby-jarjar-rules",
Remi NGUYEN VAN15ed7d22022-01-07 13:20:08 +090051 apex_available: ["com.android.tethering",],
Xinyi Zhou455ad5d2022-02-03 13:00:49 -080052 lint: { strict_updatability_linting: true }
Weice57d88f62021-12-06 06:24:56 +000053}
54
55android_app_certificate {
56 name: "com.android.nearby.halfsheetcertificate",
57 certificate: "apk-certs/com.android.nearby.halfsheet"
58}