Adjust geolocation feature flag
[WebKit-https.git] / Tools / TestWebKitAPI / Configurations / FeatureDefines.xcconfig
index 436bb92..9364e82 100644 (file)
@@ -154,7 +154,11 @@ ENABLE_GAMEPAD_appletvos = ENABLE_GAMEPAD;
 ENABLE_GAMEPAD_appletvsimulator = ENABLE_GAMEPAD;
 ENABLE_GAMEPAD_macosx = ENABLE_GAMEPAD;
 
-ENABLE_GEOLOCATION = ENABLE_GEOLOCATION;
+ENABLE_GEOLOCATION = $(ENABLE_GEOLOCATION_$(WK_PLATFORM_NAME));
+ENABLE_GEOLOCATION_iphoneos = ENABLE_GEOLOCATION;
+ENABLE_GEOLOCATION_iphoneminimalsimulator = ENABLE_GEOLOCATION;
+ENABLE_GEOLOCATION_iphonesimulator = ENABLE_GEOLOCATION;
+ENABLE_GEOLOCATION_macosx = ENABLE_GEOLOCATION;
 
 ENABLE_ICONDATABASE = $(ENABLE_ICONDATABASE_$(WK_PLATFORM_NAME));
 ENABLE_ICONDATABASE_macosx = ENABLE_ICONDATABASE;