[test][NFC] Add more keys to test SDKSettings files (#177749)
Additional visionOS changes.
This commit is contained in:
parent
0387625c3e
commit
000313d045
@ -1,21 +0,0 @@
|
||||
{
|
||||
"DefaultVariant": "xrOS", "DisplayName": "xrOS",
|
||||
"Version": "1.0",
|
||||
"CanonicalName": "xros1.0",
|
||||
"MaximumDeploymentTarget": "1.0.99",
|
||||
"SupportedTargets": {
|
||||
"xros": {
|
||||
"Archs": ["arm64e", "arm64"],
|
||||
"LLVMTargetTripleVendor": "apple",
|
||||
"LLVMTargetTripleSys": "xros",
|
||||
"LLVMTargetTripleEnvironment": "",
|
||||
"SystemPrefix": ""
|
||||
}
|
||||
},
|
||||
"VersionMap": {
|
||||
"iOS_visionOS": {"17.1": "1.0"},
|
||||
"iOS_xrOS": {"17.1": "1.0"},
|
||||
"visionOS_iOS": {"1.0": "17.1"},
|
||||
"xrOS_iOS": {"1.0": "17.1"}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,29 @@
|
||||
{
|
||||
"CanonicalName": "xros1.0",
|
||||
"Version": "1.0",
|
||||
"IsBaseSDK": "YES",
|
||||
"DisplayName": "visionOS 1.0",
|
||||
"MinimalDisplayName": "1.0",
|
||||
"SupportedTargets": {
|
||||
"xros": {
|
||||
"PlatformFamilyName": "xrOS",
|
||||
"PlatformFamilyDisplayName": "visionOS",
|
||||
"Archs": ["arm64e", "arm64"], "LLVMTargetTripleVendor": "apple", "LLVMTargetTripleSys": "xros", "LLVMTargetTripleEnvironment": "",
|
||||
"BuildVersionPlatformID": "11",
|
||||
"ClangRuntimeLibraryPlatformName": "xros",
|
||||
"SystemPrefix": "",
|
||||
"DefaultDeploymentTarget": "1.0",
|
||||
"RecommendedDeploymentTarget": "1.0",
|
||||
"MinimumDeploymentTarget": "1.0", "MaximumDeploymentTarget": "1.0.99",
|
||||
"ValidDeploymentTargets": ["1.0"]
|
||||
}
|
||||
},
|
||||
"VersionMap": {
|
||||
"visionOS_iOS": {"1.0": "17.1"},
|
||||
"iOS_visionOS": {"17.1": "1.0"},
|
||||
"xrOS_iOS": {"1.0": "17.1"},
|
||||
"iOS_xrOS": {"17.1": "1.0"}
|
||||
},
|
||||
"DefaultDeploymentTarget": "1.0",
|
||||
"MaximumDeploymentTarget": "1.0.99"
|
||||
}
|
||||
@ -1,7 +1,7 @@
|
||||
// RUN: %clang_cc1 -triple arm64-apple-xros1 -verify=ios -isysroot %S/Inputs/XROS.sdk %s 2>&1
|
||||
// RUN: %clang_cc1 -triple arm64-apple-xros1 -fapplication-extension -verify=ios,ext -isysroot %S/Inputs/XROS.sdk %s 2>&1
|
||||
// RUN: %clang_cc1 -triple arm64-apple-xros1 -verify=ios -isysroot %S/Inputs/XROS1.0.sdk %s 2>&1
|
||||
// RUN: %clang_cc1 -triple arm64-apple-xros1 -fapplication-extension -verify=ios,ext -isysroot %S/Inputs/XROS1.0.sdk %s 2>&1
|
||||
|
||||
// RUN: %clang_cc1 -triple arm64-apple-xros2 -DXROS2 -verify=ios -isysroot %S/Inputs/XROS.sdk %s 2>&1
|
||||
// RUN: %clang_cc1 -triple arm64-apple-xros2 -DXROS2 -verify=ios -isysroot %S/Inputs/XROS1.0.sdk %s 2>&1
|
||||
|
||||
__attribute__((availability(ios, unavailable)))
|
||||
void ios_unavail(); // ios-note {{}}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
// RUN: %clang_cc1 -triple arm64-apple-xros1 -verify=ios -DNOSDK %s 2>&1
|
||||
// RUN: %clang_cc1 -triple arm64-apple-xros1 -verify=ios -isysroot %S/Inputs/XROS.sdk %s 2>&1
|
||||
// RUN: %clang_cc1 -triple arm64-apple-xros1 -verify=ios -isysroot %S/Inputs/XROS1.0.sdk %s 2>&1
|
||||
|
||||
#ifdef NOSDK
|
||||
// ios-warning@+2 {{ios availability is ignored without a valid 'SDKSettings.json' in the SDK}}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user