| Terry Wang | ecc0d1b | 2019-10-17 17:05:18 -0700 | [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 | |
| 15 | filegroup { |
| Alexander Dorokhine | 0e8fa4e | 2020-01-13 20:22:20 -0800 | [diff] [blame] | 16 | name: "framework-appsearch-sources", |
| 17 | srcs: [ |
| 18 | "java/**/*.java", |
| 19 | "java/**/*.aidl", |
| 20 | ], |
| 21 | path: "java", |
| Terry Wang | ecc0d1b | 2019-10-17 17:05:18 -0700 | [diff] [blame] | 22 | } |
| 23 | |
| Anton Hansson | 25a0a2b | 2020-10-08 13:43:48 +0100 | [diff] [blame] | 24 | java_sdk_library { |
| Alexander Dorokhine | 0e8fa4e | 2020-01-13 20:22:20 -0800 | [diff] [blame] | 25 | name: "framework-appsearch", |
| Anton Hansson | 25a0a2b | 2020-10-08 13:43:48 +0100 | [diff] [blame] | 26 | srcs: [ ":framework-appsearch-sources" ], |
| Anton Hansson | 9f473e1 | 2020-04-09 15:28:51 +0100 | [diff] [blame] | 27 | sdk_version: "core_platform", // TODO(b/146218515) should be module_current |
| Anton Hansson | 25a0a2b | 2020-10-08 13:43:48 +0100 | [diff] [blame] | 28 | impl_only_libs: ["framework-minus-apex"], // TODO(b/146218515) should be removed |
| Anton Hansson | 25a0a2b | 2020-10-08 13:43:48 +0100 | [diff] [blame] | 29 | defaults: ["framework-module-defaults"], |
| Alexander Dorokhine | b5d9bcc | 2020-01-16 13:10:15 -0800 | [diff] [blame] | 30 | permitted_packages: ["android.app.appsearch"], |
| Anton Hansson | 25a0a2b | 2020-10-08 13:43:48 +0100 | [diff] [blame] | 31 | aidl: { |
| 32 | include_dirs: ["frameworks/base/core/java"], // TODO(b/146218515) should be removed |
| 33 | }, |
| Alexander Dorokhine | 0e8fa4e | 2020-01-13 20:22:20 -0800 | [diff] [blame] | 34 | apex_available: ["com.android.appsearch"], |
| Terry Wang | ecc0d1b | 2019-10-17 17:05:18 -0700 | [diff] [blame] | 35 | } |