blob: 00f8090db5e6301020c9c692d2e5ee295e52b8c4 [file] [log] [blame]
Kangping Dong138b4b12023-09-01 18:27:43 +08001// 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
15package {
Aditya Choudhary01b5ede2024-01-31 11:08:57 +000016 default_team: "trendy_team_fwk_thread_network",
Kangping Dong138b4b12023-09-01 18:27:43 +080017 default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20android_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: [
35 "framework-connectivity-t",
36 ],
Kangping Dong1786bd92024-03-18 15:18:45 +080037 required: [
38 "privapp-permissions-com.android.threadnetwork.demoapp",
39 ],
Kangping Dong138b4b12023-09-01 18:27:43 +080040 certificate: "platform",
41 privileged: true,
42 platform_apis: true,
43}
Kangping Dong1786bd92024-03-18 15:18:45 +080044
45prebuilt_etc {
46 name: "privapp-permissions-com.android.threadnetwork.demoapp",
47 src: "privapp-permissions-com.android.threadnetwork.demoapp.xml",
48 sub_dir: "permissions",
49 filename_from_src: true,
50}