Changeset 225559 in webkit


Ignore:
Timestamp:
Dec 5, 2017 5:31:36 PM (6 years ago)
Author:
aestes@apple.com
Message:

[Cocoa] Stop specifying TARGET_OS_EMBEDDED in postprocess-headers.sh's unifdef options
https://bugs.webkit.org/show_bug.cgi?id=180457
<rdar://problem/35143007>

Reviewed by Tim Horton.

None of WebKitLegacy's framework headers mention TARGET_OS_EMBEDDED, so there's no need to
check for this macro during post-processing.

  • postprocess-headers.sh:
Location:
trunk/Source/WebKitLegacy/mac
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKitLegacy/mac/ChangeLog

    r225507 r225559  
     12017-12-05  Andy Estes  <aestes@apple.com>
     2
     3        [Cocoa] Stop specifying TARGET_OS_EMBEDDED in postprocess-headers.sh's unifdef options
     4        https://bugs.webkit.org/show_bug.cgi?id=180457
     5        <rdar://problem/35143007>
     6
     7        Reviewed by Tim Horton.
     8
     9        None of WebKitLegacy's framework headers mention TARGET_OS_EMBEDDED, so there's no need to
     10        check for this macro during post-processing.
     11
     12        * postprocess-headers.sh:
     13
    1142017-12-04  David Quesada  <david_quesada@apple.com>
    215
  • trunk/Source/WebKitLegacy/mac/postprocess-headers.sh

    r214177 r225559  
    1616
    1717    if [[ ${PLATFORM_NAME} == macosx ]]; then
    18         unifdefOptions="-DTARGET_OS_EMBEDDED=0 -DTARGET_OS_IPHONE=0 -DTARGET_IPHONE_SIMULATOR=0";
     18        unifdefOptions="-DTARGET_OS_IPHONE=0 -DTARGET_IPHONE_SIMULATOR=0";
    1919    elif [[ ${PLATFORM_NAME} == *simulator* ]]; then
    20         unifdefOptions="-DTARGET_OS_EMBEDDED=0 -DTARGET_OS_IPHONE=1 -DTARGET_IPHONE_SIMULATOR=1 -DUSE_APPLE_INTERNAL_SDK=${USE_APPLE_INTERNAL_SDK}";
     20        unifdefOptions="-DTARGET_OS_IPHONE=1 -DTARGET_IPHONE_SIMULATOR=1 -DUSE_APPLE_INTERNAL_SDK=${USE_APPLE_INTERNAL_SDK}";
    2121    else
    22         unifdefOptions="-DTARGET_OS_EMBEDDED=1 -DTARGET_OS_IPHONE=1 -DTARGET_IPHONE_SIMULATOR=0 -DUSE_APPLE_INTERNAL_SDK=${USE_APPLE_INTERNAL_SDK}";
     22        unifdefOptions="-DTARGET_OS_IPHONE=1 -DTARGET_IPHONE_SIMULATOR=0 -DUSE_APPLE_INTERNAL_SDK=${USE_APPLE_INTERNAL_SDK}";
    2323    fi
    2424
Note: See TracChangeset for help on using the changeset viewer.