blob: 0fbfdbe73ce7d80e80875e52635212438f614c04 [file] [log] [blame]
Anton Hanssonda4972f2020-01-08 09:48:18 +00001// Copyright (C) 2019 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 Badourbe5b7072021-02-12 14:50:30 -080015package {
16 default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
Anton Hanssonda4972f2020-01-08 09:48:18 +000019filegroup {
20 name: "framework-sdkextensions-sources",
21 srcs: [
22 "java/**/*.java",
23 ],
24 path: "java",
Baligh Uddina1fed012020-05-22 16:48:01 +000025 visibility: [
Anton Hansson2d1fdf72020-07-09 19:41:13 +010026 "//frameworks/base", // For the "global" stubs.
Anton Hansson1368e2c2020-07-09 18:08:52 +010027 "//packages/modules/SdkExtensions:__subpackages__",
Anton Hansson2d1fdf72020-07-09 19:41:13 +010028 ],
Anton Hanssonda4972f2020-01-08 09:48:18 +000029}
30
Paul Duffinfaa889c2020-04-28 13:32:48 +010031java_sdk_library {
Anton Hanssonda4972f2020-01-08 09:48:18 +000032 name: "framework-sdkextensions",
33 srcs: [ ":framework-sdkextensions-sources" ],
Paul Duffinfaa889c2020-04-28 13:32:48 +010034 defaults: ["framework-module-defaults"],
Anton Hanssonda4972f2020-01-08 09:48:18 +000035 permitted_packages: [ "android.os.ext" ],
Jiyong Park99c427f2020-01-06 13:30:59 +090036 apex_available: [
37 "com.android.sdkext",
38 "test_com.android.sdkext",
39 ],
Nikita Ioffe10c87182020-10-20 16:07:01 +010040 min_sdk_version: "30",
Anton Hanssonda4972f2020-01-08 09:48:18 +000041}