xref: /aosp_15_r20/external/ksp/Android.bp (revision af87fb4bb8e3042070d2a054e912924f599b22b7)
1*af87fb4bSXin Li// Copyright (C) 2023 The Android Open Source Project
2*af87fb4bSXin Li//
3*af87fb4bSXin Li// Licensed under the Apache License, Version 2.0 (the "License");
4*af87fb4bSXin Li// you may not use this file except in compliance with the License.
5*af87fb4bSXin Li// You may obtain a copy of the License at
6*af87fb4bSXin Li//
7*af87fb4bSXin Li//      http://www.apache.org/licenses/LICENSE-2.0
8*af87fb4bSXin Li//
9*af87fb4bSXin Li// Unless required by applicable law or agreed to in writing, software
10*af87fb4bSXin Li// distributed under the License is distributed on an "AS IS" BASIS,
11*af87fb4bSXin Li// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12*af87fb4bSXin Li// See the License for the specific language governing permissions and
13*af87fb4bSXin Li// limitations under the License.
14*af87fb4bSXin Li
15*af87fb4bSXin Lipackage {
16*af87fb4bSXin Li    default_visibility: [":__subpackages__"],
17*af87fb4bSXin Li    default_applicable_licenses: ["external_ksp_license"],
18*af87fb4bSXin Li}
19*af87fb4bSXin Li
20*af87fb4bSXin Lilicense {
21*af87fb4bSXin Li    name: "external_ksp_license",
22*af87fb4bSXin Li    visibility: [":__subpackages__"],
23*af87fb4bSXin Li    license_kinds: [
24*af87fb4bSXin Li        "SPDX-license-identifier-Apache-2.0",
25*af87fb4bSXin Li    ],
26*af87fb4bSXin Li    license_text: [
27*af87fb4bSXin Li        "LICENSE",
28*af87fb4bSXin Li    ],
29*af87fb4bSXin Li}
30*af87fb4bSXin Li
31*af87fb4bSXin Lijava_library_host {
32*af87fb4bSXin Li    name: "kotlin_symbol_processing_api",
33*af87fb4bSXin Li    visibility: ["//external/dagger2"],
34*af87fb4bSXin Li    srcs: ["api/src/**/*.kt"],
35*af87fb4bSXin Li    kotlincflags: ["-Xjvm-default=all-compatibility"],
36*af87fb4bSXin Li}
37