blob: 23d101a41ef6918b1546dadaa7dc47ef4cf6086f [file] [log] [blame]
Colin Cross0004c5a2019-10-01 13:34:30 -07001package {
2 default_visibility: [":__subpackages__"],
Bob Badour242cc8c2021-02-03 20:27:12 -08003 default_applicable_licenses: ["external_kotlinx.atomicfu_license"],
4}
5
6// Added automatically by a large-scale-change
7//
8// large-scale-change included anything that looked like it might be a license
9// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.
10//
11// Please consider removing redundant or irrelevant files from 'license_text:'.
12// http://go/android-license-faq
13license {
14 name: "external_kotlinx.atomicfu_license",
15 visibility: [":__subpackages__"],
16 license_kinds: [
17 "SPDX-license-identifier-Apache-2.0",
18 ],
19 license_text: [
20 "license/**/*",
21 ],
Colin Cross0004c5a2019-10-01 13:34:30 -070022}
23
24java_library {
25 name: "kotlinx_atomicfu",
26 host_supported: true,
27 sdk_version: "core_current",
28 srcs: ["atomicfu/src/jvmMain/**/*.kt"],
29 exclude_srcs: ["atomicfu/src/jvmMain/kotlin/kotlinx/atomicfu/LockFreedomTestEnvironment.kt"],
30 common_srcs: ["atomicfu/src/commonMain/**/*.kt"],
31 kotlincflags: [
32 "-Xmulti-platform",
33 ],
34 visibility: ["//external/kotlinx.coroutines"],
Colin Cross77f18552021-07-30 19:21:57 -070035 apex_available: [
36 "//apex_available:platform",
37 "//apex_available:anyapex",
38 ],
Colin Cross0004c5a2019-10-01 13:34:30 -070039}