Changeset 199600 in webkit


Ignore:
Timestamp:
Apr 15, 2016 11:33:29 AM (8 years ago)
Author:
ap@apple.com
Message:

Build fix.

  • LayoutTestRelay/LayoutTestRelay/main.m: Allow some deprecated methods.
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r199573 r199600  
     12016-04-15  Alexey Proskuryakov  <ap@apple.com>
     2
     3        Build fix.
     4
     5        * LayoutTestRelay/LayoutTestRelay/main.m: Allow some deprecated methods.
     6
    172016-04-14  Alexey Proskuryakov  <ap@apple.com>
    28
  • trunk/Tools/LayoutTestRelay/LayoutTestRelay/main.m

    r193765 r199600  
    4949    deviceName = [NSString stringWithFormat:@"%@%@%@", deviceName, @" WebKit Tester", suffix];
    5050
     51#pragma clang diagnostic push
     52#pragma clang diagnostic ignored "-Wdeprecated-declarations"
    5153    for (SimDevice *device in [[SimDeviceSet defaultSet] devices]) {
    5254        if ([[device name] isEqualToString:deviceName] && [[device deviceType] isEqualTo:deviceType] && [[device runtime] isEqualTo:runtime])
     
    5658    NSError *error;
    5759    SimDevice *device = [[SimDeviceSet defaultSet] createDeviceWithType:deviceType runtime:runtime name:deviceName error:&error];
     60#pragma clang diagnostic pop
    5861
    5962    if (error) {
     
    120123        NSString *appPath = getRequiredStringArgument(@"app");
    121124        NSString *runtimeIdentifier = getRequiredStringArgument(@"runtime");
     125#pragma clang diagnostic push
     126#pragma clang diagnostic ignored "-Wdeprecated-declarations"
    122127        SimRuntime *runtime = [SimRuntime supportedRuntimesByIdentifier][runtimeIdentifier];
     128#pragma clang diagnostic pop
    123129        if (!runtime) {
    124130            NSLog(@"There is no supported runtime \"%@\"", runtimeIdentifier);
     
    127133
    128134        NSString *deviceTypeIdentifier = getRequiredStringArgument(@"deviceType");
     135#pragma clang diagnostic push
     136#pragma clang diagnostic ignored "-Wdeprecated-declarations"
    129137        SimDeviceType *deviceType = [SimDeviceType supportedDeviceTypesByIdentifier][deviceTypeIdentifier];
     138#pragma clang diagnostic pop
    130139        if (!deviceType) {
    131140            NSLog(@"There is no supported device type \"%@\"", deviceTypeIdentifier);
Note: See TracChangeset for help on using the changeset viewer.