[Commonizer] More fine-grained control of commonized module dependencies
- Reduce usage of 'isUnderStandardKotlinPackages' check in commonizer source code - Rely on common module dependencies supplied via commonizer Parameters which not only Kotlin standard library but may also include common fragments of other libraries
This commit is contained in:
-12
@@ -1,12 +0,0 @@
|
||||
// this is to avoid missing Kotlin/Native stdlib
|
||||
package kotlinx.cinterop
|
||||
|
||||
// fake classes with the default constructor and no member scope
|
||||
abstract class CStructVar
|
||||
class CPointer<T>
|
||||
@Suppress("FINAL_UPPER_BOUND") class UByteVarOf<T : UByte>
|
||||
class UByte
|
||||
|
||||
// fake typealiases
|
||||
typealias CArrayPointer<T> = CPointer<T>
|
||||
typealias UByteVar = UByteVarOf<UByte>
|
||||
-12
@@ -1,12 +0,0 @@
|
||||
// this is to avoid missing Kotlin/Native stdlib
|
||||
package kotlinx.cinterop
|
||||
|
||||
// fake classes with the default constructor and no member scope
|
||||
abstract class CStructVar
|
||||
class CPointer<T>
|
||||
@Suppress("FINAL_UPPER_BOUND") class UByteVarOf<T : UByte>
|
||||
class UByte
|
||||
|
||||
// fake typealiases
|
||||
typealias CArrayPointer<T> = CPointer<T>
|
||||
typealias UByteVar = UByteVarOf<UByte>
|
||||
-12
@@ -1,12 +0,0 @@
|
||||
// this is to avoid missing Kotlin/Native stdlib
|
||||
package kotlinx.cinterop
|
||||
|
||||
// fake classes with the default constructor and no member scope
|
||||
abstract class CStructVar
|
||||
class CPointer<T>
|
||||
@Suppress("FINAL_UPPER_BOUND") class UByteVarOf<T : UByte>
|
||||
class UByte
|
||||
|
||||
// fake typealiases
|
||||
typealias CArrayPointer<T> = CPointer<T>
|
||||
typealias UByteVar = UByteVarOf<UByte>
|
||||
-12
@@ -1,12 +0,0 @@
|
||||
// this is to avoid missing Kotlin/Native stdlib
|
||||
package kotlinx.cinterop
|
||||
|
||||
// fake classes with the default constructor and no member scope
|
||||
abstract class CStructVar
|
||||
class CPointer<T>
|
||||
@Suppress("FINAL_UPPER_BOUND") class UByteVarOf<T : UByte>
|
||||
class UByte
|
||||
|
||||
// fake typealiases
|
||||
typealias CArrayPointer<T> = CPointer<T>
|
||||
typealias UByteVar = UByteVarOf<UByte>
|
||||
Reference in New Issue
Block a user