blob: d8f00bbc1ad39ccef1b79612633cee0e55dad194 [file] [log] [blame]
Andrii Kulian73b23c92019-12-09 11:50:09 -08001// 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.
14
Bob Badour8a6a2bc2021-02-12 17:07:05 -080015package {
16 // See: http://go/android-license-faq
17 // A large-scale-change added 'default_applicable_licenses' to import
18 // all of the 'license_kinds' from "frameworks_base_license"
19 // to get the below license kinds:
20 // SPDX-license-identifier-Apache-2.0
21 default_applicable_licenses: ["frameworks_base_license"],
22}
23
Andrii Kulian336f9fd2020-12-23 20:00:10 -080024// Sidecar
Andrii Kulian73b23c92019-12-09 11:50:09 -080025android_library_import {
Diego Velab9437ef2020-06-02 10:28:16 -070026 name: "window-sidecar",
27 aars: ["window-sidecar-release.aar"],
Andrii Kulian73b23c92019-12-09 11:50:09 -080028 sdk_version: "current",
29}
30
31java_library {
Diego Velab9437ef2020-06-02 10:28:16 -070032 name: "androidx.window.sidecar",
Andrii Kulian336f9fd2020-12-23 20:00:10 -080033 srcs: ["src/androidx/window/sidecar/**/*.java", "src/androidx/window/util/**/*.java"],
Diego Velab9437ef2020-06-02 10:28:16 -070034 static_libs: ["window-sidecar"],
Andrii Kulian73b23c92019-12-09 11:50:09 -080035 installable: true,
36 sdk_version: "core_platform",
Andrii Kulian4ebadc82020-09-08 21:33:26 -070037 system_ext_specific: true,
Andrii Kulian73b23c92019-12-09 11:50:09 -080038 libs: ["framework", "androidx.annotation_annotation",],
Diego Velab9437ef2020-06-02 10:28:16 -070039 required: ["androidx.window.sidecar.xml",],
Andrii Kulian73b23c92019-12-09 11:50:09 -080040}
41
42prebuilt_etc {
Diego Velab9437ef2020-06-02 10:28:16 -070043 name: "androidx.window.sidecar.xml",
Andrii Kulian4ebadc82020-09-08 21:33:26 -070044 system_ext_specific: true,
Andrii Kulian73b23c92019-12-09 11:50:09 -080045 sub_dir: "permissions",
Diego Velab9437ef2020-06-02 10:28:16 -070046 src: "androidx.window.sidecar.xml",
Andrii Kulian73b23c92019-12-09 11:50:09 -080047 filename_from_src: true,
48}
Andrii Kulian336f9fd2020-12-23 20:00:10 -080049
50// Extensions
51// NOTE: This module is still under active development and must not
52// be used in production. Use 'androidx.window.sidecar' instead.
53android_library_import {
54 name: "window-extensions",
55 aars: ["window-extensions-release.aar"],
56 sdk_version: "current",
57}
58
59java_library {
60 name: "androidx.window.extensions",
61 srcs: ["src/androidx/window/extensions/**/*.java", "src/androidx/window/util/**/*.java"],
62 static_libs: ["window-extensions"],
63 installable: true,
64 sdk_version: "core_platform",
65 system_ext_specific: true,
66 libs: ["framework", "androidx.annotation_annotation",],
67 required: ["androidx.window.extensions.xml",],
68}
69
70prebuilt_etc {
71 name: "androidx.window.extensions.xml",
72 system_ext_specific: true,
73 sub_dir: "permissions",
74 src: "androidx.window.extensions.xml",
75 filename_from_src: true,
76}