Changeset 79970 in webkit
- Timestamp:
- Feb 28, 2011 11:06:12 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 3 edited
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r79945 r79970 1 2011-02-28 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Dimitri Glazkov. 4 5 Teach JavaScriptGlue gyp build about DEPTH 6 https://bugs.webkit.org/show_bug.cgi?id=55421 7 8 Moves the previously JavaScriptGlue-specific GYP helper shell scripts 9 to the gyp directory in Source, where they can be shared by multiple 10 frameworks. 11 12 * Source/gyp: Added. 13 * Source/gyp/remove-headers-if-needed.sh: Copied from Source/JavaScriptGlue/gyp/remove-headers-if-needed.sh. 14 * Source/gyp/run-if-exists.sh: Copied from Source/JavaScriptGlue/gyp/run-if-exists.sh. 15 * Source/gyp/update-info-plist.sh: Copied from Source/JavaScriptGlue/gyp/update-info-plist.sh. 16 1 17 2011-02-28 Benjamin Poulain <benjamin.poulain@nokia.com> 2 18 -
trunk/Source/JavaScriptGlue/ChangeLog
r79963 r79970 12 12 13 13 * ForwardingHeaders/wtf/HashTable.h: Added. 14 15 2011-02-28 Adam Barth <abarth@webkit.org> 16 17 Reviewed by Dimitri Glazkov. 18 19 Teach JavaScriptGlue gyp build about DEPTH 20 https://bugs.webkit.org/show_bug.cgi?id=55421 21 22 After this path, we should set DEPTH to the Source directory, which is 23 a common point for all the frameworks that make up WebKit. These 24 changes to the GYP teach JavaScriptGlue how to find various files based 25 on DEPTH rather than based on the location of the xcodeproj file. 26 27 * gyp/JavaScriptGlue.gyp: 28 * gyp/remove-headers-if-needed.sh: Removed. 29 * gyp/run-if-exists.sh: Removed. 30 * gyp/update-info-plist.sh: Removed. 14 31 15 32 2011-02-28 Adam Barth <abarth@webkit.org> -
trunk/Source/JavaScriptGlue/gyp/JavaScriptGlue.gyp
r79905 r79970 3 3 'JavaScriptGlue.gypi', 4 4 ], 5 'xcode_config_file': ' ../Configurations/DebugRelease.xcconfig',5 'xcode_config_file': '<(DEPTH)/JavaScriptGlue/Configurations/DebugRelease.xcconfig', 6 6 'targets': [ 7 7 { … … 12 12 ], 13 13 'include_dirs': [ 14 ' ..',15 ' ../ForwardingHeaders',16 ' ../icu',14 '<(DEPTH)/JavaScriptGlue', 15 '<(DEPTH)/JavaScriptGlue/ForwardingHeaders', 16 '<(DEPTH)/JavaScriptGlue/icu', 17 17 '<(PRODUCT_DIR)/include', 18 18 ], … … 36 36 'postbuild_name': 'Check For Global Initializers', 37 37 'action': [ 38 'sh', ' run-if-exists.sh', 'check-for-global-initializers'38 'sh', '<(DEPTH)/gyp/run-if-exists.sh', '<(DEPTH)/../Tools/Scripts/check-for-global-initializers' 39 39 ], 40 40 }, … … 42 42 'postbuild_name': 'Check For Weak VTables and Externals', 43 43 'action': [ 44 'sh', ' run-if-exists.sh', 'check-for-weak-vtables-and-externals'44 'sh', '<(DEPTH)/gyp/run-if-exists.sh', '<(DEPTH)/../Tools/Scripts/check-for-weak-vtables-and-externals' 45 45 ], 46 46 }, … … 48 48 'postbuild_name': 'Remove Headers If Needed', 49 49 'action': [ 50 'sh', ' remove-headers-if-needed.sh'50 'sh', '<(DEPTH)/gyp/remove-headers-if-needed.sh' 51 51 ], 52 52 }, … … 55 55 ['OS=="mac"', { 56 56 'mac_bundle': 1, 57 'xcode_settings': { 58 # FIXME: Remove these overrides once JavaScriptGlue.xcconfig is 59 # used only by this project. 60 'INFOPLIST_FILE': '<(DEPTH)/JavaScriptGlue/Info.plist', 61 'EXPORTED_SYMBOLS_FILE': '<(DEPTH)/JavaScriptGlue/JavaScriptGlue.exp', 62 }, 57 63 }], 58 64 ], … … 67 73 'outputs': [], 68 74 'action': [ 69 'sh', ' update-info-plist.sh'75 'sh', '<(DEPTH)/gyp/update-info-plist.sh', '<(DEPTH)/JavaScriptGlue/Info.plist' 70 76 ], 71 77 }, -
trunk/Source/gyp/run-if-exists.sh
r79923 r79970 1 1 #!/bin/sh 2 2 3 if [ -f ../../Tools/Scripts/$1 ]; then4 ../../Tools/Scripts/$1 || exit $?;3 if [ -f $1 ]; then 4 $1 || exit $?; 5 5 fi -
trunk/Source/gyp/update-info-plist.sh
r79923 r79970 1 1 # Touch Info.plist to let Xcode know it needs to copy it into the built product 2 2 if [[ "${CONFIGURATION}" != "Production" ]]; then 3 touch " ../Info.plist";3 touch "$1"; 4 4 fi
Note: See TracChangeset
for help on using the changeset viewer.