Weice | 57d88f6 | 2021-12-06 06:24:56 +0000 | [diff] [blame] | 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 | |
| 15 | package { |
| 16 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 17 | } |
| 18 | |
Xinyi Zhou | 455ad5d | 2022-02-03 13:00:49 -0800 | [diff] [blame] | 19 | android_app { |
| 20 | name: "HalfSheetUX", |
| 21 | defaults: ["platform_app_defaults"], |
Weice | 57d88f6 | 2021-12-06 06:24:56 +0000 | [diff] [blame] | 22 | srcs: ["src/**/*.java"], |
| 23 | sdk_version: "module_current", |
Remi NGUYEN VAN | 15ed7d2 | 2022-01-07 13:20:08 +0900 | [diff] [blame] | 24 | // This is included in tethering apex, which uses min SDK 30 |
| 25 | min_sdk_version: "30", |
Weice | 57d88f6 | 2021-12-06 06:24:56 +0000 | [diff] [blame] | 26 | target_sdk_version: "current", |
Xinyi Zhou | 455ad5d | 2022-02-03 13:00:49 -0800 | [diff] [blame] | 27 | updatable: true, |
| 28 | certificate: ":com.android.nearby.halfsheetcertificate", |
Weice | 57d88f6 | 2021-12-06 06:24:56 +0000 | [diff] [blame] | 29 | libs: [ |
Roopa Sattiraju | e8fabcc | 2022-01-11 20:40:07 -0800 | [diff] [blame] | 30 | "framework-bluetooth", |
paulhu | 4e21e80 | 2022-02-16 09:09:19 +0800 | [diff] [blame] | 31 | "framework-connectivity-t", |
Weice | 57d88f6 | 2021-12-06 06:24:56 +0000 | [diff] [blame] | 32 | "nearby-service-string", |
Xinyi Zhou | 455ad5d | 2022-02-03 13:00:49 -0800 | [diff] [blame] | 33 | ], |
Weice | 57d88f6 | 2021-12-06 06:24:56 +0000 | [diff] [blame] | 34 | static_libs: [ |
Weice | fcd891b | 2021-12-28 23:31:08 +0000 | [diff] [blame] | 35 | "androidx.annotation_annotation", |
| 36 | "androidx.fragment_fragment", |
| 37 | "androidx-constraintlayout_constraintlayout", |
| 38 | "androidx.localbroadcastmanager_localbroadcastmanager", |
Xinyi Zhou | 455ad5d | 2022-02-03 13:00:49 -0800 | [diff] [blame] | 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", |
Weice | fcd891b | 2021-12-28 23:31:08 +0000 | [diff] [blame] | 45 | "fast-pair-lite-protos", |
Weice | 57d88f6 | 2021-12-06 06:24:56 +0000 | [diff] [blame] | 46 | ], |
Xinyi Zhou | 455ad5d | 2022-02-03 13:00:49 -0800 | [diff] [blame] | 47 | plugins: ["java_api_finder"], |
| 48 | manifest: "AndroidManifest.xml", |
| 49 | jarjar_rules: ":nearby-jarjar-rules", |
Remi NGUYEN VAN | 15ed7d2 | 2022-01-07 13:20:08 +0900 | [diff] [blame] | 50 | apex_available: ["com.android.tethering",], |
Xinyi Zhou | 455ad5d | 2022-02-03 13:00:49 -0800 | [diff] [blame] | 51 | lint: { strict_updatability_linting: true } |
Weice | 57d88f6 | 2021-12-06 06:24:56 +0000 | [diff] [blame] | 52 | } |
| 53 | |
| 54 | android_app_certificate { |
| 55 | name: "com.android.nearby.halfsheetcertificate", |
| 56 | certificate: "apk-certs/com.android.nearby.halfsheet" |
| 57 | } |