Changeset 173689 in webkit
- Timestamp:
- Sep 17, 2014 2:29:31 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r173655 r173689 1 2014-09-17 Renato Nagy <rnagy@inf.u-szeged.hu> 2 3 [EFL][GTK] Remove WebKit1 related codes 4 https://bugs.webkit.org/show_bug.cgi?id=136853 5 6 Reviewed by Csaba Osztrogonác. 7 8 Gtk and EFL WebKit1 ports no longer exist. Webkit1 related codes were deleted 9 from scripts. 10 11 * Source/PlatformGTK.cmake: 12 1 13 2014-09-16 Tibor Meszaros <tmeszaros.u-szeged@partner.samsung.com> 2 14 -
trunk/Source/PlatformGTK.cmake
r172622 r173689 4 4 add_custom_target(gir ALL DEPENDS ${GObjectIntrospectionTargets}) 5 5 6 if (ENABLE_WEBKIT2) 7 list(APPEND DocumentationDependencies 8 WebKit2 9 "${CMAKE_SOURCE_DIR}/Source/WebKit2/UIProcess/API/gtk/docs/webkit2gtk-docs.sgml" 10 "${CMAKE_SOURCE_DIR}/Source/WebKit2/UIProcess/API/gtk/docs/webkit2gtk-sections.txt" 11 GObjectDOMBindings 12 ) 13 endif () 6 list(APPEND DocumentationDependencies 7 GObjectDOMBindings 8 WebKit2 9 "${CMAKE_SOURCE_DIR}/Source/WebKit2/UIProcess/API/gtk/docs/webkit2gtk-docs.sgml" 10 "${CMAKE_SOURCE_DIR}/Source/WebKit2/UIProcess/API/gtk/docs/webkit2gtk-sections.txt" 11 ) 14 12 15 13 if (ENABLE_GTKDOC) … … 52 50 ) 53 51 54 if (ENABLE_WEBKIT2)55 add_custom_command(56 OUTPUT ${CMAKE_BINARY_DIR}/webkitgtk-${PROJECT_VERSION}.tar57 DEPENDS ${TOOLS_DIR}/gtk/make-dist.py58 DEPENDS ${TOOLS_DIR}/gtk/manifest.txt59 DEPENDS WebKit260 DEPENDS gtkdoc61 COMMAND ${TOOLS_DIR}/gtk/make-dist.py62 --source-dir=${CMAKE_SOURCE_DIR}63 --build-dir=${CMAKE_BINARY_DIR}64 --version=${PROJECT_VERSION}65 ${TOOLS_DIR}/gtk/manifest.txt66 )67 52 68 add_custom_command( 69 OUTPUT ${CMAKE_BINARY_DIR}/webkitgtk-${PROJECT_VERSION}.tar.xz 70 DEPENDS ${CMAKE_BINARY_DIR}/webkitgtk-${PROJECT_VERSION}.tar 71 COMMAND xz -f ${CMAKE_BINARY_DIR}/webkitgtk-${PROJECT_VERSION}.tar 72 ) 53 add_custom_command( 54 OUTPUT ${CMAKE_BINARY_DIR}/webkitgtk-${PROJECT_VERSION}.tar 55 DEPENDS ${TOOLS_DIR}/gtk/make-dist.py 56 DEPENDS ${TOOLS_DIR}/gtk/manifest.txt 57 DEPENDS WebKit2 58 DEPENDS gtkdoc 59 COMMAND ${TOOLS_DIR}/gtk/make-dist.py 60 --source-dir=${CMAKE_SOURCE_DIR} 61 --build-dir=${CMAKE_BINARY_DIR} 62 --version=${PROJECT_VERSION} 63 ${TOOLS_DIR}/gtk/manifest.txt 64 ) 73 65 74 add_custom_target(dist 75 DEPENDS ${CMAKE_BINARY_DIR}/webkitgtk-${PROJECT_VERSION}.tar.xz 76 ) 66 add_custom_command( 67 OUTPUT ${CMAKE_BINARY_DIR}/webkitgtk-${PROJECT_VERSION}.tar.xz 68 DEPENDS ${CMAKE_BINARY_DIR}/webkitgtk-${PROJECT_VERSION}.tar 69 COMMAND xz -f ${CMAKE_BINARY_DIR}/webkitgtk-${PROJECT_VERSION}.tar 70 ) 77 71 78 add_custom_target(distcheck 79 DEPENDS ${TOOLS_DIR}/gtk/make-dist.py 80 DEPENDS ${TOOLS_DIR}/gtk/manifest.txt 81 DEPENDS WebKit2 82 DEPENDS gtkdoc 83 COMMAND ${TOOLS_DIR}/gtk/make-dist.py 84 --check 85 --source-dir=${CMAKE_SOURCE_DIR} 86 --build-dir=${CMAKE_BINARY_DIR} 87 --version=/webkitgtk-${PROJECT_VERSION} 88 ${TOOLS_DIR}/gtk/manifest.txt 89 COMMAND xz -f ${CMAKE_BINARY_DIR}/webkitgtk-${PROJECT_VERSION}.tar 90 ) 91 endif () 72 add_custom_target(dist 73 DEPENDS ${CMAKE_BINARY_DIR}/webkitgtk-${PROJECT_VERSION}.tar.xz 74 ) 75 76 add_custom_target(distcheck 77 DEPENDS ${TOOLS_DIR}/gtk/make-dist.py 78 DEPENDS ${TOOLS_DIR}/gtk/manifest.txt 79 DEPENDS WebKit2 80 DEPENDS gtkdoc 81 COMMAND ${TOOLS_DIR}/gtk/make-dist.py 82 --check 83 --source-dir=${CMAKE_SOURCE_DIR} 84 --build-dir=${CMAKE_BINARY_DIR} 85 --version=/webkitgtk-${PROJECT_VERSION} 86 ${TOOLS_DIR}/gtk/manifest.txt 87 COMMAND xz -f ${CMAKE_BINARY_DIR}/webkitgtk-${PROJECT_VERSION}.tar 88 ) -
trunk/Tools/BuildSlaveSupport/build.webkit.org-config/config.json
r173627 r173689 203 203 }, 204 204 { 205 "name": "EFL Linux 64-bit Release WK2", "type": "BuildAndTest WebKit2Only", "builddir": "efl-linux-64-release-wk2",205 "name": "EFL Linux 64-bit Release WK2", "type": "BuildAndTest", "builddir": "efl-linux-64-release-wk2", 206 206 "platform": "efl", "configuration": "release", "architectures": ["x86_64"], 207 207 "slavenames": ["efl-linux-slave-2"] -
trunk/Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg
r173653 r173689 235 235 class Compile32bitJSC(CompileWebKit): 236 236 command = ["perl", "./Tools/Scripts/build-jsc", "--32-bit", WithProperties("--%(configuration)s")] 237 238 class CompileWebKit1Only(CompileWebKit):239 command = ["perl", "./Tools/Scripts/build-webkit", "--no-webkit2", WithProperties("--%(configuration)s")]240 241 242 class CompileWebKit2Only(CompileWebKit):243 command = ["perl", "./Tools/Scripts/build-webkit", "--no-webkit1", WithProperties("--%(configuration)s")]244 237 245 238 … … 904 897 LayoutTestClass = RunWebKit2Tests 905 898 906 class BuildAndTestWebKit1OnlyFactory(BuildAndTestFactory):907 CompileClass = CompileWebKit1Only908 909 class BuildAndTestWebKit2OnlyFactory(BuildAndTestFactory):910 CompileClass = CompileWebKit2Only911 LayoutTestClass = RunWebKit2Tests912 913 899 class BuildAndNonLayoutTestFactory(BuildAndTestFactory): 914 900 LayoutTestClass = None -
trunk/Tools/ChangeLog
r173673 r173689 1 2014-09-17 Renato Nagy <rnagy@inf.u-szeged.hu> 2 3 [EFL][GTK] Remove WebKit1 related codes 4 https://bugs.webkit.org/show_bug.cgi?id=136853 5 6 Reviewed by Csaba Osztrogonác. 7 8 Gtk and EFL WebKit1 ports no longer exist. Webkit1 related codes were deleted 9 from scripts. 10 11 * BuildSlaveSupport/build.webkit.org-config/config.json: 12 * BuildSlaveSupport/build.webkit.org-config/master.cfg: 13 (Compile32bitJSC): 14 (BuildAndTestWebKit2Factory): 15 (CompileWebKit1Only): Deleted. 16 (CompileWebKit2Only): Deleted. 17 (BuildAndTestWebKit1OnlyFactory): Deleted. 18 (BuildAndTestWebKit2OnlyFactory): Deleted. 19 * Scripts/build-webkit: 20 * Scripts/webkitperl/webkitdirs_unittest/checkForArgumentAndRemoveFromArrayRefGettingValue.pl: 21 * Scripts/webkitpy/common/config/ports.py: 22 (GtkWK2Port.build_webkit_command): 23 (EflWK2Port.build_webkit_command): 24 * Scripts/webkitpy/common/config/ports_unittest.py: 25 (DeprecatedPortTest.test_gtk_wk2_port): 26 * Scripts/webkitpy/port/efl.py: 27 (EflPort.build_webkit_command): 28 * Scripts/webkitpy/port/gtk.py: 29 (GtkPort._built_libraries_path): 30 (GtkPort._search_paths): 31 (GtkPort.test_expectations_file_position): 32 (GtkPort.build_webkit_command): 33 (GtkPort.run_webkit_tests_command): 34 (GtkPort.warn_if_bug_missing_in_test_expectations): Deleted. 35 1 36 2014-09-16 Daniel Bates <dabates@apple.com> 2 37 -
trunk/Tools/Scripts/build-webkit
r173070 r173689 60 60 my $cmakeArgs = ""; 61 61 my $onlyWebKitProject = 0; 62 my $noWebKit1 = 0;63 my $noWebKit2 = 0;64 62 my $coverageSupport = 0; 65 63 my $shouldRunStaticAnalyzer = 0; … … 110 108 111 109 --only-webkit Build only the WebKit project 112 --no-webkit1 Omit WebKit1 code from the build (EFL/GTK only)113 --no-webkit2 Omit WebKit2 code from the build114 110 115 111 EOF … … 125 121 'minimal' => \$minimal, 126 122 'only-webkit' => \$onlyWebKitProject, 127 'no-webkit1' => \$noWebKit1,128 'no-webkit2' => \$noWebKit2,129 123 'coverage' => \$coverageSupport, 130 124 'analyze' => \$shouldRunStaticAnalyzer, … … 247 241 248 242 if (isCMakeBuild()) { 249 $cmakeArgs = "-DENABLE_WEBKIT=OFF " . $cmakeArgs if $noWebKit1;250 $cmakeArgs = "-DENABLE_WEBKIT2=OFF " . $cmakeArgs if $noWebKit2;251 243 252 244 # By default we build using all of the available CPUs. -
trunk/Tools/Scripts/webkitperl/webkitdirs_unittest/checkForArgumentAndRemoveFromArrayRefGettingValue.pl
r162616 r173689 69 69 description => "option whose value is the empty string and follows an equal sign", # Unrecognized argument; no change 70 70 argToCheck => "--sdk", 71 args => ["--clean", "--debug", "--sdk=" , "--no-webkit2"],72 expectedArgs => ["--clean", "--debug", "--sdk=" , "--no-webkit2"],71 args => ["--clean", "--debug", "--sdk="], 72 expectedArgs => ["--clean", "--debug", "--sdk="], 73 73 expectedReturn => undef, 74 74 }, -
trunk/Tools/Scripts/webkitpy/common/config/ports.py
r170582 r173689 146 146 command.append("--gtk") 147 147 command.append("--update-gtk") 148 command.append("--no-webkit1")149 148 command.append(super(GtkWK2Port, self).makeArgs()) 150 149 return command … … 164 163 command.append("--efl") 165 164 command.append("--update-efl") 166 command.append("--no-webkit1")167 165 command.append(super(EflWK2Port, self).makeArgs()) 168 166 return command -
trunk/Tools/Scripts/webkitpy/common/config/ports_unittest.py
r170582 r173689 43 43 self.assertEqual(GtkWK2Port().flag(), "--port=gtk-wk2") 44 44 self.assertEqual(GtkWK2Port().run_webkit_tests_command(), DeprecatedPort().script_shell_command("run-webkit-tests") + ["--gtk", "-2"]) 45 self.assertEqual(GtkWK2Port().build_webkit_command(), DeprecatedPort().script_shell_command("build-webkit") + ["--gtk", "--update-gtk", "--no-webkit1",DeprecatedPort().makeArgs()])46 self.assertEqual(GtkWK2Port().build_webkit_command(build_style="debug"), DeprecatedPort().script_shell_command("build-webkit") + ["--debug", "--gtk", "--update-gtk", "--no-webkit1",DeprecatedPort().makeArgs()])45 self.assertEqual(GtkWK2Port().build_webkit_command(), DeprecatedPort().script_shell_command("build-webkit") + ["--gtk", "--update-gtk", DeprecatedPort().makeArgs()]) 46 self.assertEqual(GtkWK2Port().build_webkit_command(build_style="debug"), DeprecatedPort().script_shell_command("build-webkit") + ["--debug", "--gtk", "--update-gtk", DeprecatedPort().makeArgs()]) -
trunk/Tools/Scripts/webkitpy/port/efl.py
r172830 r173689 136 136 command = super(EflPort, self).build_webkit_command(build_style) 137 137 command.extend(["--efl", "--update-efl"]) 138 if self.get_option('webkit_test_runner'):139 command.append("--no-webkit1")140 else:141 command.append("--no-webkit2")142 138 command.append(super(EflPort, self).make_args()) 143 139 return command -
trunk/Tools/Scripts/webkitpy/port/gtk.py
r172830 r173689 70 70 return self._build_path(*(('lib',) + path)) 71 71 72 def warn_if_bug_missing_in_test_expectations(self):73 return not self.get_option('webkit_test_runner')74 75 72 def _port_flag_for_scripts(self): 76 73 return "--gtk" … … 178 175 def _search_paths(self): 179 176 search_paths = [] 180 if self.get_option('webkit_test_runner'):181 search_paths.extend([self.port_name + '-wk2', 'wk2'])182 else:183 search_paths.append(self.port_name + '-wk1')184 177 search_paths.append(self.port_name) 178 search_paths.append('wk2') 185 179 search_paths.extend(self.get_option("additional_platform_directory", [])) 186 180 return search_paths … … 216 210 return GDBCrashLogGenerator(name, pid, newer_than, self._filesystem, self._path_to_driver).generate_crash_log(stdout, stderr) 217 211 212 def test_expectations_file_position(self): 213 # GTK port baseline search path is gtk -> wk2 -> generic (as gtk-wk2 and gtk baselines are merged), so port test expectations file is at third to last position. 214 return 2 215 218 216 def build_webkit_command(self, build_style=None): 219 217 command = super(GtkPort, self).build_webkit_command(build_style) 220 218 command.extend(["--gtk", "--update-gtk"]) 221 222 if self.get_option('webkit_test_runner'):223 command.append("--no-webkit1")224 else:225 command.append("--no-webkit2")226 227 219 command.append(super(GtkPort, self).make_args()) 228 220 return command … … 231 223 command = super(GtkPort, self).run_webkit_tests_command() 232 224 command.append("--gtk") 233 if self.get_option('webkit_test_runner'):234 command.append("-2")235 225 return command -
trunk/Tools/Scripts/webkitpy/port/gtk_unittest.py
r157682 r173689 53 53 def test_default_baseline_search_path(self): 54 54 port = self.make_port() 55 self.assertEqual(port.default_baseline_search_path(), ['/mock-checkout/LayoutTests/platform/gtk-wk1', 56 '/mock-checkout/LayoutTests/platform/gtk']) 57 58 port = self.make_port(options=MockOptions(webkit_test_runner=True)) 59 self.assertEqual(port.default_baseline_search_path(), ['/mock-checkout/LayoutTests/platform/gtk-wk2', 60 '/mock-checkout/LayoutTests/platform/wk2', '/mock-checkout/LayoutTests/platform/gtk']) 55 self.assertEqual(port.default_baseline_search_path(), ['/mock-checkout/LayoutTests/platform/gtk', 56 '/mock-checkout/LayoutTests/platform/wk2']) 61 57 62 58 def test_port_specific_expectations_files(self): 63 59 port = self.make_port() 64 60 self.assertEqual(port.expectations_files(), ['/mock-checkout/LayoutTests/TestExpectations', 65 '/mock-checkout/LayoutTests/platform/gtk/TestExpectations',66 '/mock-checkout/LayoutTests/platform/gtk-wk1/TestExpectations'])67 68 port = self.make_port(options=MockOptions(webkit_test_runner=True))69 self.assertEqual(port.expectations_files(), ['/mock-checkout/LayoutTests/TestExpectations',70 '/mock-checkout/LayoutTests/platform/gtk/TestExpectations',71 61 '/mock-checkout/LayoutTests/platform/wk2/TestExpectations', 72 '/mock-checkout/LayoutTests/platform/gtk -wk2/TestExpectations'])62 '/mock-checkout/LayoutTests/platform/gtk/TestExpectations']) 73 63 74 64 def test_show_results_html_file(self): -
trunk/Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py
r170527 r173689 92 92 self.assertMultiLineEqual(command._baseline_directory("Apple Mavericks Release WK1 (Tests)"), "/mock-checkout/LayoutTests/platform/mac-wk1") 93 93 self.assertMultiLineEqual(command._baseline_directory("Apple Mavericks Release WK2 (Tests)"), "/mock-checkout/LayoutTests/platform/mac-wk2") 94 self.assertMultiLineEqual(command._baseline_directory("GTK Linux 64-bit Debug (Tests)"), "/mock-checkout/LayoutTests/platform/gtk -wk2")95 self.assertMultiLineEqual(command._baseline_directory("GTK Linux 64-bit Release (Tests)"), "/mock-checkout/LayoutTests/platform/gtk -wk2")94 self.assertMultiLineEqual(command._baseline_directory("GTK Linux 64-bit Debug (Tests)"), "/mock-checkout/LayoutTests/platform/gtk") 95 self.assertMultiLineEqual(command._baseline_directory("GTK Linux 64-bit Release (Tests)"), "/mock-checkout/LayoutTests/platform/gtk") 96 96 self.assertMultiLineEqual(command._baseline_directory("EFL Linux 64-bit Release WK2"), "/mock-checkout/LayoutTests/platform/efl") 97 97
Note: See TracChangeset
for help on using the changeset viewer.