Kangping Dong | 138b4b1 | 2023-09-01 18:27:43 +0800 | [diff] [blame] | 1 | // Copyright (C) 2023 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 { |
Aditya Choudhary | 01b5ede | 2024-01-31 11:08:57 +0000 | [diff] [blame] | 16 | default_team: "trendy_team_fwk_thread_network", |
Kangping Dong | 138b4b1 | 2023-09-01 18:27:43 +0800 | [diff] [blame] | 17 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 18 | } |
| 19 | |
| 20 | android_app { |
| 21 | name: "ThreadNetworkDemoApp", |
| 22 | srcs: ["java/**/*.java"], |
| 23 | min_sdk_version: "34", |
| 24 | resource_dirs: ["res"], |
| 25 | static_libs: [ |
| 26 | "androidx-constraintlayout_constraintlayout", |
| 27 | "androidx.appcompat_appcompat", |
| 28 | "androidx.navigation_navigation-common", |
| 29 | "androidx.navigation_navigation-fragment", |
| 30 | "androidx.navigation_navigation-ui", |
| 31 | "com.google.android.material_material", |
| 32 | "guava", |
| 33 | ], |
| 34 | libs: [ |
Jihoon Kang | 8401b6a | 2024-08-30 00:29:58 +0000 | [diff] [blame] | 35 | "framework-connectivity-t.stubs.module_lib", |
Kangping Dong | 138b4b1 | 2023-09-01 18:27:43 +0800 | [diff] [blame] | 36 | ], |
Kangping Dong | 1786bd9 | 2024-03-18 15:18:45 +0800 | [diff] [blame] | 37 | required: [ |
| 38 | "privapp-permissions-com.android.threadnetwork.demoapp", |
| 39 | ], |
Kangping Dong | 184b400 | 2024-03-19 12:44:43 +0000 | [diff] [blame] | 40 | system_ext_specific: true, |
Kangping Dong | 138b4b1 | 2023-09-01 18:27:43 +0800 | [diff] [blame] | 41 | certificate: "platform", |
| 42 | privileged: true, |
| 43 | platform_apis: true, |
| 44 | } |
Kangping Dong | 1786bd9 | 2024-03-18 15:18:45 +0800 | [diff] [blame] | 45 | |
| 46 | prebuilt_etc { |
| 47 | name: "privapp-permissions-com.android.threadnetwork.demoapp", |
| 48 | src: "privapp-permissions-com.android.threadnetwork.demoapp.xml", |
| 49 | sub_dir: "permissions", |
| 50 | filename_from_src: true, |
Kangping Dong | 184b400 | 2024-03-19 12:44:43 +0000 | [diff] [blame] | 51 | system_ext_specific: true, |
Kangping Dong | 1786bd9 | 2024-03-18 15:18:45 +0800 | [diff] [blame] | 52 | } |