You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.5 KiB
55 lines
1.5 KiB
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"],
|
|
}
|
|
|
|
java_binary_host {
|
|
name: "kotlinx_atomicfu_transformer",
|
|
srcs: [
|
|
"atomicfu-transformer/src/main/**/*.kt",
|
|
],
|
|
exclude_srcs: [
|
|
"atomicfu-transformer/src/main/kotlin/kotlinx/atomicfu/transformer/AtomicFUTransformerJS.kt",
|
|
],
|
|
static_libs: [
|
|
"kotlinx_metadata_jvm",
|
|
"asm-6.0",
|
|
"asm-commons-6.0",
|
|
"asm-tree-6.0",
|
|
"asm-util-6.0",
|
|
"slf4j-jdk14",
|
|
],
|
|
main_class: "kotlinx.atomicfu.transformer.AtomicFUTransformerKT",
|
|
}
|