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    default_team: "trendy_team_context_hub",
19    // See: http://go/android-license-faq
20    // A large-scale-change added 'default_applicable_licenses' to import
21    // all of the 'license_kinds' from "system_chre_license"
22    // to get the below license kinds:
23    //   SPDX-license-identifier-Apache-2.0
24    default_applicable_licenses: ["system_chre_license"],
25}
26
27java_library {
28    name: "chrecrossvalidation_sensor_java_proto",
29    host_supported: true,
30    srcs: [
31        "./chre_cross_validation_sensor.proto",
32    ],
33    proto: {
34        type: "lite",
35    },
36    sdk_version: "system_current",
37}
38
39java_library {
40    name: "chrecrossvalidation_wifi_java_proto",
41    host_supported: true,
42    srcs: [
43        "./chre_cross_validation_wifi.proto",
44    ],
45    proto: {
46        type: "lite",
47    },
48    sdk_version: "system_current",
49}
50
51java_library {
52    name: "chre_settings_test_java_proto",
53    host_supported: true,
54    srcs: [
55        "./chre_settings_test.proto",
56    ],
57    proto: {
58        type: "lite",
59    },
60    sdk_version: "system_current",
61}
62
63java_library {
64    name: "chre_audio_concurrency_test_java_proto",
65    host_supported: true,
66    srcs: [
67        "./chre_audio_concurrency_test.proto",
68    ],
69    proto: {
70        type: "lite",
71        // Include protos in this directory
72        local_include_dirs: [
73            ".",
74        ],
75    },
76    sdk_version: "system_current",
77}
78
79java_library {
80    name: "permission_test_java_proto",
81    host_supported: true,
82    srcs: [
83        "./permission_test.proto",
84    ],
85    proto: {
86        type: "lite",
87    },
88    sdk_version: "system_current",
89}
90
91java_library {
92    name: "ping_test_java_proto",
93    host_supported: true,
94    srcs: [
95        "./ping_test.proto",
96    ],
97    proto: {
98        type: "lite",
99    },
100    sdk_version: "system_current",
101}
102
103java_library {
104    name: "chre_stress_test_java_proto",
105    host_supported: true,
106    srcs: [
107        "./chre_stress_test.proto",
108    ],
109    proto: {
110        type: "lite",
111    },
112    sdk_version: "system_current",
113}
114
115java_library {
116    name: "chre_test_common_java_proto",
117    host_supported: true,
118    srcs: [
119        "./chre_test_common.proto",
120    ],
121    proto: {
122        type: "lite",
123    },
124    sdk_version: "system_current",
125}
126
127java_library {
128    name: "chre_reliable_message_test_java_proto",
129    host_supported: true,
130    srcs: [
131        "./chre_reliable_message_test.proto",
132    ],
133    proto: {
134        type: "lite",
135    },
136    sdk_version: "system_current",
137}
138