blob: 4612ba28d1db67ee54ccdec01571cb5b4d40695e [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
Andrii Kulian336f9fd2020-12-23 20:00:10 -080015// Sidecar
Andrii Kulian73b23c92019-12-09 11:50:09 -080016android_library_import {
Diego Velab9437ef2020-06-02 10:28:16 -070017 name: "window-sidecar",
18 aars: ["window-sidecar-release.aar"],
Andrii Kulian73b23c92019-12-09 11:50:09 -080019 sdk_version: "current",
20}
21
22java_library {
Diego Velab9437ef2020-06-02 10:28:16 -070023 name: "androidx.window.sidecar",
Andrii Kulian336f9fd2020-12-23 20:00:10 -080024 srcs: ["src/androidx/window/sidecar/**/*.java", "src/androidx/window/util/**/*.java"],
Diego Velab9437ef2020-06-02 10:28:16 -070025 static_libs: ["window-sidecar"],
Andrii Kulian73b23c92019-12-09 11:50:09 -080026 installable: true,
27 sdk_version: "core_platform",
Andrii Kulian4ebadc82020-09-08 21:33:26 -070028 system_ext_specific: true,
Andrii Kulian73b23c92019-12-09 11:50:09 -080029 libs: ["framework", "androidx.annotation_annotation",],
Diego Velab9437ef2020-06-02 10:28:16 -070030 required: ["androidx.window.sidecar.xml",],
Andrii Kulian73b23c92019-12-09 11:50:09 -080031}
32
33prebuilt_etc {
Diego Velab9437ef2020-06-02 10:28:16 -070034 name: "androidx.window.sidecar.xml",
Andrii Kulian4ebadc82020-09-08 21:33:26 -070035 system_ext_specific: true,
Andrii Kulian73b23c92019-12-09 11:50:09 -080036 sub_dir: "permissions",
Diego Velab9437ef2020-06-02 10:28:16 -070037 src: "androidx.window.sidecar.xml",
Andrii Kulian73b23c92019-12-09 11:50:09 -080038 filename_from_src: true,
39}
Andrii Kulian336f9fd2020-12-23 20:00:10 -080040
41// Extensions
42// NOTE: This module is still under active development and must not
43// be used in production. Use 'androidx.window.sidecar' instead.
44android_library_import {
45 name: "window-extensions",
46 aars: ["window-extensions-release.aar"],
47 sdk_version: "current",
48}
49
50java_library {
51 name: "androidx.window.extensions",
52 srcs: ["src/androidx/window/extensions/**/*.java", "src/androidx/window/util/**/*.java"],
53 static_libs: ["window-extensions"],
54 installable: true,
55 sdk_version: "core_platform",
56 system_ext_specific: true,
57 libs: ["framework", "androidx.annotation_annotation",],
58 required: ["androidx.window.extensions.xml",],
59}
60
61prebuilt_etc {
62 name: "androidx.window.extensions.xml",
63 system_ext_specific: true,
64 sub_dir: "permissions",
65 src: "androidx.window.extensions.xml",
66 filename_from_src: true,
67}