blob: a786639472d95ca151a80d6e3be93a39f06ebc82 [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: [
Jihoon Kang8401b6a2024-08-30 00:29:58 +000035 "framework-connectivity-t.stubs.module_lib",
Kangping Dong138b4b12023-09-01 18:27:43 +080036 ],
Kangping Dong1786bd92024-03-18 15:18:45 +080037 required: [
38 "privapp-permissions-com.android.threadnetwork.demoapp",
39 ],
Kangping Dong184b4002024-03-19 12:44:43 +000040 system_ext_specific: true,
Kangping Dong138b4b12023-09-01 18:27:43 +080041 certificate: "platform",
42 privileged: true,
43 platform_apis: true,
44}
Kangping Dong1786bd92024-03-18 15:18:45 +080045
46prebuilt_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 Dong184b4002024-03-19 12:44:43 +000051 system_ext_specific: true,
Kangping Dong1786bd92024-03-18 15:18:45 +080052}