Changeset 198086 in webkit
- Timestamp:
- Mar 13, 2016 3:30:13 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 7 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CMakeLists.txt
r196748 r198086 20 20 # Determine which port will be built 21 21 # ----------------------------------------------------------------------------- 22 set(ALL_PORTS Efl GTK AppleWin WinCairo Mac) 22 set(ALL_PORTS 23 AppleWin 24 Efl 25 GTK 26 JSCOnly 27 Mac 28 WinCairo 29 ) 23 30 set(PORT "NOPORT" CACHE STRING "choose which WebKit port to build (one of ${ALL_PORTS})") 24 31 -
trunk/ChangeLog
r198074 r198086 1 2016-03-13 Konstantin Tokarev <annulen@yandex.ru> 2 3 Added new port JSCOnly. 4 https://bugs.webkit.org/show_bug.cgi?id=154512 5 6 Reviewed by Michael Catanzaro. 7 8 This port allows to build JavaScriptCore engine with minimal 9 dependencies. 10 11 * CMakeLists.txt: 12 * Source/cmake/OptionsJSCOnly.cmake: Added. 13 1 14 2016-03-12 Myles C. Maxfield <mmaxfield@apple.com> 2 15 -
trunk/Source/JavaScriptCore/ChangeLog
r198080 r198086 1 2016-03-13 Konstantin Tokarev <annulen@yandex.ru> 2 3 Added new port JSCOnly. 4 https://bugs.webkit.org/show_bug.cgi?id=154512 5 6 Reviewed by Michael Catanzaro. 7 8 This port allows to build JavaScriptCore engine with minimal 9 dependencies. 10 11 * PlatformJSCOnly.cmake: Added. 12 1 13 2016-03-12 Mark Lam <mark.lam@apple.com> 2 14 -
trunk/Source/WTF/ChangeLog
r198081 r198086 1 2016-03-13 Konstantin Tokarev <annulen@yandex.ru> 2 3 Added new port JSCOnly. 4 https://bugs.webkit.org/show_bug.cgi?id=154512 5 6 Reviewed by Michael Catanzaro. 7 8 This port allows to build JavaScriptCore engine with minimal 9 dependencies. 10 11 * wtf/PlatformJSCOnly.cmake: Added. 12 * wtf/none/MainThreadNone.cpp: Added. 13 * wtf/none/RunLoopNone.cpp: Added. 14 * wtf/none/WorkQueueNone.cpp: Added. 15 1 16 2016-03-13 David Kilzer <ddkilzer@apple.com> 2 17 -
trunk/Source/WTF/wtf/WorkQueue.h
r197563 r198086 39 39 #endif 40 40 41 #if PLATFORM(GTK) 41 #if PLATFORM(EFL) 42 #include <DispatchQueueEfl.h> 43 #elif USE(GLIB) 42 44 #include <wtf/Condition.h> 43 45 #include <wtf/RunLoop.h> 44 46 #include <wtf/glib/GRefPtr.h> 45 #elif PLATFORM(EFL)46 #include <DispatchQueueEfl.h>47 47 #elif OS(WINDOWS) 48 48 #include <wtf/HashMap.h> … … 75 75 WTF_EXPORT_PRIVATE static void concurrentApply(size_t iterations, const std::function<void (size_t index)>&); 76 76 77 #if PLATFORM(GTK) 78 RunLoop& runLoop() const { return *m_runLoop; } 79 #elif PLATFORM(EFL) 77 #if PLATFORM(EFL) 80 78 void registerSocketEventHandler(int, std::function<void ()>); 81 79 void unregisterSocketEventHandler(int); 80 #elif USE(GLIB) 81 RunLoop& runLoop() const { return *m_runLoop; } 82 82 #elif OS(DARWIN) 83 83 dispatch_queue_t dispatchQueue() const { return m_dispatchQueue; } … … 103 103 #endif 104 104 105 #if PLATFORM(GTK) 105 #if PLATFORM(EFL) 106 RefPtr<DispatchQueue> m_dispatchQueue; 107 #elif USE(GLIB) 106 108 ThreadIdentifier m_workQueueThread; 107 109 Lock m_initializeRunLoopConditionMutex; … … 110 112 Lock m_terminateRunLoopConditionMutex; 111 113 Condition m_terminateRunLoopCondition; 112 #elif PLATFORM(EFL)113 RefPtr<DispatchQueue> m_dispatchQueue;114 114 #elif OS(DARWIN) 115 115 static void executeFunction(void*); -
trunk/Tools/ChangeLog
r198085 r198086 1 2016-03-13 Konstantin Tokarev <annulen@yandex.ru> 2 3 Added new port JSCOnly. 4 https://bugs.webkit.org/show_bug.cgi?id=154512 5 6 Reviewed by Michael Catanzaro. 7 8 This port allows to build JavaScriptCore engine with minimal 9 dependencies. 10 11 * Scripts/build-jsc: 12 * Scripts/webkitdirs.pm: 13 (argumentsForConfiguration): 14 (executableProductDir): 15 (determinePortName): 16 (isJSCOnly): 17 (wrapperPrefixIfNeeded): 18 (generateBuildSystemFromCMakeProject): 19 (buildCMakeGeneratedProject): 20 1 21 2016-03-13 David Kilzer <ddkilzer@apple.com> 2 22 -
trunk/Tools/Scripts/build-jsc
r197358 r198086 43 43 my $coverageSupport = 0; 44 44 my $showHelp = 0; 45 my $ftlJIT = int(isAppleMacWebKit() && !willUseIOSSimulatorSDK() || isX86_64() && (isGtk() || isEfl() ));45 my $ftlJIT = int(isAppleMacWebKit() && !willUseIOSSimulatorSDK() || isX86_64() && (isGtk() || isEfl() || isJSCOnly())); 46 46 my $forceCLoop = 0; 47 47 my $cli = 0; -
trunk/Tools/Scripts/webkitdirs.pm
r197883 r198086 102 102 iOS => "iOS", 103 103 Mac => "Mac", 104 JSCOnly => "JSCOnly", 104 105 WinCairo => "WinCairo", 105 106 Unknown => "Unknown" … … 449 450 push(@args, '--gtk') if isGtk(); 450 451 push(@args, '--efl') if isEfl(); 452 push(@args, '--jsc-only') if isJSCOnly(); 451 453 push(@args, '--wincairo') if isWinCairo(); 452 454 push(@args, '--inspector-frontend') if isInspectorFrontend(); … … 645 647 646 648 my $binaryDirectory; 647 if (isEfl() || isGtk() ) {649 if (isEfl() || isGtk() || isJSCOnly()) { 648 650 $binaryDirectory = "bin"; 649 651 } elsif (isAnyWindows()) { … … 1046 1048 efl => Efl, 1047 1049 gtk => GTK, 1050 'jsc-only' => JSCOnly, 1048 1051 wincairo => WinCairo 1049 1052 ); … … 1076 1079 --efl 1077 1080 --gtk 1081 --jsc-only 1078 1082 ); 1079 1083 die "Please specify which WebKit port to build using one of the following options:" … … 1101 1105 { 1102 1106 return portName() eq GTK; 1107 } 1108 1109 sub isJSCOnly() 1110 { 1111 return portName() eq JSCOnly; 1103 1112 } 1104 1113 … … 1832 1841 sub wrapperPrefixIfNeeded() 1833 1842 { 1834 if (isAnyWindows() ) {1843 if (isAnyWindows() || isJSCOnly()) { 1835 1844 return (); 1836 1845 } … … 1985 1994 } 1986 1995 1987 # GTK+ has aproduction mode, but build-webkit should always use developer mode.1988 push @args, "-DDEVELOPER_MODE=ON" if isEfl() || isGtk() ;1996 # Some ports have production mode, but build-webkit should always use developer mode. 1997 push @args, "-DDEVELOPER_MODE=ON" if isEfl() || isGtk() || isJSCOnly(); 1989 1998 1990 1999 # Don't warn variables which aren't used by cmake ports. … … 2024 2033 push @args, ("--", $makeArgs) if $makeArgs; 2025 2034 2026 # GTK can use a build script to preserve colors and pretty-printing.2027 if ( isGtk() && -e "$buildPath/build.sh") {2035 # GTK and JSCOnly can use a build script to preserve colors and pretty-printing. 2036 if ((isGtk() || isJSCOnly()) && -e "$buildPath/build.sh") { 2028 2037 chdir "$buildPath" or die; 2029 2038 $command = "$buildPath/build.sh";
Note: See TracChangeset
for help on using the changeset viewer.