Build fix for non-USE_SIM_SERVICE_CONTEXT builds
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 Aug 2016 22:24:46 +0000 (22:24 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 Aug 2016 22:24:46 +0000 (22:24 +0000)
* LayoutTestRelay/LayoutTestRelay/main.m: (main):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@204660 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/LayoutTestRelay/LayoutTestRelay/main.m

index 8663412..179582f 100644 (file)
@@ -1,3 +1,8 @@
+2016-08-19  Alexey Proskuryakov  <ap@apple.com>
+
+        Build fix for non-USE_SIM_SERVICE_CONTEXT builds
+        * LayoutTestRelay/LayoutTestRelay/main.m: (main):
+
 2016-08-18  Simon Fraser  <simon.fraser@apple.com>
 
         REGRESSION (r204477): Running LayoutTests on ios-simulator became ~15 minutes slower
index 1ff7091..d0e9181 100644 (file)
@@ -91,7 +91,9 @@ int main(int argc, const char * argv[])
             }
         }
 
+#if USE_SIM_SERVICE_CONTEXT
         NSString *developerDirectory = getRequiredStringArgument(@"developerDir");
+#endif
         NSUUID *udid = [[NSUUID alloc] initWithUUIDString:getRequiredStringArgument(@"udid")];
         NSString *appPath = getRequiredStringArgument(@"app");
         NSString *productDirectory = getRequiredStringArgument(@"productDir");