Colin Cross | 0004c5a | 2019-10-01 13:34:30 -0700 | [diff] [blame] | 1 | package { |
| 2 | default_visibility: [":__subpackages__"], |
Bob Badour | 242cc8c | 2021-02-03 20:27:12 -0800 | [diff] [blame] | 3 | 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 |
| 13 | license { |
| 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 Cross | 0004c5a | 2019-10-01 13:34:30 -0700 | [diff] [blame] | 22 | } |
| 23 | |
| 24 | java_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 Cross | 77f1855 | 2021-07-30 19:21:57 -0700 | [diff] [blame] | 35 | apex_available: [ |
| 36 | "//apex_available:platform", |
| 37 | "//apex_available:anyapex", |
| 38 | ], |
Colin Cross | 0004c5a | 2019-10-01 13:34:30 -0700 | [diff] [blame] | 39 | } |