Anton Hansson | da4972f | 2020-01-08 09:48:18 +0000 | [diff] [blame] | 1 | // 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 Badour | be5b707 | 2021-02-12 14:50:30 -0800 | [diff] [blame] | 15 | package { |
| 16 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 17 | } |
| 18 | |
Anton Hansson | da4972f | 2020-01-08 09:48:18 +0000 | [diff] [blame] | 19 | filegroup { |
| 20 | name: "framework-sdkextensions-sources", |
| 21 | srcs: [ |
| 22 | "java/**/*.java", |
| 23 | ], |
| 24 | path: "java", |
Baligh Uddin | a1fed01 | 2020-05-22 16:48:01 +0000 | [diff] [blame] | 25 | visibility: [ |
Anton Hansson | 2d1fdf7 | 2020-07-09 19:41:13 +0100 | [diff] [blame] | 26 | "//frameworks/base", // For the "global" stubs. |
Anton Hansson | 1368e2c | 2020-07-09 18:08:52 +0100 | [diff] [blame] | 27 | "//packages/modules/SdkExtensions:__subpackages__", |
Anton Hansson | 2d1fdf7 | 2020-07-09 19:41:13 +0100 | [diff] [blame] | 28 | ], |
Anton Hansson | da4972f | 2020-01-08 09:48:18 +0000 | [diff] [blame] | 29 | } |
| 30 | |
Paul Duffin | faa889c | 2020-04-28 13:32:48 +0100 | [diff] [blame] | 31 | java_sdk_library { |
Anton Hansson | da4972f | 2020-01-08 09:48:18 +0000 | [diff] [blame] | 32 | name: "framework-sdkextensions", |
| 33 | srcs: [ ":framework-sdkextensions-sources" ], |
Paul Duffin | faa889c | 2020-04-28 13:32:48 +0100 | [diff] [blame] | 34 | defaults: ["framework-module-defaults"], |
Anton Hansson | da4972f | 2020-01-08 09:48:18 +0000 | [diff] [blame] | 35 | permitted_packages: [ "android.os.ext" ], |
Jiyong Park | 99c427f | 2020-01-06 13:30:59 +0900 | [diff] [blame] | 36 | apex_available: [ |
| 37 | "com.android.sdkext", |
| 38 | "test_com.android.sdkext", |
| 39 | ], |
Nikita Ioffe | 10c8718 | 2020-10-20 16:07:01 +0100 | [diff] [blame] | 40 | min_sdk_version: "30", |
Anton Hansson | da4972f | 2020-01-08 09:48:18 +0000 | [diff] [blame] | 41 | } |