1// 2// Copyright (C) 2019 The Android Open Source Project 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15// 16 17package { 18 // See: http://go/android-license-faq 19 // A large-scale-change added 'default_applicable_licenses' to import 20 // all of the 'license_kinds' from "system_chre_license" 21 // to get the below license kinds: 22 // SPDX-license-identifier-Apache-2.0 23 default_applicable_licenses: ["system_chre_license"], 24} 25 26java_library { 27 name: "chrecrossvalidation_sensor_java_proto", 28 host_supported: true, 29 srcs: [ 30 "./chre_cross_validation_sensor.proto", 31 ], 32 proto: { 33 type: "lite", 34 }, 35 sdk_version: "system_current", 36} 37 38java_library { 39 name: "chrecrossvalidation_wifi_java_proto", 40 host_supported: true, 41 srcs: [ 42 "./chre_cross_validation_wifi.proto", 43 ], 44 proto: { 45 type: "lite", 46 }, 47 sdk_version: "system_current", 48} 49 50java_library { 51 name: "chre_settings_test_java_proto", 52 host_supported: true, 53 srcs: [ 54 "./chre_settings_test.proto", 55 ], 56 proto: { 57 type: "lite", 58 }, 59 sdk_version: "system_current", 60} 61 62java_library { 63 name: "chre_audio_concurrency_test_java_proto", 64 host_supported: true, 65 srcs: [ 66 "./chre_audio_concurrency_test.proto", 67 ], 68 proto: { 69 type: "lite", 70 // Include protos in this directory 71 local_include_dirs: [ 72 ".", 73 ], 74 }, 75 sdk_version: "system_current", 76} 77 78java_library { 79 name: "permission_test_java_proto", 80 host_supported: true, 81 srcs: [ 82 "./permission_test.proto", 83 ], 84 proto: { 85 type: "lite", 86 }, 87 sdk_version: "system_current", 88} 89 90java_library { 91 name: "ping_test_java_proto", 92 host_supported: true, 93 srcs: [ 94 "./ping_test.proto", 95 ], 96 proto: { 97 type: "lite", 98 }, 99 sdk_version: "system_current", 100} 101 102java_library { 103 name: "chre_stress_test_java_proto", 104 host_supported: true, 105 srcs: [ 106 "./chre_stress_test.proto", 107 ], 108 proto: { 109 type: "lite", 110 }, 111 sdk_version: "system_current", 112} 113 114java_library { 115 name: "chre_test_common_java_proto", 116 host_supported: true, 117 srcs: [ 118 "./chre_test_common.proto", 119 ], 120 proto: { 121 type: "lite", 122 }, 123 sdk_version: "system_current", 124} 125