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