Move everything under kotlin-native folder

I was forced to manually do update the following files, because otherwise
they would be ignored according .gitignore settings. Probably they
should be deleted from repo.

Interop/.idea/compiler.xml
Interop/.idea/gradle.xml
Interop/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_runtime_1_0_3.xml
Interop/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_stdlib_1_0_3.xml
Interop/.idea/modules.xml
Interop/.idea/modules/Indexer/Indexer.iml
Interop/.idea/modules/Runtime/Runtime.iml
Interop/.idea/modules/StubGenerator/StubGenerator.iml
backend.native/backend.native.iml
backend.native/bc.frontend/bc.frontend.iml
backend.native/cli.bc/cli.bc.iml
backend.native/cli.bc/src/org/jetbrains/kotlin/cli/bc/K2Native.kt
backend.native/cli.bc/src/org/jetbrains/kotlin/cli/bc/K2NativeCompilerArguments.kt
backend.native/tests/link/lib/foo.kt
backend.native/tests/link/lib/foo2.kt
backend.native/tests/teamcity-test.property
This commit is contained in:
Stanislav Erokhin
2020-10-27 21:00:28 +03:00
parent 91e4162dad
commit f624800b84
2830 changed files with 0 additions and 0 deletions
+162
View File
@@ -0,0 +1,162 @@
import org.jetbrains.kotlin.gradle.plugin.konan.tasks.KonanCacheTask
import org.jetbrains.kotlin.KlibInstall
import org.jetbrains.kotlin.konan.target.*
import org.jetbrains.kotlin.konan.util.*
import static org.jetbrains.kotlin.konan.util.VisibleNamedKt.getVisibleName
buildscript {
repositories {
maven {
url 'https://cache-redirector.jetbrains.com/maven-central'
}
mavenCentral()
maven {
url buildKotlinCompilerRepo
}
maven {
url kotlinCompilerRepo
}
maven {
url "https://kotlin.bintray.com/kotlinx"
}
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-native-gradle-plugin:$gradlePluginVersion"
classpath "org.jetbrains.kotlin:kotlin-native-build-tools:$konanVersion"
}
}
// These properties are used by the 'konan' plugin, thus we set them before applying it.
ext.konanHome = distDir.absolutePath
def jvmArguments = [project.findProperty("platformLibsJvmArgs") ?: "-Xmx6G", *HostManager.defaultJvmArgs]
ext.jvmArgs = jvmArguments.join(" ")
ext.setProperty("org.jetbrains.kotlin.native.home", konanHome)
ext.setProperty("konan.jvmArgs", jvmArgs)
apply plugin: 'konan'
//#region Util functions.
private ArrayList<DefFile> targetDefFiles(KonanTarget target) {
file("src/platform/${getVisibleName(target.family)}")
.listFiles()
.findAll { it.name.endsWith(".def") }
// The libz.a/libz.so and zlib.h are missing in MIPS sysroots.
// Just workaround it until we have sysroots corrected.
.findAll { ! ((target in targetsWithoutZlib) && it.name == 'zlib.def') }
.collect { DefFileKt.DefFile(it, target) }
}
private String defFileToLibName(String target, String name) {
return "$target-$name".toString()
}
//#endregion
// TODO: I think most for the non-DSL language below can either be incorporated into DSL
// or moved out of .gradle file.
project.rootProject.ext.platformManager.enabled.each { target ->
def targetName = target.visibleName
ArrayList<Task> installTasks = []
ArrayList<Task> cacheTasks = []
if (target in cacheableTargets) {
task "${targetName}StdlibCache"(type: KonanCacheTask) {
it.target = targetName
originalKlib = file("$konanHome/klib/common/stdlib")
cacheRoot = file("$konanHome/klib/cache")
dependsOn ":${targetName}CrossDistRuntime"
}
}
targetDefFiles(target).each { df ->
def libName = defFileToLibName(targetName, df.name)
def fileNamePrefix = PlatformLibsInfo.namePrefix
konanArtifacts {
interop (libName, targets: [targetName]) {
defFile df.file
artifactName "${fileNamePrefix}${df.name}"
noDefaultLibs true
noEndorsedLibs true
libraries {
klibs df.config.depends.collect {
"${fileNamePrefix}${it}".toString()
}
}
extraOpts '-Xpurge-user-libs', "-Xshort-module-name", df.name
compilerOpts "-fmodules-cache-path=${project.buildDir}/clangModulesCache"
}
}
def libTask = konanArtifacts."$libName"."$targetName"
libTask.dependsOn df.config.depends.collect{ defFileToLibName(targetName, it) }
libTask.dependsOn ":${targetName}CrossDist"
libTask.enableParallel = true
task "$libName"(type: KlibInstall) {
klib = libTask.artifact
repo = file("$konanHome/klib/platform/$targetName")
it.target = targetName
dependsOn libTask
}
installTasks.add(tasks[libName])
if (target in cacheableTargets) {
task "${libName}Cache"(type: KonanCacheTask) {
it.target = targetName
originalKlib = tasks[libName].installDir
cacheRoot = file("$konanHome/klib/cache")
dependsOn ":${targetName}StdlibCache"
dependsOn tasks[libName]
dependsOn df.config.depends.collect {
def depName = defFileToLibName(targetName, it)
"${depName}Cache"
}
cacheTasks.add(it)
}
}
}
task "${targetName}Install" {
dependsOn installTasks
}
if (target in cacheableTargets) {
task "${targetName}Cache" {
dependsOn cacheTasks
group = BasePlugin.BUILD_GROUP
description = "Builds the compilation cache for platform: ${targetName}"
}
}
}
// TODO: Don't install libraries here - copy them in the distPlatformLibs task
task hostInstall {
dependsOn tasks.withType(KlibInstall.class).findAll {
it.target == HostManager.hostName
}
}
task hostCache {
dependsOn tasks.withType(KonanCacheTask.class).findAll {
it.target == HostManager.hostName
}
}
task install {
dependsOn tasks.withType(KlibInstall.class)
}
task cache {
dependsOn tasks.withType(KonanCacheTask.class)
group = BasePlugin.BUILD_GROUP
description = "Builds all the compilation caches"
}
@@ -0,0 +1,79 @@
depends = posix
package = platform.android
headers = jni.h stdbool.h \
android/NeuralNetworks.h \
android/api-level.h android/asset_manager.h android/asset_manager_jni.h \
android/bitmap.h \
android/choreographer.h android/configuration.h \
android/data_space.h android/dlext.h \
android/fdsan.h android/font.h android/font_matcher.h \
android/hardware_buffer.h android/hardware_buffer_jni.h \
android/input.h \
android/keycodes.h \
android/log.h android/looper.h \
android/multinetwork.h \
android/native_activity.h android/native_window.h android/native_window_jni.h android/ndk-version.h \
android/obb.h \
android/rect.h \
android/sensor.h android/set_abort_message.h android/sharedmem.h android/sharedmem_jni.h \
android/storage_manager.h android/surface_texture.h android/surface_texture_jni.h \
android/sync.h android/system_fonts.h \
android/trace.h \
android/versioning.h \
android/window.h
headerFilter = **
linkerOpts = -landroid -llog -ljnigraphics
---
struct NativeActivityState {
struct ANativeActivity* activity;
void* savedState;
size_t savedStateSize;
struct ALooper* looper;
};
void getNativeActivityState(struct NativeActivityState* state);
void notifySysEventProcessed();
#define LOOPER_ID_SYS 1
typedef enum NativeActivityEventKind {
UNKNOWN,
DESTROY,
START,
RESUME,
SAVE_INSTANCE_STATE,
PAUSE,
STOP,
CONFIGURATION_CHANGED,
LOW_MEMORY,
WINDOW_GAINED_FOCUS,
WINDOW_LOST_FOCUS,
NATIVE_WINDOW_CREATED,
NATIVE_WINDOW_DESTROYED,
INPUT_QUEUE_CREATED,
INPUT_QUEUE_DESTROYED
} NativeActivityEventKind;
struct NativeActivityEvent {
NativeActivityEventKind eventKind;
};
struct NativeActivitySaveStateEvent {
NativeActivityEventKind eventKind;
void* savedState;
size_t savedStateSize;
};
struct NativeActivityWindowEvent {
NativeActivityEventKind eventKind;
struct ANativeWindow* window;
};
struct NativeActivityQueueEvent {
NativeActivityEventKind eventKind;
struct AInputQueue* queue;
};
@@ -0,0 +1,97 @@
package = platform.builtin
headerFilter =
language = C
---
// See https://github.com/llvm-mirror/clang/blob/master/include/clang/Basic/Builtins.def
// TODO: autogenerate from machine format.
// Returns x with the order of the bytes reversed; for example, 0xaabb becomes 0xbbaa. Byte here always means exactly 8 bits.
static inline short builtin_bswap16(short x) {
return __builtin_bswap16(x);
}
static inline int builtin_bswap32(int x) {
return __builtin_bswap32(x);
}
static inline long long builtin_bswap64(long long x) {
return __builtin_bswap64(x);
}
// Returns the number of leading 0-bits in x, starting at the most significant bit position. If x is 0, the result is undefined.
static inline int builtin_clzs(unsigned short x) {
return __builtin_clzs(x);
}
static inline int builtin_clz(unsigned int x) {
return __builtin_clz(x);
}
static inline int builtin_clzl(unsigned long x) {
return __builtin_clzl(x);
}
static inline int builtin_clzll(unsigned long long x) {
return __builtin_clzll(x);
}
// Returns the number of trailing 0-bits in x, starting at the least significant bit position. If x is 0, the result is undefined.
static inline int builtin_ctzs(unsigned short x) {
return __builtin_ctzs(x);
}
static inline int builtin_ctz(unsigned int x) {
return __builtin_ctz(x);
}
static inline int builtin_ctzl(unsigned long x) {
return __builtin_ctzl(x);
}
static inline int builtin_ctzll(unsigned long long x) {
return __builtin_ctzll(x);
}
// Returns one plus the index of the least significant 1-bit of x, or if x is zero, returns zero.
static inline int builtin_ffs(int x) {
return __builtin_ffs(x);
}
static inline int builtin_ffsl(long x) {
return __builtin_ffsl(x);
}
static inline int builtin_ffsll(long long x) {
return __builtin_ffsll(x);
}
// Returns the parity of x, i.e. the number of 1-bits in x modulo 2.
static inline int builtin_parity(int x) {
return __builtin_parity(x);
}
static inline int builtin_parityl(unsigned long x) {
return __builtin_parityl(x);
}
static inline int builtin_parityll(unsigned long long x) {
return __builtin_parityll(x);
}
// Returns the number of 1-bits in x.
static inline int builtin_popcount(int x) {
return __builtin_popcount(x);
}
static inline int builtin_popcountl(long x) {
return __builtin_popcountl(x);
}
static inline int builtin_popcountll(long long x) {
return __builtin_popcountll(x);
}
// This function is used to flush the processor's instruction cache for the region of memory between begin inclusive and end exclusive.
static inline void builtin_clear_cache(void* begin, void* end) {
__builtin___clear_cache(begin, end);
}
@@ -0,0 +1,5 @@
depends = glesCommon posix
package = platform.egl
headers = EGL/egl.h EGL/eglext.h EGL/eglplatform.h
headerFilter = EGL/**
linkerOpts = -lEGL
@@ -0,0 +1,5 @@
depends = glesCommon posix
package = platform.gles
headers = GLES/gl.h GLES/glext.h GLES/glplatform.h
headerFilter = GLES/**
linkerOpts = -lGLESv1_CM
@@ -0,0 +1,5 @@
depends = glesCommon posix
package = platform.gles2
headers = GLES2/gl2.h GLES2/gl2ext.h GLES2/gl2platform.h
headerFilter = GLES2/**
linkerOpts = -lGLESv2
@@ -0,0 +1,5 @@
depends = glesCommon posix
package = platform.gles3
headers = GLES3/gl3.h GLES3/gl3ext.h GLES3/gl3platform.h
headerFilter = GLES3/**
linkerOpts = -lGLESv3
@@ -0,0 +1,5 @@
depends = gles3 glesCommon posix
package = platform.gles31
headers = GLES3/gl31.h
headerFilter = GLES3/**
linkerOpts = -lGLESv3
@@ -0,0 +1,4 @@
depends = posix
package = platform.glescommon
headers = KHR/khrplatform.h
headerFilter = KHR/**
@@ -0,0 +1,14 @@
depends = posix
package = platform.linux
headers = byteswap.h elf.h endian.h features.h lastlog.h link.h \
malloc.h mntent.h termio.h \
uchar.h \
sys/epoll.h sys/inotify.h sys/klog.h sys/sendfile.h \
sys/sysconf.h sys/sysinfo.h \
linux/if_ether.h linux/utime.h \
net/if_packet.h netinet/ether.h netinet/in6.h netpacket/packet.h
headers.android_arm32 = time64.h
headerFilter = **
linkerOpts = -ldl
@@ -0,0 +1,6 @@
depends = android posix
package = platform.media
headers = media/NdkMediaCodec.h media/NdkMediaCrypto.h media/NdkMediaDrm.h media/NdkMediaError.h \
media/NdkMediaExtractor.h media/NdkMediaFormat.h media/NdkMediaMuxer.h
headerFilter = media/**
linkerOpts = -lmediandk
@@ -0,0 +1,5 @@
depends = posix
package = platform.omxal
headers = OMXAL/OpenMAXAL.h OMXAL/OpenMAXAL_Android.h OMXAL/OpenMAXAL_Platform.h
headerFilter = OMXAL/**
linkerOpts = -lOpenMAXAL
@@ -0,0 +1,45 @@
depends =
package = platform.posix
headers = alloca.h ar.h assert.h complex.h ctype.h dirent.h dlfcn.h err.h errno.h fcntl.h \
fenv.h fnmatch.h fts.h ftw.h getopt.h grp.h inttypes.h libgen.h limits.h \
locale.h math.h memory.h netdb.h paths.h poll.h \
pthread.h pwd.h regex.h resolv.h sched.h search.h semaphore.h setjmp.h signal.h \
stdatomic.h stdbool.h stdint.h stdio.h stdlib.h string.h strings.h syslog.h termios.h \
time.h ucontext.h unistd.h utime.h utmp.h wchar.h wctype.h xlocale.h \
net/ethernet.h net/if.h net/if_arp.h net/route.h \
netinet/icmp6.h netinet/if_ether.h netinet/in.h netinet/in_systm.h \
netinet/ip.h netinet/ip6.h netinet/ip_icmp.h netinet/tcp.h netinet/udp.h \
sys/ioctl.h sys/ipc.h sys/mman.h sys/poll.h sys/ptrace.h \
sys/queue.h sys/select.h sys/shm.h sys/stat.h \
sys/time.h sys/times.h sys/utsname.h sys/wait.h
linkerOpts = -ldl
---
// cinterop -target android_arm32 -def klib/src/platform/android/posix.def -o platform.posix.klib
// Wrapper to access errno variable.
static int posix_errno() {
return errno;
}
static void set_posix_errno(int value) {
errno = value;
}
// Wrapper to access h_errno variable.
static int posix_h_errno() {
return h_errno;
}
static void set_posix_h_errno(int value) {
h_errno = value;
}
static int init_sockets() {
return 0;
}
static void deinit_sockets() {
}
@@ -0,0 +1,6 @@
depends = posix
package = platform.sles
headers = SLES//OpenSLES.h SLES/OpenSLES_Android.h SLES/OpenSLES_AndroidConfiguration.h \
SLES/OpenSLES_AndroidMetadata.h SLES/OpenSLES_Platform.h
headerFilter = SLES/**
linkerOpts = -lOpenSLES
@@ -0,0 +1,34 @@
depends = posix
package = platform.zlib
headers = zconf.h zlib.h
headerFilter = zlib.h
compilerOpts = -DByte=uByte -DBytef=uBytef
linkerOpts = -lz
---
#undef deflateInit
static inline int deflateInit(z_streamp strm, int level) {
return deflateInit_(strm, level, ZLIB_VERSION, (int)sizeof(z_stream));
}
#undef deflateInit2
static inline int deflateInit2(z_streamp strm, int level, int method,
int windowBits, int memLevel, int strategy) {
return deflateInit2_(strm, level, method, windowBits, memLevel,
strategy, ZLIB_VERSION, (int)sizeof(z_stream));
}
#undef inflateInit
static inline int inflateInit(z_streamp strm) {
return inflateInit_(strm, ZLIB_VERSION, (int)sizeof(z_stream));
}
#undef inflateInit2
static inline int inflateInit2(z_streamp strm, int windowBits) {
return inflateInit2_(strm, windowBits, ZLIB_VERSION, (int)sizeof(z_stream));
}
#undef inflateBackInit
static inline int inflateBackInit(z_streamp strm, int windowBits, unsigned char *window) {
return inflateBackInit_(strm, windowBits, window, ZLIB_VERSION, (int)sizeof(z_stream));
}
@@ -0,0 +1,7 @@
depends = AVFoundation AudioToolbox CFNetwork CoreAudio CoreAudioTypes CoreFoundation CoreGraphics CoreImage CoreLocation CoreMIDI CoreML CoreMedia CoreText CoreVideo EAGL FileProvider Foundation GLKit IOSurface ImageIO MediaToolbox Metal OpenGLESCommon QuartzCore QuickLook SceneKit Security SpriteKit UIKit UniformTypeIdentifiers UserNotifications Vision darwin posix
language = Objective-C
package = platform.ARKit
modules = ARKit
compilerOpts = -framework ARKit
linkerOpts = -framework ARKit
@@ -0,0 +1,9 @@
depends = AudioToolbox CFNetwork CoreAudio CoreAudioTypes CoreFoundation CoreGraphics CoreMIDI CoreMedia CoreVideo EAGL Foundation IOSurface ImageIO MediaToolbox Metal OpenGLESCommon QuartzCore Security UniformTypeIdentifiers darwin posix
language = Objective-C
package = platform.AVFoundation
headers = AVFoundation/AVFoundation.h AVFoundation/AVFAudio.h AVFoundation/AVAudioBuffer.h
headerFilter = AVFoundation/** AVFAudio/**
compilerOpts = -framework AVFoundation
linkerOpts = -framework AVFoundation
@@ -0,0 +1,7 @@
depends = AVFoundation AudioToolbox CFNetwork CoreAudio CoreAudioTypes CoreFoundation CoreGraphics CoreImage CoreMIDI CoreMedia CoreText CoreVideo EAGL FileProvider Foundation IOSurface ImageIO MediaToolbox Metal OpenGLESCommon QuartzCore Security UIKit UniformTypeIdentifiers UserNotifications darwin posix
language = Objective-C
package = platform.AVKit
modules = AVKit
compilerOpts = -framework AVKit
linkerOpts = -framework AVKit
@@ -0,0 +1,7 @@
depends = CoreFoundation CoreGraphics CoreVideo IOSurface darwin posix
language = Objective-C
package = platform.Accelerate
modules = Accelerate
compilerOpts = -framework Accelerate
linkerOpts = -framework Accelerate
@@ -0,0 +1,6 @@
depends = CFNetwork CoreFoundation CoreGraphics Foundation Security darwin posix
language = Objective-C
package = platform.Accessibility
modules = Accessibility
compilerOpts = -framework Accessibility
linkerOpts = -framework Accessibility
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation Foundation Security darwin posix
language = Objective-C
package = platform.Accounts
modules = Accounts
compilerOpts = -framework Accounts
linkerOpts = -framework Accounts
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation Foundation Security darwin posix
language = Objective-C
package = platform.AdSupport
modules = AdSupport
compilerOpts = -framework AdSupport
linkerOpts = -framework AdSupport
@@ -0,0 +1,7 @@
depends = CoreFoundation darwin posix
language = Objective-C
package = platform.AddressBook
modules = AddressBook
compilerOpts = -framework AddressBook
linkerOpts = -framework AddressBook
@@ -0,0 +1,7 @@
depends = AddressBook CFNetwork CoreFoundation CoreGraphics CoreImage CoreText CoreVideo EAGL FileProvider Foundation IOSurface ImageIO Metal OpenGLESCommon QuartzCore Security UIKit UserNotifications darwin posix
language = Objective-C
package = platform.AddressBookUI
modules = AddressBookUI
compilerOpts = -framework AddressBookUI
linkerOpts = -framework AddressBookUI
@@ -0,0 +1,6 @@
depends = CFNetwork CoreFoundation Foundation Security darwin posix
language = Objective-C
package = platform.AppClip
modules = AppClip
compilerOpts = -framework AppClip
linkerOpts = -framework AppClip
@@ -0,0 +1,6 @@
depends = CFNetwork CoreFoundation Foundation Security darwin posix
language = Objective-C
package = platform.AppTrackingTransparency
modules = AppTrackingTransparency
compilerOpts = -framework AppTrackingTransparency
linkerOpts = -framework AppTrackingTransparency
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation CoreGraphics Foundation Security darwin posix
language = Objective-C
package = platform.AssetsLibrary
modules = AssetsLibrary
compilerOpts = -framework AssetsLibrary
linkerOpts = -framework AssetsLibrary
@@ -0,0 +1,7 @@
depends = CFNetwork CoreAudioTypes CoreFoundation CoreMIDI Foundation Security darwin posix
language = Objective-C
package = platform.AudioToolbox
modules = AudioToolbox AudioUnit
compilerOpts = -framework AudioToolbox
linkerOpts = -framework AudioToolbox
@@ -0,0 +1,6 @@
language = Objective-C
package = platform.AudioUnit
modules = AudioUnit
compilerOpts = -framework AudioUnit
linkerOpts = -framework AudioUnit
#Disabled: part of AudioToolbox
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation CoreGraphics CoreImage CoreText CoreVideo EAGL FileProvider Foundation IOSurface ImageIO Metal OpenGLESCommon QuartzCore Security UIKit UserNotifications darwin posix
language = Objective-C
package = platform.AuthenticationServices
modules = AuthenticationServices
compilerOpts = -framework AuthenticationServices
linkerOpts = -framework AuthenticationServices
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation Foundation Security darwin posix
language = Objective-C
package = platform.AutomaticAssessmentConfiguration
modules = AutomaticAssessmentConfiguration
compilerOpts = -framework AutomaticAssessmentConfiguration
linkerOpts = -framework AutomaticAssessmentConfiguration
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation Foundation Security darwin posix
language = Objective-C
package = platform.BackgroundTasks
modules = BackgroundTasks
compilerOpts = -framework BackgroundTasks
linkerOpts = -framework BackgroundTasks
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation CoreGraphics CoreImage CoreText CoreVideo EAGL FileProvider Foundation IOSurface ImageIO Metal OpenGLESCommon QuartzCore Security UIKit UserNotifications darwin posix
language = Objective-C
package = platform.BusinessChat
modules = BusinessChat
compilerOpts = -framework BusinessChat
linkerOpts = -framework BusinessChat
@@ -0,0 +1,11 @@
depends = CoreFoundation darwin posix
language = Objective-C
package = platform.CFNetwork
modules = CFNetwork
compilerOpts = -framework CFNetwork
linkerOpts = -framework CFNetwork
excludedFunctions = kCFHTTPAuthenticationSchemeKerberos \
kCFNetworkProxiesProxyAutoConfigJavaScript \
kCFProxyAutoConfigurationHTTPResponseKey
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation Foundation Security darwin posix
language = Objective-C
package = platform.CallKit
modules = CallKit
compilerOpts = -framework CallKit
linkerOpts = -framework CallKit
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation CoreGraphics CoreImage CoreLocation CoreText CoreVideo EAGL FileProvider Foundation IOSurface ImageIO MapKit Metal OpenGLESCommon QuartzCore Security UIKit UserNotifications darwin posix
language = Objective-C
package = platform.CarPlay
modules = CarPlay
compilerOpts = -framework CarPlay
linkerOpts = -framework CarPlay
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation CoreGraphics Foundation Security darwin posix
language = Objective-C
package = platform.ClassKit
modules = ClassKit
compilerOpts = -framework ClassKit
linkerOpts = -framework ClassKit
@@ -0,0 +1,6 @@
depends = CFNetwork CoreFoundation CoreGraphics CoreImage CoreText CoreVideo EAGL FileProvider Foundation IOSurface ImageIO Metal OpenGLESCommon QuartzCore Security UIKit UserNotifications darwin posix
language = Objective-C
package = platform.ClockKit
modules = ClockKit
compilerOpts = -framework ClockKit
linkerOpts = -framework ClockKit
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation CoreLocation Foundation Security darwin posix
language = Objective-C
package = platform.CloudKit
modules = CloudKit
compilerOpts = -framework CloudKit
linkerOpts = -framework CloudKit
@@ -0,0 +1,6 @@
language = Objective-C
package = platform.Combine
modules = Combine
compilerOpts = -framework Combine
linkerOpts = -framework Combine
#Disabled: Swift-only framework
@@ -0,0 +1,6 @@
depends = darwin posix
language = Objective-C
package = platform.CoreCrypto
modules = CommonCrypto
compilerOpts = -D_XOPEN_SOURCE
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation Foundation Security darwin posix
language = Objective-C
package = platform.Contacts
modules = Contacts
compilerOpts = -framework Contacts
linkerOpts = -framework Contacts
@@ -0,0 +1,7 @@
depends = CFNetwork Contacts CoreFoundation CoreGraphics CoreImage CoreText CoreVideo EAGL FileProvider Foundation IOSurface ImageIO Metal OpenGLESCommon QuartzCore Security UIKit UserNotifications darwin posix
language = Objective-C
package = platform.ContactsUI
modules = ContactsUI
compilerOpts = -framework ContactsUI
linkerOpts = -framework ContactsUI
@@ -0,0 +1,7 @@
depends = CoreAudioTypes CoreFoundation darwin posix
language = Objective-C
package = platform.CoreAudio
modules = CoreAudio
compilerOpts = -framework CoreAudio
linkerOpts = -framework CoreAudio
@@ -0,0 +1,7 @@
depends = AudioToolbox CFNetwork CoreAudioTypes CoreFoundation CoreGraphics CoreImage CoreText CoreVideo EAGL FileProvider Foundation IOSurface ImageIO Metal OpenGLESCommon QuartzCore Security UIKit UserNotifications darwin posix
language = Objective-C
package = platform.CoreAudioKit
modules = CoreAudioKit
compilerOpts = -framework CoreAudioKit
linkerOpts = -framework CoreAudioKit
@@ -0,0 +1,6 @@
depends = CoreFoundation darwin posix
language = Objective-C
package = platform.CoreAudioTypes
modules = CoreAudioTypes
compilerOpts = -framework CoreAudioTypes
@@ -0,0 +1,9 @@
depends = CFNetwork CoreFoundation Foundation Security darwin posix
language = Objective-C
package = platform.CoreBluetooth
modules = CoreBluetooth
compilerOpts = -framework CoreBluetooth
linkerOpts = -framework CoreBluetooth
excludedFunctions = CBConnectPeripheralOptionStartDelayKey
@@ -0,0 +1,7 @@
depends = CFNetwork CloudKit CoreFoundation CoreLocation Foundation Security darwin posix
language = Objective-C
package = platform.CoreData
modules = CoreData
compilerOpts = -framework CoreData
linkerOpts = -framework CoreData
@@ -0,0 +1,7 @@
depends = darwin posix
language = Objective-C
package = platform.CoreFoundation
modules = CoreFoundation
compilerOpts = -framework CoreFoundation
linkerOpts = -framework CoreFoundation
@@ -0,0 +1,7 @@
depends = CoreFoundation darwin posix
language = Objective-C
package = platform.CoreGraphics
modules = CoreGraphics
compilerOpts = -framework CoreGraphics
linkerOpts = -framework CoreGraphics
@@ -0,0 +1,7 @@
depends = CoreFoundation Foundation darwin posix
language = Objective-C
package = platform.CoreHaptics
modules = CoreHaptics
compilerOpts = -framework CoreHaptics
linkerOpts = -framework CoreHaptics
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation CoreGraphics CoreVideo EAGL Foundation IOSurface ImageIO Metal OpenGLESCommon Security darwin posix
language = Objective-C
package = platform.CoreImage
modules = CoreImage
compilerOpts = -framework CoreImage
linkerOpts = -framework CoreImage
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation Foundation Security darwin posix
language = Objective-C
package = platform.CoreLocation
modules = CoreLocation
compilerOpts = -framework CoreLocation
linkerOpts = -framework CoreLocation
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation Foundation Security darwin posix
language = Objective-C
package = platform.CoreMIDI
modules = CoreMIDI
compilerOpts = -framework CoreMIDI
linkerOpts = -framework CoreMIDI
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation CoreGraphics CoreVideo Foundation IOSurface ImageIO Security darwin posix
language = Objective-C
package = platform.CoreML
modules = CoreML
compilerOpts = -framework CoreML
linkerOpts = -framework CoreML
@@ -0,0 +1,7 @@
depends = CFNetwork CoreAudio CoreAudioTypes CoreFoundation CoreGraphics CoreVideo Foundation IOSurface Metal OpenGLESCommon Security darwin posix
language = Objective-C
package = platform.CoreMedia
modules = CoreMedia
compilerOpts = -framework CoreMedia
linkerOpts = -framework CoreMedia
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation Foundation Security darwin posix
language = Objective-C
package = platform.CoreMotion
modules = CoreMotion
compilerOpts = -framework CoreMotion
linkerOpts = -framework CoreMotion
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation Foundation Security darwin posix
language = Objective-C
package = platform.CoreNFC
modules = CoreNFC
compilerOpts = -framework CoreNFC
linkerOpts = -framework CoreNFC
@@ -0,0 +1,7 @@
depends = CoreFoundation darwin posix
language = Objective-C
package = platform.CoreServices
modules = CoreServices
compilerOpts = -framework CoreServices
linkerOpts = -framework CoreServices
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation Foundation Security UniformTypeIdentifiers darwin posix
language = Objective-C
package = platform.CoreSpotlight
modules = CoreSpotlight
compilerOpts = -framework CoreSpotlight
linkerOpts = -framework CoreSpotlight
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation Foundation Security darwin posix
language = Objective-C
package = platform.CoreTelephony
modules = CoreTelephony
compilerOpts = -framework CoreTelephony
linkerOpts = -framework CoreTelephony
@@ -0,0 +1,7 @@
depends = CoreFoundation CoreGraphics darwin posix
language = Objective-C
package = platform.CoreText
modules = CoreText
compilerOpts = -framework CoreText
linkerOpts = -framework CoreText
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation CoreGraphics Foundation IOSurface Metal OpenGLESCommon Security darwin posix
language = Objective-C
package = platform.CoreVideo
modules = CoreVideo
compilerOpts = -framework CoreVideo
linkerOpts = -framework CoreVideo
@@ -0,0 +1,6 @@
language = Objective-C
package = platform.CryptoKit
modules = CryptoKit
compilerOpts = -framework CryptoKit
linkerOpts = -framework CryptoKit
#Disabled: Swift-only framework
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation Foundation Security darwin posix
language = Objective-C
package = platform.CryptoTokenKit
modules = CryptoTokenKit
compilerOpts = -framework CryptoTokenKit
linkerOpts = -framework CryptoTokenKit
@@ -0,0 +1,6 @@
language = Objective-C
package = platform.DeveloperToolsSupport
modules = DeveloperToolsSupport
compilerOpts = -framework DeveloperToolsSupport
linkerOpts = -framework DeveloperToolsSupport
#Disabled: Swift-only framework
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation Foundation Security darwin posix
language = Objective-C
package = platform.DeviceCheck
modules = DeviceCheck
compilerOpts = -framework DeviceCheck
linkerOpts = -framework DeviceCheck
@@ -0,0 +1,9 @@
depends = CFNetwork CoreFoundation Foundation Security darwin posix
language = Objective-C
package = platform.EAGL
headers = OpenGLES/EAGL.h OpenGLES/EAGLDrawable.h
headerFilter = OpenGLES/**
compilerOpts = -framework OpenGLES
linkerOpts = -framework OpenGLES
@@ -0,0 +1,7 @@
depends = AddressBook CFNetwork CoreFoundation CoreGraphics CoreLocation Foundation Security darwin posix
language = Objective-C
package = platform.EventKit
modules = EventKit
compilerOpts = -framework EventKit
linkerOpts = -framework EventKit
@@ -0,0 +1,7 @@
depends = AddressBook CFNetwork CoreFoundation CoreGraphics CoreImage CoreLocation CoreText CoreVideo EAGL EventKit FileProvider Foundation IOSurface ImageIO Metal OpenGLESCommon QuartzCore Security UIKit UserNotifications darwin posix
language = Objective-C
package = platform.EventKitUI
modules = EventKitUI
compilerOpts = -framework EventKitUI
linkerOpts = -framework EventKitUI
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation Foundation Security darwin posix
language = Objective-C
package = platform.ExposureNotification
modules = ExposureNotification
compilerOpts = -framework ExposureNotification
linkerOpts = -framework ExposureNotification
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation Foundation Security darwin posix
language = Objective-C
package = platform.ExternalAccessory
modules = ExternalAccessory
compilerOpts = -framework ExternalAccessory
linkerOpts = -framework ExternalAccessory
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation CoreGraphics Foundation Security darwin posix
language = Objective-C
package = platform.FileProvider
modules = FileProvider
compilerOpts = -framework FileProvider
linkerOpts = -framework FileProvider
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation CoreGraphics CoreImage CoreText CoreVideo EAGL FileProvider Foundation IOSurface ImageIO Metal OpenGLESCommon QuartzCore Security UIKit UserNotifications darwin posix
language = Objective-C
package = platform.FileProviderUI
modules = FileProviderUI
compilerOpts = -framework FileProviderUI
linkerOpts = -framework FileProviderUI
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation Security darwin posix
language = Objective-C
package = platform.Foundation
modules = Foundation
compilerOpts = -framework Foundation
linkerOpts = -framework Foundation
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation CoreGraphics CoreImage CoreText CoreVideo EAGL FileProvider Foundation IOSurface ImageIO Metal ModelIO OpenGLES2 OpenGLESCommon QuartzCore Security UIKit UserNotifications darwin posix
language = Objective-C
package = platform.GLKit
modules = GLKit
compilerOpts = -framework GLKit
linkerOpts = -framework GLKit
@@ -0,0 +1,7 @@
depends = CoreFoundation darwin posix
language = Objective-C
package = platform.GSS
modules = GSS
compilerOpts = -framework GSS
linkerOpts = -framework GSS
@@ -0,0 +1,9 @@
depends = CFNetwork CoreFoundation CoreGraphics CoreImage CoreText CoreVideo EAGL Foundation IOSurface ImageIO Metal OpenGLESCommon QuartzCore Security UIKit darwin posix
language = Objective-C
package = platform.GameController
modules = GameController
compilerOpts = -framework GameController
linkerOpts = -framework GameController
excludedFunctions = GCCurrentExtendedGamepadSnapshotDataVersion GCCurrentMicroGamepadSnapshotDataVersion
@@ -0,0 +1,7 @@
depends = AVFoundation AudioToolbox CFNetwork Contacts CoreAudio CoreAudioTypes CoreFoundation CoreGraphics CoreImage CoreMIDI CoreMedia CoreText CoreVideo EAGL FileProvider Foundation GLKit GameController GameplayKit IOSurface ImageIO MediaToolbox Metal MetalKit ModelIO OpenGLESCommon QuartzCore ReplayKit SceneKit Security SpriteKit UIKit UniformTypeIdentifiers UserNotifications darwin posix
language = Objective-C
package = platform.GameKit
modules = GameKit
compilerOpts = -framework GameKit
linkerOpts = -framework GameKit
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation CoreGraphics CoreImage CoreText CoreVideo EAGL FileProvider Foundation GLKit IOSurface ImageIO Metal OpenGLESCommon QuartzCore SceneKit Security SpriteKit UIKit UserNotifications darwin posix
language = Objective-C
package = platform.GameplayKit
modules = GameplayKit
compilerOpts = -framework GameplayKit
linkerOpts = -framework GameplayKit
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation Foundation Security darwin posix
language = Objective-C
package = platform.HealthKit
modules = HealthKit
compilerOpts = -framework HealthKit
linkerOpts = -framework HealthKit
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation CoreGraphics CoreImage CoreText CoreVideo EAGL FileProvider Foundation HealthKit IOSurface ImageIO Metal OpenGLESCommon QuartzCore Security UIKit UserNotifications darwin posix
language = Objective-C
package = platform.HealthKitUI
modules = HealthKitUI
compilerOpts = -framework HealthKitUI
linkerOpts = -framework HealthKitUI
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation CoreGraphics CoreImage CoreText CoreVideo EAGL FileProvider Foundation IOSurface ImageIO Metal OpenGLESCommon QuartzCore Security UIKit UserNotifications darwin posix
language = Objective-C
package = platform.HomeKit
modules = HomeKit
compilerOpts = -framework HomeKit
linkerOpts = -framework HomeKit
@@ -0,0 +1,6 @@
language = Objective-C
package = platform.IOKit
modules = IOKit
compilerOpts = -framework IOKit
linkerOpts = -framework IOKit
#Disabled: Not officially available for ios
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation Foundation Security darwin posix
language = Objective-C
package = platform.IOSurface
modules = IOSurface
compilerOpts = -framework IOSurface
linkerOpts = -framework IOSurface
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation Foundation Security darwin posix
language = Objective-C
package = platform.IdentityLookup
modules = IdentityLookup
compilerOpts = -framework IdentityLookup
linkerOpts = -framework IdentityLookup
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation CoreGraphics CoreImage CoreText CoreVideo EAGL FileProvider Foundation IOSurface IdentityLookup ImageIO Metal OpenGLESCommon QuartzCore Security UIKit UserNotifications darwin posix
language = Objective-C
package = platform.IdentityLookupUI
modules = IdentityLookupUI
compilerOpts = -framework IdentityLookupUI
linkerOpts = -framework IdentityLookupUI
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation CoreGraphics Foundation Security darwin posix
language = Objective-C
package = platform.ImageCaptureCore
modules = ImageCaptureCore
compilerOpts = -framework ImageCaptureCore
linkerOpts = -framework ImageCaptureCore
@@ -0,0 +1,7 @@
depends = CoreFoundation CoreGraphics darwin posix
language = Objective-C
package = platform.ImageIO
modules = ImageIO
compilerOpts = -framework ImageIO
linkerOpts = -framework ImageIO
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation CoreGraphics CoreLocation Foundation Security darwin posix
language = Objective-C
package = platform.Intents
modules = Intents
compilerOpts = -framework Intents
linkerOpts = -framework Intents
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation CoreGraphics CoreImage CoreText CoreVideo EAGL FileProvider Foundation IOSurface ImageIO Intents Metal OpenGLESCommon QuartzCore Security UIKit UserNotifications darwin posix
language = Objective-C
package = platform.IntentsUI
modules = IntentsUI
compilerOpts = -framework IntentsUI
linkerOpts = -framework IntentsUI
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation CoreGraphics Foundation Security darwin posix
language = Objective-C
package = platform.JavaScriptCore
modules = JavaScriptCore
compilerOpts = -framework JavaScriptCore
linkerOpts = -framework JavaScriptCore
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation CoreGraphics CoreImage CoreText CoreVideo EAGL FileProvider Foundation IOSurface ImageIO Metal OpenGLESCommon QuartzCore Security UIKit UserNotifications darwin posix
language = Objective-C
package = platform.LinkPresentation
modules = LinkPresentation
compilerOpts = -framework LinkPresentation
linkerOpts = -framework LinkPresentation
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation Foundation Security darwin posix
language = Objective-C
package = platform.LocalAuthentication
modules = LocalAuthentication
compilerOpts = -framework LocalAuthentication
linkerOpts = -framework LocalAuthentication
@@ -0,0 +1,11 @@
depends = CFNetwork CoreFoundation Foundation IOSurface Metal Security darwin posix
language = Objective-C
package = platform.MLCompute
modules.ios_arm32 = MLCompute
compilerOpts.ios_arm32 = -framework MLCompute
linkerOpts.ios_arm32 = -framework MLCompute
modules.ios_arm64 = MLCompute
compilerOpts.ios_arm64 = -framework MLCompute
linkerOpts.ios_arm64 = -framework MLCompute
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation CoreGraphics CoreImage CoreLocation CoreText CoreVideo EAGL FileProvider Foundation IOSurface ImageIO Metal OpenGLESCommon QuartzCore Security UIKit UserNotifications darwin posix
language = Objective-C
package = platform.MapKit
modules = MapKit
compilerOpts = -framework MapKit
linkerOpts = -framework MapKit
@@ -0,0 +1,7 @@
depends = CFNetwork CoreFoundation CoreGraphics CoreText EAGL Foundation Metal QuartzCore Security darwin posix
language = Objective-C
package = platform.MediaAccessibility
modules = MediaAccessibility
compilerOpts = -framework MediaAccessibility
linkerOpts = -framework MediaAccessibility
@@ -0,0 +1,9 @@
depends = AVFoundation CFNetwork CoreFoundation CoreGraphics CoreImage CoreMedia CoreText CoreVideo EAGL FileProvider Foundation IOSurface ImageIO Metal OpenGLESCommon QuartzCore Security UIKit UserNotifications darwin posix
language = Objective-C
package = platform.MediaPlayer
headers = MediaPlayer/MediaPlayer.h
headerFilter = MediaPlayer/**
compilerOpts = -framework MediaPlayer
linkerOpts = -framework MediaPlayer
@@ -0,0 +1,11 @@
depends = CFNetwork CoreFoundation CoreGraphics CoreImage CoreText CoreVideo EAGL FileProvider Foundation IOSurface ImageIO Metal OpenGLESCommon QuartzCore Security UIKit UserNotifications darwin posix
language = Objective-C
package = platform.MediaSetup
modules.ios_arm32 = MediaSetup
compilerOpts.ios_arm32 = -framework MediaSetup
linkerOpts.ios_arm32 = -framework MediaSetup
modules.ios_arm64 = MediaSetup
compilerOpts.ios_arm64 = -framework MediaSetup
linkerOpts.ios_arm64 = -framework MediaSetup
@@ -0,0 +1,7 @@
depends = AudioToolbox CFNetwork CoreAudio CoreAudioTypes CoreFoundation CoreGraphics CoreMIDI CoreMedia CoreVideo Foundation IOSurface Metal OpenGLESCommon Security darwin posix
language = Objective-C
package = platform.MediaToolbox
modules = MediaToolbox
compilerOpts = -framework MediaToolbox
linkerOpts = -framework MediaToolbox

Some files were not shown because too many files have changed in this diff Show More