• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2022 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_visibility: [":__subpackages__"],
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20android_app_certificate {
21    name: "com.android.federatedcompute.certificate",
22    certificate: "com.android.federatedcompute",
23}
24
25android_app {
26    name: "FederatedCompute",
27    srcs: [
28        ":federatedcompute-sources",
29        ":federatedcompute-fbs",
30    ],
31    libs: [
32        "auto_value_annotations",
33        "flatbuffers-java",
34        "framework-ondevicepersonalization.impl",
35        "framework-annotations-lib",
36    ],
37    plugins: ["auto_value_plugin"],
38    static_libs: [
39        "federatedcompute-service-proto-lite",
40        "guava",
41        "modules-utils-preconditions",
42        "libprotobuf-java-lite",
43    ],
44    sdk_version: "module_current",
45    min_sdk_version: "Tiramisu",
46    updatable: true,
47    certificate: ":com.android.federatedcompute.certificate",
48    apex_available: ["com.android.ondevicepersonalization"],
49    defaults: [
50        "federatedcompute-java-defaults",
51    ],
52}