blob: 12afde4a0f70274e46fabf6bed9dd7d52a1d5159 [file] [log] [blame]
Terry Wangecc0d1b2019-10-17 17:05:18 -07001// 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
15filegroup {
Alexander Dorokhine0e8fa4e2020-01-13 20:22:20 -080016 name: "framework-appsearch-sources",
17 srcs: [
18 "java/**/*.java",
19 "java/**/*.aidl",
20 ],
21 path: "java",
Terry Wangecc0d1b2019-10-17 17:05:18 -070022}
23
Anton Hansson25a0a2b2020-10-08 13:43:48 +010024java_sdk_library {
Alexander Dorokhine0e8fa4e2020-01-13 20:22:20 -080025 name: "framework-appsearch",
Anton Hansson25a0a2b2020-10-08 13:43:48 +010026 srcs: [ ":framework-appsearch-sources" ],
Anton Hansson9f473e12020-04-09 15:28:51 +010027 sdk_version: "core_platform", // TODO(b/146218515) should be module_current
Anton Hansson25a0a2b2020-10-08 13:43:48 +010028 impl_only_libs: ["framework-minus-apex"], // TODO(b/146218515) should be removed
Anton Hansson25a0a2b2020-10-08 13:43:48 +010029 defaults: ["framework-module-defaults"],
Alexander Dorokhineb5d9bcc2020-01-16 13:10:15 -080030 permitted_packages: ["android.app.appsearch"],
Anton Hansson25a0a2b2020-10-08 13:43:48 +010031 aidl: {
32 include_dirs: ["frameworks/base/core/java"], // TODO(b/146218515) should be removed
33 },
Alexander Dorokhine0e8fa4e2020-01-13 20:22:20 -080034 apex_available: ["com.android.appsearch"],
Terry Wangecc0d1b2019-10-17 17:05:18 -070035}