blob: a5b192cd7ceb730f58a19760ad874065aab29f53 [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",
Darryl L Johnson91718592021-03-04 16:00:07 -080033 srcs: [
34 "src/androidx/window/sidecar/**/*.java",
35 "src/androidx/window/util/**/*.java",
36 "src/androidx/window/common/**/*.java",
37 ],
Diego Velab9437ef2020-06-02 10:28:16 -070038 static_libs: ["window-sidecar"],
Andrii Kulian73b23c92019-12-09 11:50:09 -080039 installable: true,
40 sdk_version: "core_platform",
Andrii Kulian4ebadc82020-09-08 21:33:26 -070041 system_ext_specific: true,
Darryl L Johnson91718592021-03-04 16:00:07 -080042 libs: [
43 "framework",
44 "androidx.annotation_annotation",
45 ],
46 required: ["androidx.window.sidecar.xml"],
Andrii Kulian73b23c92019-12-09 11:50:09 -080047}
48
49prebuilt_etc {
Diego Velab9437ef2020-06-02 10:28:16 -070050 name: "androidx.window.sidecar.xml",
Andrii Kulian4ebadc82020-09-08 21:33:26 -070051 system_ext_specific: true,
Andrii Kulian73b23c92019-12-09 11:50:09 -080052 sub_dir: "permissions",
Diego Velab9437ef2020-06-02 10:28:16 -070053 src: "androidx.window.sidecar.xml",
Andrii Kulian73b23c92019-12-09 11:50:09 -080054 filename_from_src: true,
55}
Andrii Kulian336f9fd2020-12-23 20:00:10 -080056
57// Extensions
58// NOTE: This module is still under active development and must not
59// be used in production. Use 'androidx.window.sidecar' instead.
60android_library_import {
61 name: "window-extensions",
62 aars: ["window-extensions-release.aar"],
63 sdk_version: "current",
64}
65
Charles Chend63fd2f2022-11-15 19:45:10 +080066android_library_import {
67 name: "window-extensions-core",
68 aars: ["window-extensions-core-release.aar"],
69 sdk_version: "current",
70}
71
Andrii Kulian336f9fd2020-12-23 20:00:10 -080072java_library {
73 name: "androidx.window.extensions",
Darryl L Johnson91718592021-03-04 16:00:07 -080074 srcs: [
75 "src/androidx/window/extensions/**/*.java",
76 "src/androidx/window/util/**/*.java",
77 "src/androidx/window/common/**/*.java",
78 ],
Charles Chend63fd2f2022-11-15 19:45:10 +080079 static_libs: [
80 "window-extensions",
81 "window-extensions-core",
82 ],
Andrii Kulian336f9fd2020-12-23 20:00:10 -080083 installable: true,
84 sdk_version: "core_platform",
85 system_ext_specific: true,
Darryl L Johnson91718592021-03-04 16:00:07 -080086 libs: [
87 "framework",
88 "androidx.annotation_annotation",
89 ],
90 required: ["androidx.window.extensions.xml"],
Andrii Kulian336f9fd2020-12-23 20:00:10 -080091}
92
93prebuilt_etc {
94 name: "androidx.window.extensions.xml",
95 system_ext_specific: true,
96 sub_dir: "permissions",
97 src: "androidx.window.extensions.xml",
98 filename_from_src: true,
99}