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 15package { 16 default_team: "trendy_team_fwk_thread_network", 17 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 ], 37 required: [ 38 "privapp-permissions-com.android.threadnetwork.demoapp", 39 ], 40 system_ext_specific: true, 41 certificate: "platform", 42 privileged: true, 43 platform_apis: true, 44} 45 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, 51 system_ext_specific: true, 52} 53