Changeset 199600 in webkit
- Timestamp:
- Apr 15, 2016 11:33:29 AM (8 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r199573 r199600 1 2016-04-15 Alexey Proskuryakov <ap@apple.com> 2 3 Build fix. 4 5 * LayoutTestRelay/LayoutTestRelay/main.m: Allow some deprecated methods. 6 1 7 2016-04-14 Alexey Proskuryakov <ap@apple.com> 2 8 -
trunk/Tools/LayoutTestRelay/LayoutTestRelay/main.m
r193765 r199600 49 49 deviceName = [NSString stringWithFormat:@"%@%@%@", deviceName, @" WebKit Tester", suffix]; 50 50 51 #pragma clang diagnostic push 52 #pragma clang diagnostic ignored "-Wdeprecated-declarations" 51 53 for (SimDevice *device in [[SimDeviceSet defaultSet] devices]) { 52 54 if ([[device name] isEqualToString:deviceName] && [[device deviceType] isEqualTo:deviceType] && [[device runtime] isEqualTo:runtime]) … … 56 58 NSError *error; 57 59 SimDevice *device = [[SimDeviceSet defaultSet] createDeviceWithType:deviceType runtime:runtime name:deviceName error:&error]; 60 #pragma clang diagnostic pop 58 61 59 62 if (error) { … … 120 123 NSString *appPath = getRequiredStringArgument(@"app"); 121 124 NSString *runtimeIdentifier = getRequiredStringArgument(@"runtime"); 125 #pragma clang diagnostic push 126 #pragma clang diagnostic ignored "-Wdeprecated-declarations" 122 127 SimRuntime *runtime = [SimRuntime supportedRuntimesByIdentifier][runtimeIdentifier]; 128 #pragma clang diagnostic pop 123 129 if (!runtime) { 124 130 NSLog(@"There is no supported runtime \"%@\"", runtimeIdentifier); … … 127 133 128 134 NSString *deviceTypeIdentifier = getRequiredStringArgument(@"deviceType"); 135 #pragma clang diagnostic push 136 #pragma clang diagnostic ignored "-Wdeprecated-declarations" 129 137 SimDeviceType *deviceType = [SimDeviceType supportedDeviceTypesByIdentifier][deviceTypeIdentifier]; 138 #pragma clang diagnostic pop 130 139 if (!deviceType) { 131 140 NSLog(@"There is no supported device type \"%@\"", deviceTypeIdentifier);
Note: See TracChangeset
for help on using the changeset viewer.