]> git.saurik.com Git - apple/security.git/blame - xcconfig/PlatformFeatures.xcconfig
Security-58286.51.6.tar.gz
[apple/security.git] / xcconfig / PlatformFeatures.xcconfig
CommitLineData
866f8763
A
1
2#include "xcconfig/PlatformLibraries.xcconfig"
3
4PLATFORM_STR = "unknown"
ecaf5866 5PLATFORM_STR[sdk=macosx*] = "macOS"
866f8763
A
6PLATFORM_STR[sdk=iphoneos*] = "iphone"
7PLATFORM_STR[sdk=watchos*] = "watch"
8PLATFORM_STR[sdk=appletvos*] = "tv"
9
10// Octagon is on for the mac and non-bridge non-horizon iphones
11OCTAGON_ON=0
12OCTAGON_ON[sdk=macosx*]=1
13
14// HORIZON Will be either "unset" (horizon on) or "0" (horizon off)
15HORIZON_INTERMEDIATE_ = 0
16HORIZON = $(HORIZON_INTERMEDIATE_$(RC_HORIZON))
17
18// If horizon is off, OCTAGON should be ON
19OCTAGON_ON_IOS_HORIZON_0 = 1
20OCTAGON_ON_IOS_HORIZON_ = 0
21
22OCTAGON_ON_IOS_BRIDGE_NO = $(OCTAGON_ON_IOS_HORIZON_$(HORIZON))
23OCTAGON_ON_IOS_BRIDGE_YES = 0
24OCTAGON_ON[sdk=iphone*] = $(OCTAGON_ON_IOS_BRIDGE_$(BRIDGE))
25OCTAGON_ON[sdk=watch*] = 0
26OCTAGON_ON[sdk=appletv*] = 0