aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.bp39
l---------LICENSE1
-rw-r--r--METADATA23
-rw-r--r--MODULE_LICENSE_APACHE20
l---------NOTICE1
-rw-r--r--OWNERS1
6 files changed, 65 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..23d101a
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,39 @@
+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"],
+ apex_available: [
+ "//apex_available:platform",
+ "//apex_available:anyapex",
+ ],
+}
diff --git a/LICENSE b/LICENSE
new file mode 120000
index 0000000..653f89e
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1 @@
+license/LICENSE.txt \ No newline at end of file
diff --git a/METADATA b/METADATA
new file mode 100644
index 0000000..ef605b9
--- /dev/null
+++ b/METADATA
@@ -0,0 +1,23 @@
+# This project was upgraded with external_updater.
+# Usage: tools/external_updater/updater.sh update kotlinx.atomicfu
+# For more info, check https://cs.android.com/android/platform/superproject/+/master:tools/external_updater/README.md
+
+name: "kotlinx.atomicfu"
+description: "The idiomatic way to use atomic operations in Kotlin."
+third_party {
+ url {
+ type: HOMEPAGE
+ value: "https://github.com/Kotlin/kotlinx.atomicfu"
+ }
+ url {
+ type: GIT
+ value: "https://github.com/Kotlin/kotlinx.atomicfu"
+ }
+ version: "0.18.5"
+ license_type: NOTICE
+ last_upgrade_date {
+ year: 2022
+ month: 11
+ day: 1
+ }
+}
diff --git a/MODULE_LICENSE_APACHE2 b/MODULE_LICENSE_APACHE2
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/MODULE_LICENSE_APACHE2
diff --git a/NOTICE b/NOTICE
new file mode 120000
index 0000000..7a694c9
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1 @@
+LICENSE \ No newline at end of file
diff --git a/OWNERS b/OWNERS
new file mode 100644
index 0000000..a4e722f
--- /dev/null
+++ b/OWNERS
@@ -0,0 +1 @@
+ccross@android.com