2 #include "xcconfig/PlatformLibraries.xcconfig"
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"
10 // Octagon is on for the mac and non-bridge non-horizon iphones
12 OCTAGON_ON[sdk=macosx*]=1
14 // HORIZON Will be either "unset" (horizon on) or "0" (horizon off)
15 HORIZON_INTERMEDIATE_ = 0
16 HORIZON = $(HORIZON_INTERMEDIATE_$(RC_HORIZON))
18 // If horizon is off, OCTAGON should be ON
19 OCTAGON_ON_IOS_HORIZON_0 = 1
20 OCTAGON_ON_IOS_HORIZON_ = 0
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