]>
Commit | Line | Data |
---|---|---|
866f8763 A |
1 | |
2 | #include "xcconfig/PlatformLibraries.xcconfig" | |
3 | ||
4 | PLATFORM_STR = "unknown" | |
ecaf5866 | 5 | PLATFORM_STR[sdk=macosx*] = "macOS" |
866f8763 A |
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 |