• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2020 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.
14package {
15    default_applicable_licenses: ["Android-Apache-2.0"],
16}
17
18apex_key {
19    name: "com.android.scheduling.key",
20    public_key: "com.android.scheduling.avbpubkey",
21    private_key: "com.android.scheduling.pem",
22}
23
24android_app_certificate {
25    name: "com.android.scheduling.certificate",
26    certificate: "com.android.scheduling",
27}
28
29filegroup {
30    name: "scheduling-jarjar-rules",
31    srcs: ["jarjar-rules.txt"],
32}
33
34// Encapsulate the contributions made by the com.android.scheduling to the bootclasspath.
35bootclasspath_fragment {
36    name: "com.android.scheduling-bootclasspath-fragment",
37    contents: ["framework-scheduling"],
38    apex_available: ["com.android.scheduling"],
39
40    // The bootclasspath_fragments that provide APIs on which this depends.
41    fragments: [
42        {
43            apex: "com.android.art",
44            module: "art-bootclasspath-fragment",
45        },
46    ],
47
48    // Additional stubs libraries that this fragment's contents use which are
49    // not provided by another bootclasspath_fragment.
50    additional_stubs: [
51        "android-non-updatable",
52    ],
53}
54
55apex {
56    name: "com.android.scheduling",
57    updatable: true,
58    min_sdk_version: "current",
59    bootclasspath_fragments: ["com.android.scheduling-bootclasspath-fragment"],
60    java_libs: ["service-scheduling"],
61    prebuilts: ["current_sdkinfo"],
62    manifest: "manifest.json",
63    file_contexts: ":com.android.scheduling-file_contexts",
64    key: "com.android.scheduling.key",
65}
66
67sdk {
68    name: "scheduling-sdk",
69    bootclasspath_fragments: ["com.android.scheduling-bootclasspath-fragment"],
70}
71