Changeset 109837 in webkit
- Timestamp:
- Mar 5, 2012, 7:37:47 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 36 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/API/tests/JSNode.c
r35900 r109837 31 31 #include "Node.h" 32 32 #include "NodeList.h" 33 #include "UnusedParam.h"33 #include <wtf/UnusedParam.h> 34 34 #include <wtf/Assertions.h> 35 35 -
trunk/Source/JavaScriptCore/API/tests/JSNodeList.c
r35900 r109837 28 28 #include "JSObjectRef.h" 29 29 #include "JSValueRef.h" 30 #include "UnusedParam.h"30 #include <wtf/UnusedParam.h> 31 31 #include <wtf/Assertions.h> 32 32 -
trunk/Source/JavaScriptCore/ChangeLog
r109834 r109837 1 2012-03-05 Eric Seidel <[email protected]> 2 3 Update JavaScriptCore files to use fully-qualified WTF include paths 4 https://bugs.webkit.org/show_bug.cgi?id=79960 5 6 Reviewed by Adam Barth. 7 8 This change does 5 small/related things: 9 1. Updates JavaScriptCore.xcodeproj to install WTF headers into $BUILD/usr/local/include 10 (WebCore, WebKit were already setup to look there, but JavaScriptCore.xcodeproj 11 was not installing headers there.) 12 2. Makes JavaScriptCore targets include $BUILD/usr/local/include in their 13 header search path, as that's where the WTF headers will be installed. 14 3. Similarly updates JavaScriptCore.vcproj/copy-files.cmd to copy WTF headers to PrivateHeaders/wtf/* 15 in addition to the current behavior of flattening all headers to PrivateHeaders/*.h. 16 4. Updates a bunch of JSC files to use #include <wtf/Foo.h> instead of #include "Foo.h" 17 since soon the WTF headers will not be part of the JavaScriptCore Xcode project. 18 5. Makes build-webkit build the WTF XCode project by default. 19 20 * API/tests/JSNode.c: 21 * API/tests/JSNodeList.c: 22 * Configurations/Base.xcconfig: 23 * assembler/MacroAssemblerCodeRef.h: 24 * bytecompiler/BytecodeGenerator.h: 25 * dfg/DFGOperations.cpp: 26 * heap/GCAssertions.h: 27 * heap/HandleHeap.h: 28 * heap/HandleStack.h: 29 * heap/MarkedSpace.h: 30 * heap/PassWeak.h: 31 * heap/Strong.h: 32 * heap/Weak.h: 33 * jit/HostCallReturnValue.cpp: 34 * jit/JIT.cpp: 35 * jit/JITStubs.cpp: 36 * jit/ThunkGenerators.cpp: 37 * parser/Lexer.cpp: 38 * runtime/Completion.cpp: 39 * runtime/Executable.cpp: 40 * runtime/Identifier.h: 41 * runtime/InitializeThreading.cpp: 42 * runtime/JSDateMath.cpp: 43 * runtime/JSGlobalObjectFunctions.cpp: 44 * runtime/JSStringBuilder.h: 45 * runtime/JSVariableObject.h: 46 * runtime/NumberPrototype.cpp: 47 * runtime/WriteBarrier.h: 48 * tools/CodeProfile.cpp: 49 * tools/TieredMMapArray.h: 50 * yarr/YarrJIT.cpp: 51 1 52 2012-03-05 Oliver Hunt <[email protected]> 2 53 -
trunk/Source/JavaScriptCore/Configurations/Base.xcconfig
r108363 r109837 72 72 WARNING_CFLAGS_macosx_ppc64 = $(WARNING_CFLAGS_BASE); 73 73 WARNING_CFLAGS_macosx_x86_64 = $(WARNING_CFLAGS_BASE); 74 HEADER_SEARCH_PATHS = . icu $(HEADER_SEARCH_PATHS);74 HEADER_SEARCH_PATHS = . icu "${BUILT_PRODUCTS_DIR}/usr/local/include" $(HEADER_SEARCH_PATHS); 75 75 76 76 CLANG_CXX_LIBRARY = $(CLANG_CXX_LIBRARY_$(TARGET_MAC_OS_X_VERSION_MAJOR)); -
trunk/Source/JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/copy-files.cmd
r108444 r109837 59 59 ) 60 60 61 echo Copying WTF headers... 62 for %%d in ( 63 wtf 64 wtf\dtoa 65 wtf\text 66 wtf\threads 67 wtf\unicode 68 wtf\unicode\icu 69 ) do ( 70 mkdir "%PrivateHeadersDirectory%\%%d" 2>NUL 71 xcopy /y /d ..\..\%%d\*.h "%PrivateHeadersDirectory%\%%d" >NUL 72 ) 73 61 74 echo Copying resources... 62 75 mkdir "%ResourcesDirectory%" 2>NUL -
trunk/Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
r109705 r109837 3503 3503 buildPhases = ( 3504 3504 5D2F7CF90C6875BB00B5B72B /* Update Info.plist with version information */, 3505 A8D7082715049EA2001063BC /* Copy WTF Headers */, 3505 3506 932F5B3F0822A1C700736975 /* Headers */, 3506 3507 932F5B910822A1C700736975 /* Sources */, … … 3730 3731 shellPath = /bin/sh; 3731 3732 shellScript = "if [ \"${TARGET_GCC_VERSION}\" = \"LLVM_COMPILER\" ]; then\n exit 0;\nfi\n\nif [ -f ../../Tools/Scripts/check-for-exit-time-destructors ]; then\n ../../Tools/Scripts/check-for-exit-time-destructors || exit $?\nfi"; 3733 }; 3734 A8D7082715049EA2001063BC /* Copy WTF Headers */ = { 3735 isa = PBXShellScriptBuildPhase; 3736 buildActionMask = 2147483647; 3737 files = ( 3738 ); 3739 inputPaths = ( 3740 ); 3741 name = "Copy WTF Headers"; 3742 outputPaths = ( 3743 ); 3744 runOnlyForDeploymentPostprocessing = 0; 3745 shellPath = /bin/sh; 3746 shellScript = "# WTF_PRIVATE_HEADERS_PATH will be replaced by PRIVATE_HEADERS_FOLDER_PATH\n# in the equivalent build-phase when WTF is its own project.\nWTF_PRIVATE_HEADERS_PATH=\"/usr/local/include\"\n\nif [[ \"${DEPLOYMENT_LOCATION}\" == \"NO\" ]]; then\nPRIVATE_HEADERS_PATH=\"${TARGET_BUILD_DIR%%/}${WTF_PRIVATE_HEADERS_PATH}\"\nelse\nPRIVATE_HEADERS_PATH=\"${DSTROOT%%/}${WTF_PRIVATE_HEADERS_PATH}\"\nfi;\n\nmkdir -p \"${PRIVATE_HEADERS_PATH}\"\nrsync -av --prune-empty-dirs --exclude \".svn\" --exclude \"usr\" --exclude \"DerivedSources\" --include \"*/\" --include \"*.h\" --exclude \"*\" \"${SRCROOT}/wtf\" \"${PRIVATE_HEADERS_PATH}\"\n"; 3732 3747 }; 3733 3748 /* End PBXShellScriptBuildPhase section */ -
trunk/Source/JavaScriptCore/assembler/MacroAssemblerCodeRef.h
r108444 r109837 28 28 29 29 #include "ExecutableAllocator.h" 30 #include "PassRefPtr.h"31 #include "RefPtr.h"32 #include "UnusedParam.h"30 #include <wtf/PassRefPtr.h> 31 #include <wtf/RefPtr.h> 32 #include <wtf/UnusedParam.h> 33 33 34 34 // ASSERT_VALID_CODE_POINTER checks that ptr is a non-null pointer, and that it is a valid -
trunk/Source/JavaScriptCore/bytecompiler/BytecodeGenerator.h
r108943 r109837 33 33 34 34 #include "CodeBlock.h" 35 #include "HashTraits.h"35 #include <wtf/HashTraits.h> 36 36 #include "Instruction.h" 37 37 #include "Label.h" -
trunk/Source/JavaScriptCore/dfg/DFGOperations.cpp
r109824 r109837 32 32 #include "HostCallReturnValue.h" 33 33 #include "GetterSetter.h" 34 #include "InlineASM.h"34 #include <wtf/InlineASM.h> 35 35 #include "Interpreter.h" 36 36 #include "JSActivation.h" -
trunk/Source/JavaScriptCore/heap/GCAssertions.h
r107595 r109837 27 27 #define GCAssertions_h 28 28 29 #include "Assertions.h"29 #include <wtf/Assertions.h> 30 30 31 31 #if ENABLE(GC_VALIDATION) -
trunk/Source/JavaScriptCore/heap/HandleHeap.h
r104900 r109837 27 27 #define HandleHeap_h 28 28 29 #include "BlockStack.h"29 #include <wtf/BlockStack.h> 30 30 #include "Handle.h" 31 #include "HashCountedSet.h"32 #include "SentinelLinkedList.h"33 #include "SinglyLinkedList.h"31 #include <wtf/HashCountedSet.h> 32 #include <wtf/SentinelLinkedList.h> 33 #include <wtf/SinglyLinkedList.h> 34 34 35 35 namespace JSC { -
trunk/Source/JavaScriptCore/heap/HandleStack.h
r95901 r109837 27 27 #define HandleStack_h 28 28 29 #include "Assertions.h"30 #include "BlockStack.h"29 #include <wtf/Assertions.h> 30 #include <wtf/BlockStack.h> 31 31 #include "Handle.h" 32 32 -
trunk/Source/JavaScriptCore/heap/MarkedSpace.h
r108444 r109837 27 27 #include "MarkedBlock.h" 28 28 #include "MarkedBlockSet.h" 29 #include "PageAllocationAligned.h"29 #include <wtf/PageAllocationAligned.h> 30 30 #include <wtf/Bitmap.h> 31 31 #include <wtf/DoublyLinkedList.h> -
trunk/Source/JavaScriptCore/heap/PassWeak.h
r108010 r109837 27 27 #define PassWeak_h 28 28 29 #include "Assertions.h"29 #include <wtf/Assertions.h> 30 30 #include "Handle.h" 31 #include "NullPtr.h"32 #include "TypeTraits.h"31 #include <wtf/NullPtr.h> 32 #include <wtf/TypeTraits.h> 33 33 34 34 namespace JSC { -
trunk/Source/JavaScriptCore/heap/Strong.h
r96465 r109837 27 27 #define Strong_h 28 28 29 #include "Assertions.h"29 #include <wtf/Assertions.h> 30 30 #include "Handle.h" 31 31 #include "HandleHeap.h" -
trunk/Source/JavaScriptCore/heap/Weak.h
r108168 r109837 27 27 #define Weak_h 28 28 29 #include "Assertions.h"29 #include <wtf/Assertions.h> 30 30 #include "Handle.h" 31 31 #include "HandleHeap.h" -
trunk/Source/JavaScriptCore/jit/HostCallReturnValue.cpp
r108444 r109837 28 28 29 29 #include "CallFrame.h" 30 #include "InlineASM.h"30 #include <wtf/InlineASM.h> 31 31 #include "JSObject.h" 32 32 #include "JSValueInlineMethods.h" -
trunk/Source/JavaScriptCore/jit/JIT.cpp
r109834 r109837 36 36 37 37 #include "CodeBlock.h" 38 #include "CryptographicallyRandomNumber.h"38 #include <wtf/CryptographicallyRandomNumber.h> 39 39 #include "DFGNode.h" // for DFG_SUCCESS_STATS 40 40 #include "Interpreter.h" -
trunk/Source/JavaScriptCore/jit/JITStubs.cpp
r109824 r109837 44 44 #include "GetterSetter.h" 45 45 #include "Heap.h" 46 #include "InlineASM.h"46 #include <wtf/InlineASM.h> 47 47 #include "JIT.h" 48 48 #include "JITExceptions.h" -
trunk/Source/JavaScriptCore/jit/ThunkGenerators.cpp
r106161 r109837 28 28 29 29 #include "CodeBlock.h" 30 #include "InlineASM.h"30 #include <wtf/InlineASM.h> 31 31 #include "SpecializedThunkJIT.h" 32 32 #include <wtf/text/StringImpl.h> -
trunk/Source/JavaScriptCore/parser/Lexer.cpp
r109769 r109837 32 32 #include "NodeInfo.h" 33 33 #include "Nodes.h" 34 #include "dtoa.h"34 #include <wtf/dtoa.h> 35 35 #include <ctype.h> 36 36 #include <limits.h> -
trunk/Source/JavaScriptCore/runtime/Completion.cpp
r106197 r109837 31 31 #include "Parser.h" 32 32 #include "Debugger.h" 33 #include "WTFThreadData.h"33 #include <wtf/WTFThreadData.h> 34 34 #include <stdio.h> 35 35 -
trunk/Source/JavaScriptCore/runtime/Executable.cpp
r109307 r109837 35 35 #include "Parser.h" 36 36 #include "UStringBuilder.h" 37 #include "Vector.h"37 #include <wtf/Vector.h> 38 38 39 39 namespace JSC { -
trunk/Source/JavaScriptCore/runtime/Identifier.h
r104900 r109837 23 23 24 24 #include "JSGlobalData.h" 25 #include "ThreadSpecific.h"25 #include <wtf/ThreadSpecific.h> 26 26 #include "UString.h" 27 27 #include <wtf/WTFThreadData.h> -
trunk/Source/JavaScriptCore/runtime/InitializeThreading.cpp
r103083 r109837 38 38 #include "UString.h" 39 39 #include "WriteBarrier.h" 40 #include "dtoa.h"40 #include <wtf/dtoa.h> 41 41 #include <wtf/Threading.h> 42 42 #include <wtf/dtoa/cached-powers.h> -
trunk/Source/JavaScriptCore/runtime/JSDateMath.cpp
r100205 r109837 73 73 #include "JSDateMath.h" 74 74 75 #include "Assertions.h"76 #include "ASCIICType.h"77 75 #include "CurrentTime.h" 78 76 #include "JSObject.h" … … 87 85 #include <stdint.h> 88 86 #include <time.h> 87 #include <wtf/ASCIICType.h> 88 #include <wtf/Assertions.h> 89 89 #include <wtf/text/StringBuilder.h> 90 90 -
trunk/Source/JavaScriptCore/runtime/JSGlobalObjectFunctions.cpp
r108259 r109837 36 36 #include "Parser.h" 37 37 #include "UStringBuilder.h" 38 #include "dtoa.h"38 #include <wtf/dtoa.h> 39 39 #include <stdio.h> 40 40 #include <stdlib.h> -
trunk/Source/JavaScriptCore/runtime/JSStringBuilder.h
r102146 r109837 30 30 #include "JSString.h" 31 31 #include "UStringConcatenate.h" 32 #include "Vector.h"32 #include <wtf/Vector.h> 33 33 34 34 namespace JSC { -
trunk/Source/JavaScriptCore/runtime/JSVariableObject.h
r108444 r109837 33 33 #include "Register.h" 34 34 #include "SymbolTable.h" 35 #include "UnusedParam.h"35 #include <wtf/UnusedParam.h> 36 36 #include <wtf/OwnArrayPtr.h> 37 37 #include <wtf/UnusedParam.h> -
trunk/Source/JavaScriptCore/runtime/NumberPrototype.cpp
r105698 r109837 30 30 #include "Operations.h" 31 31 #include "Uint16WithFraction.h" 32 #include "dtoa.h"32 #include <wtf/dtoa.h> 33 33 #include <wtf/Assertions.h> 34 34 #include <wtf/MathExtras.h> -
trunk/Source/JavaScriptCore/runtime/WriteBarrier.h
r107595 r109837 31 31 #include "Heap.h" 32 32 #include "SamplingCounter.h" 33 #include "TypeTraits.h"33 #include <wtf/TypeTraits.h> 34 34 35 35 namespace JSC { -
trunk/Source/JavaScriptCore/tools/CodeProfile.cpp
r108037 r109837 31 31 #include "LinkBuffer.h" 32 32 #include "ProfileTreeNode.h" 33 #include "Vector.h"33 #include <wtf/Vector.h> 34 34 #include <wtf/text/WTFString.h> 35 35 -
trunk/Source/JavaScriptCore/tools/TieredMMapArray.h
r106197 r109837 27 27 #define TieredMMapArray_h 28 28 29 #include "OSAllocator.h"29 #include <wtf/OSAllocator.h> 30 30 31 31 namespace JSC { -
trunk/Source/JavaScriptCore/yarr/YarrJIT.cpp
r109834 r109837 27 27 #include "YarrJIT.h" 28 28 29 #include "ASCIICType.h"29 #include <wtf/ASCIICType.h> 30 30 #include "LinkBuffer.h" 31 31 #include "Yarr.h" -
trunk/Tools/ChangeLog
r109831 r109837 1 2012-03-05 Eric Seidel <[email protected]> 2 3 Update JavaScriptCore files to use fully-qualified WTF include path 4 https://bugs.webkit.org/show_bug.cgi?id=79960 5 6 Reviewed by Adam Barth. 7 8 Build WTF/WTF.xcodeproj by default on Mac. 9 10 * Scripts/build-webkit: 11 1 12 2012-03-05 Dirk Pranke <[email protected]> 2 13 -
trunk/Tools/Scripts/build-webkit
r109667 r109837 492 492 my @projects = ("Source/JavaScriptCore", "Source/WebCore", "Source/WebKit"); 493 493 494 # Build WTF as a separate static library on ports which support it. 495 splice @projects, 0, 0, "Source/WTF" if isAppleMacWebKit(); 496 494 497 for my $dir (@projects) { 495 498 if (! -d $dir) {
Note:
See TracChangeset
for help on using the changeset viewer.