[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:
Dmitriy Dolovov
2020-11-26 17:19:03 +03:00
parent 9d749feb64
commit b0ff3e7e5e
23 changed files with 479 additions and 470 deletions
@@ -1,6 +0,0 @@
// this is to avoid missing Kotlin/Native stdlib
package kotlinx.cinterop
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER)
@Retention(AnnotationRetention.BINARY)
annotation class ObjCMethod() // fake annotation class without properties
@@ -1,6 +0,0 @@
// this is to avoid missing Kotlin/Native stdlib
package kotlinx.cinterop
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER)
@Retention(AnnotationRetention.BINARY)
annotation class ObjCMethod() // fake annotation class without properties