Changeset 155787 in webkit


Ignore:
Timestamp:
Sep 14, 2013 2:33:53 PM (11 years ago)
Author:
mitz@apple.com
Message:

Remove non-Apple cruft from the installed WKBase.h
https://bugs.webkit.org/show_bug.cgi?id=121370

Reviewed by Darin Adler.

  • Configurations/WebKit2.xcconfig: Set INSTALLHDRS_SCRIPT_PHASE to YES.
  • WebKit2.xcodeproj/project.pbxproj: Added a script build phase that runs unifdef on

the installed WKBase.h with APPLE defined and various BUILDING_* and WTF_USE_* symbols
undefined.

Location:
trunk/Source/WebKit2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r155773 r155787  
     12013-09-14  Dan Bernstein  <mitz@apple.com>
     2
     3        Remove non-Apple cruft from the installed WKBase.h
     4        https://bugs.webkit.org/show_bug.cgi?id=121370
     5
     6        Reviewed by Darin Adler.
     7
     8        * Configurations/WebKit2.xcconfig: Set INSTALLHDRS_SCRIPT_PHASE to YES.
     9        * WebKit2.xcodeproj/project.pbxproj: Added a script build phase that runs unifdef on
     10        the installed WKBase.h with __APPLE__ defined and various BUILDING_* and WTF_USE_* symbols
     11        undefined.
     12
    1132013-09-14  Dan Bernstein  <mitz@apple.com>
    214
  • trunk/Source/WebKit2/Configurations/WebKit2.xcconfig

    r154467 r155787  
    4141EXCLUDED_SOURCE_FILE_NAMES_iphoneos = *.pdf;
    4242EXCLUDED_SOURCE_FILE_NAMES_iphonesimulator = $(EXCLUDED_SOURCE_FILE_NAMES_iphoneos);
     43
     44INSTALLHDRS_SCRIPT_PHASE = YES;
  • trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj

    r155770 r155787  
    57625762                        buildPhases = (
    57635763                                8DC2EF500486A6940098B216 /* Headers */,
     5764                                375A248817E5048E00C9A086 /* Postprocess WKBase.h */,
    57645765                                8DC2EF520486A6940098B216 /* Resources */,
    57655766                                7CB16FEE1724BA05007A0A95 /* Copy Plug-in Sandbox Profiles */,
     
    61186119                        shellPath = /bin/sh;
    61196120                        shellScript = "if [ \"${ACTION}\" = \"installhdrs\" ]; then\n    exit 0;\nfi\n\nif [ -f ../../Tools/Scripts/check-for-inappropriate-objc-class-names ]; then\n    ../../Tools/Scripts/check-for-inappropriate-objc-class-names WK || exit $?\nfi";
     6121                };
     6122                375A248817E5048E00C9A086 /* Postprocess WKBase.h */ = {
     6123                        isa = PBXShellScriptBuildPhase;
     6124                        buildActionMask = 2147483647;
     6125                        files = (
     6126                        );
     6127                        inputPaths = (
     6128                                "$(TARGET_BUILD_DIR)/$(PRIVATE_HEADERS_FOLDER_PATH)/WKBase.h",
     6129                        );
     6130                        name = "Postprocess WKBase.h";
     6131                        outputPaths = (
     6132                        );
     6133                        runOnlyForDeploymentPostprocessing = 0;
     6134                        shellPath = /bin/sh;
     6135                        shellScript = "WKBASE_H=${TARGET_BUILD_DIR}/${PRIVATE_HEADERS_FOLDER_PATH}/WKBase.h\n\nunifdef -B -D__APPLE__ -UBUILDING_GTK__ -UWTF_USE_SOUP -UBUILDING_EFL__ -UBUILDING_QT__ -o ${WKBASE_H} ${WKBASE_H}\n\nif [[ $? > 1 ]]; then\n    exit 1;\nfi";
    61206136                };
    61216137                5D1A239215E760590023E981 /* Remove Compiled Python Files */ = {
Note: See TracChangeset for help on using the changeset viewer.