• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2025 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
15package {
16    default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19android_library {
20    name: "ambientlib",
21    manifest: "AndroidManifest.xml",
22    sdk_version: "current",
23    // TODO(b/391934208): Update min_sdk_version to 35
24    min_sdk_version: "31",
25    srcs: [
26        "src/**/*.kt",
27    ],
28    static_libs: [
29        "androidx.core_core-ktx",
30        "androidx.annotation_annotation",
31        "androidx.appsearch_appsearch",
32        "androidx.appsearch_appsearch-builtin-types",
33        "androidx.appsearch_appsearch-platform-storage",
34        "androidx.concurrent_concurrent-futures-ktx",
35        "guava",
36        "kotlin-stdlib",
37        "kotlinx_coroutines",
38        "kotlinx-coroutines-android",
39        "kotlinx-coroutines-core",
40        "kotlinx_coroutines_guava",
41    ],
42    kotlincflags: ["-Xjvm-default=all"],
43}
44