Changeset 163099 in webkit


Ignore:
Timestamp:
Jan 30, 2014 12:29:12 PM (10 years ago)
Author:
mrowe@apple.com
Message:

Host plug-ins in XPC services
<https://webkit.org/b/127897> / <rdar://problem/13675955>

We disabled use of XPC services for plug-ins back in r143829 as the per-architecture services
were not being built for the appropriate architectures. Fixing that allows us to reenable them.

Reviewed by Anders Carlsson.

  • Configurations/PluginService.32.xcconfig: Use VALID_ARCHS to restrict the service

to building for i386-only in production builds. Non-production builds allow building
for all standard architectures to ensure that Xcode will be able to build this target.
The exact architecture used isn't a concern for non-production builds since we'll use
the development version of the service anyway.

  • UIProcess/Plugins/mac/PluginProcessProxyMac.mm:

(WebKit::shouldUseXPC): Remove the workaround that disables use of the XPC services.

Location:
trunk/Source/WebKit2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r163098 r163099  
     12014-01-30  Mark Rowe  <mrowe@apple.com>
     2
     3        Host plug-ins in XPC services
     4        <https://webkit.org/b/127897> / <rdar://problem/13675955>
     5
     6        We disabled use of XPC services for plug-ins back in r143829 as the per-architecture services
     7        were not being built for the appropriate architectures. Fixing that allows us to reenable them.
     8
     9        Reviewed by Anders Carlsson.
     10
     11        * Configurations/PluginService.32.xcconfig: Use VALID_ARCHS to restrict the service
     12        to building for i386-only in production builds. Non-production builds allow building
     13        for all standard architectures to ensure that Xcode will be able to build this target.
     14        The exact architecture used isn't a concern for non-production builds since we'll use
     15        the development version of the service anyway.
     16        * UIProcess/Plugins/mac/PluginProcessProxyMac.mm:
     17        (WebKit::shouldUseXPC): Remove the workaround that disables use of the XPC services.
     18
    1192014-01-30  Anders Carlsson  <andersca@apple.com>
    220
  • trunk/Source/WebKit2/Configurations/PluginService.32.xcconfig

    r162658 r163099  
    2424#include "BaseXPCService.xcconfig"
    2525
    26 ARCHS = $(ARCHS_$(PLATFORM_NAME));
    27 ARCHS_macosx = i386;
    28 ARCHS_iphoneos = $(ARCHS_STANDARD_32_64_BIT);
    29 ARCHS_iphonesimulator = $(ARCHS_iphoneos);
     26VALID_ARCHS = $(VALID_ARCHS_$(PLATFORM_NAME));
     27VALID_ARCHS_macosx = $(VALID_ARCHS_macosx_$(CONFIGURATION));
     28VALID_ARCHS_macosx_Debug = $(ARCHS_STANDARD_32_64_BIT);
     29VALID_ARCHS_macosx_Release = $(VALID_ARCHS_macosx_Debug);
     30VALID_ARCHS_macosx_Production = i386;
     31VALID_ARCHS_iphoneos = $(VALID_ARCHS);
     32VALID_ARCHS_iphonesimulator = $(VALID_ARCHS_iphoneos);
    3033
    3134PRODUCT_NAME = com.apple.WebKit.Plugin.32;
  • trunk/Source/WebKit2/UIProcess/Plugins/mac/PluginProcessProxyMac.mm

    r163079 r163099  
    3434#import "PluginProcessMessages.h"
    3535#import "WebKitSystemInterface.h"
     36#import <QuartzCore/CARemoteLayerServer.h>
    3637#import <WebCore/FileSystem.h>
    3738#import <WebCore/URL.h>
    38 #import <WebCore/RuntimeApplicationChecks.h>
    3939#import <crt_externs.h>
    4040#import <mach-o/dyld.h>
    4141#import <spawn.h>
    4242#import <wtf/text/CString.h>
    43 
    44 #import <QuartzCore/CARemoteLayerServer.h>
    4543
    4644@interface WKPlaceholderModalWindow : NSWindow
     
    130128
    131129#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
    132     // FIXME: Temporary workaround for <rdar://problem/13236883>
    133     if (applicationIsSafari())
    134         return false;
    135 
    136130    return true;
    137131#else
Note: See TracChangeset for help on using the changeset viewer.