Commit 24690317 authored by abarth@webkit.org's avatar abarth@webkit.org

2011-03-26 Adam Barth <abarth@webkit.org>

        Remove the JavaScriptGlue GYP build.  We're not going to use GYP for
        JavaScriptGlue because JavaScriptGlue is used only by one port.

        * gyp: Removed.
        * gyp/JavaScriptGlue.gyp: Removed.
        * gyp/JavaScriptGlue.gypi: Removed.
        * gyp/remove-headers-if-needed.sh: Removed.
        * gyp/run-if-exists.sh: Removed.
        * gyp/update-info-plist.sh: Removed.


git-svn-id: svn://svn.chromium.org/blink/trunk@82037 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 156be54b
2011-03-26 Adam Barth <abarth@webkit.org>
Remove the JavaScriptGlue GYP build. We're not going to use GYP for
JavaScriptGlue because JavaScriptGlue is used only by one port.
* gyp: Removed.
* gyp/JavaScriptGlue.gyp: Removed.
* gyp/JavaScriptGlue.gypi: Removed.
* gyp/remove-headers-if-needed.sh: Removed.
* gyp/run-if-exists.sh: Removed.
* gyp/update-info-plist.sh: Removed.
2011-03-22 Eric Seidel <eric@webkit.org> 2011-03-22 Eric Seidel <eric@webkit.org>
Reviewed by Adam Barth. Reviewed by Adam Barth.
......
{
'includes': [
'../../gyp/common.gypi',
'JavaScriptGlue.gypi',
],
'configurations': {
'Production': {
'xcode_config_file': '<(project_dir)/Configurations/Base.xcconfig',
'xcode_settings': {
'BUILD_VARIANTS': 'normal',
'SECTORDER_FLAGS': [
'-sectorder',
'__TEXT',
'__text',
'$(APPLE_INTERNAL_DIR)/OrderFiles/JavaScriptGlue.order',
],
},
},
'Release': {
'xcode_config_file': '<(project_dir)/Configurations/DebugRelease.xcconfig',
'xcode_settings': {
'COPY_PHASE_STRIP': 'YES',
'GCC_ENABLE_FIX_AND_CONTINUE': 'NO',
'ZERO_LINK': 'NO',
'STRIP_INSTALLED_PRODUCT': 'NO',
'INSTALL_PATH': '$(BUILT_PRODUCTS_DIR)',
},
},
'Debug': {
'xcode_config_file': '<(project_dir)/Configurations/DebugRelease.xcconfig',
'xcode_settings': {
'COPY_PHASE_STRIP': 'NO',
'GCC_DYNAMIC_NO_PIC': 'NO',
'DEBUG_DEFINES': '$(DEBUG_DEFINES_debug)',
'GCC_OPTIMIZATION_LEVEL': '$(GCC_OPTIMIZATION_LEVEL_debug)',
'STRIP_INSTALLED_PRODUCT': '$(STRIP_INSTALLED_PRODUCT_debug)',
'INSTALL_PATH': '$(BUILT_PRODUCTS_DIR)',
},
},
},
'targets': [
{
'target_name': 'JavaScriptGlue',
'type': 'shared_library',
'dependencies': [
'Update Version'
],
'include_dirs': [
'<(project_dir)/ForwardingHeaders',
'<(project_dir)/icu',
'<(PRODUCT_DIR)/include',
],
'sources': [
'<@(javascriptglue_files)',
'<(PRODUCT_DIR)/JavaScriptCore.framework',
'$(SDKROOT)/System/Library/Frameworks/CoreServices.framework',
'$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
'$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
],
'xcode_config_file': '<(project_dir)/Configurations/JavaScriptGlue.xcconfig',
'postbuilds': [
{
'postbuild_name': 'Check For Global Initializers',
'action': [
'sh', '<(project_dir)/gyp/run-if-exists.sh', '<(DEPTH)/../Tools/Scripts/check-for-global-initializers'
],
},
{
'postbuild_name': 'Check For Weak VTables and Externals',
'action': [
'sh', '<(project_dir)/gyp/run-if-exists.sh', '<(DEPTH)/../Tools/Scripts/check-for-weak-vtables-and-externals'
],
},
{
'postbuild_name': 'Remove Headers If Needed',
'action': [
'sh', '<(project_dir)/gyp/remove-headers-if-needed.sh'
],
},
],
'conditions': [
['OS=="mac"', {
'mac_bundle': 1,
'xcode_settings': {
'OTHER_CFLAGS': '-Wno-deprecated-declarations',
# FIXME: Remove these overrides once JavaScriptGlue.xcconfig is
# used only by this project.
'INFOPLIST_FILE': '<(project_dir)/Info.plist',
'EXPORTED_SYMBOLS_FILE': '<(project_dir)/JavaScriptGlue.exp',
},
}],
],
},
{
'target_name': 'Update Version',
'type': 'none',
'actions': [{
'action_name': 'Update Info.plist with version information',
'inputs': [],
'outputs': [],
'action': [
'sh', '<(project_dir)/gyp/update-info-plist.sh', '<(project_dir)/Info.plist'
]
}],
},
], # targets
}
{
'variables': {
'project_dir': ['..'],
'javascriptglue_files': [
'../JavaScriptGlue.cpp',
'../JSBase.cpp',
'../JSObject.cpp',
'../JSRun.cpp',
'../JSUtils.cpp',
'../JSValueWrapper.cpp',
'../UserObjectImp.cpp',
'../config.h',
'../ForwardingHeaders/masm/X86Assembler.h',
'../ForwardingHeaders/profiler/Profiler.h',
'../ForwardingHeaders/runtime/CallFrame.h',
'../ForwardingHeaders/wtf/AlwaysInline.h',
'../ForwardingHeaders/wtf/ASCIICType.h',
'../ForwardingHeaders/wtf/Assertions.h',
'../ForwardingHeaders/wtf/Atomics.h',
'../ForwardingHeaders/wtf/Bitmap.h',
'../ForwardingHeaders/wtf/BumpPointerAllocator.h',
'../ForwardingHeaders/wtf/CrossThreadRefCounted.h',
'../ForwardingHeaders/wtf/CurrentTime.h',
'../ForwardingHeaders/wtf/DateInstanceCache.h',
'../ForwardingHeaders/wtf/DateMath.h',
'../ForwardingHeaders/wtf/FastAllocBase.h',
'../ForwardingHeaders/wtf/FastMalloc.h',
'../ForwardingHeaders/wtf/FixedArray.h',
'../ForwardingHeaders/wtf/Forward.h',
'../ForwardingHeaders/wtf/HashCountedSet.h',
'../ForwardingHeaders/wtf/HashFunctions.h',
'../ForwardingHeaders/wtf/HashMap.h',
'../ForwardingHeaders/wtf/HashSet.h',
'../ForwardingHeaders/wtf/HashTraits.h',
'../ForwardingHeaders/wtf/ListHashSet.h',
'../ForwardingHeaders/wtf/ListRefPtr.h',
'../ForwardingHeaders/wtf/Locker.h',
'../ForwardingHeaders/wtf/MainThread.h',
'../ForwardingHeaders/wtf/MathExtras.h',
'../ForwardingHeaders/wtf/Noncopyable.h',
'../ForwardingHeaders/wtf/NotFound.h',
'../ForwardingHeaders/wtf/OSAllocator.h',
'../ForwardingHeaders/wtf/OwnArrayPtr.h',
'../ForwardingHeaders/wtf/OwnFastMallocPtr.h',
'../ForwardingHeaders/wtf/OwnPtr.h',
'../ForwardingHeaders/wtf/OwnPtrCommon.h',
'../ForwardingHeaders/wtf/PageAllocation.h',
'../ForwardingHeaders/wtf/PageAllocationAligned.h',
'../ForwardingHeaders/wtf/PageBlock.h',
'../ForwardingHeaders/wtf/PageReservation.h',
'../ForwardingHeaders/wtf/PassOwnArrayPtr.h',
'../ForwardingHeaders/wtf/PassOwnPtr.h',
'../ForwardingHeaders/wtf/PassRefPtr.h',
'../ForwardingHeaders/wtf/Platform.h',
'../ForwardingHeaders/wtf/PossiblyNull.h',
'../ForwardingHeaders/wtf/PtrAndFlags.h',
'../ForwardingHeaders/wtf/RandomNumber.h',
'../ForwardingHeaders/wtf/RefCounted.h',
'../ForwardingHeaders/wtf/RefPtr.h',
'../ForwardingHeaders/wtf/StackBounds.h',
'../ForwardingHeaders/wtf/StdLibExtras.h',
'../ForwardingHeaders/wtf/StringHasher.h',
'../ForwardingHeaders/wtf/text/CString.h',
'../ForwardingHeaders/wtf/text/StringHash.h',
'../ForwardingHeaders/wtf/text/StringImpl.h',
'../ForwardingHeaders/wtf/text/StringImplBase.h',
'../ForwardingHeaders/wtf/text/TextPosition.h',
'../ForwardingHeaders/wtf/text/WTFString.h',
'../ForwardingHeaders/wtf/Threading.h',
'../ForwardingHeaders/wtf/ThreadingPrimitives.h',
'../ForwardingHeaders/wtf/ThreadSafeRefCounted.h',
'../ForwardingHeaders/wtf/ThreadSpecific.h',
'../ForwardingHeaders/wtf/unicode/icu/UnicodeIcu.h',
'../ForwardingHeaders/wtf/unicode/Unicode.h',
'../ForwardingHeaders/wtf/UnusedParam.h',
'../ForwardingHeaders/wtf/ValueCheck.h',
'../ForwardingHeaders/wtf/Vector.h',
'../ForwardingHeaders/wtf/VectorTraits.h',
'../ForwardingHeaders/wtf/VMTags.h',
'../ForwardingHeaders/wtf/WTFThreadData.h',
'../icu/unicode/platform.h',
'../icu/unicode/putil.h',
'../icu/unicode/uchar.h',
'../icu/unicode/ucnv.h',
'../icu/unicode/ucnv_err.h',
'../icu/unicode/uconfig.h',
'../icu/unicode/uenum.h',
'../icu/unicode/uiter.h',
'../icu/unicode/umachine.h',
'../icu/unicode/urename.h',
'../icu/unicode/ustring.h',
'../icu/unicode/utf.h',
'../icu/unicode/utf16.h',
'../icu/unicode/utf8.h',
'../icu/unicode/utf_old.h',
'../icu/unicode/utypes.h',
'../icu/unicode/uversion.h',
'../JavaScriptGlue.h',
'../JSBase.h',
'../JSObject.h',
'../JSRun.h',
'../JSUtils.h',
'../JSValueWrapper.h',
'../UserObjectImp.h',
'../Info.plist',
],
'testjsglue_files': [
'../testjsglue.cpp',
]
}
}
if (( TARGET_MAC_OS_X_VERSION_MAJOR > 1050 )); then
rm -rf \"$BUILT_PRODUCTS_DIR/$PUBLIC_HEADERS_FOLDER_PATH\"/*.h;
fi
# Touch Info.plist to let Xcode know it needs to copy it into the built product
if [[ "${CONFIGURATION}" != "Production" ]]; then
touch "$1";
fi
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment