• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Copyright (C) 2025 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//      http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17package {
18    default_team: "trendy_team_system_ui_please_use_a_more_specific_subteam_if_possible_",
19    default_applicable_licenses: [
20        "Android-Apache-2.0",
21        "Kotlin_Incremental_license",
22    ],
23}
24
25license {
26    name: "Kotlin_Incremental_license",
27    visibility: [":__subpackages__"],
28    license_kinds: ["legacy_proprietary"],
29}
30
31java_library_host {
32    name: "kotlin-incremental-client-lib",
33    srcs: [
34        "src/com/**/*.kt",
35    ],
36    static_libs: [
37        "kotlin-compiler-embeddable",
38        "kotlin-compiler-runner",
39        "kotlin-daemon-client",
40    ],
41
42    plugins: [],
43
44    kotlincflags: [
45        "-Werror",
46    ],
47}
48
49java_binary_host {
50    name: "kotlin-incremental-client",
51    manifest: "kotlin-incremental-client.mf",
52    static_libs: ["kotlin-incremental-client-lib"],
53}
54
55java_test_host {
56    name: "kotlin-incremental-client-tests",
57    srcs: [
58        "tests/src/com/**/*.kt",
59    ],
60    static_libs: [
61        "kotlin-incremental-client-lib",
62        "junit",
63        "truth",
64    ],
65}
66