aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
blob: 2c80b65b6a36443f3f2fe3bd1f4e42600b955da3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package {
    default_visibility: [":__subpackages__"],
    default_applicable_licenses: ["external_kotlinx.atomicfu_license"],
}

// Added automatically by a large-scale-change
//
// large-scale-change included anything that looked like it might be a license
// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.
//
// Please consider removing redundant or irrelevant files from 'license_text:'.
// http://go/android-license-faq
license {
    name: "external_kotlinx.atomicfu_license",
    visibility: [":__subpackages__"],
    license_kinds: [
        "SPDX-license-identifier-Apache-2.0",
    ],
    license_text: [
        "license/**/*",
    ],
}

java_library {
    name: "kotlinx_atomicfu",
    host_supported: true,
    sdk_version: "core_current",
    srcs: ["atomicfu/src/jvmMain/**/*.kt"],
    exclude_srcs: ["atomicfu/src/jvmMain/kotlin/kotlinx/atomicfu/LockFreedomTestEnvironment.kt"],
    common_srcs: ["atomicfu/src/commonMain/**/*.kt"],
    kotlincflags: [
        "-Xmulti-platform",
    ],
    visibility: [
        "//external/kotlinx.coroutines",
        "//prebuilts/sdk/current/androidx:__subpackages__",
    ],
    apex_available: [
        "//apex_available:platform",
        "//apex_available:anyapex",
    ],
}