Changeset 180019 in webkit
- Timestamp:
- Feb 12, 2015, 3:10:30 PM (11 years ago)
- Location:
- branches/safari-600.5-branch/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-600.5-branch/Tools/BuildSlaveSupport/built-product-archive
r169361 r180019 1 1 #!/usr/bin/python 2 2 3 # Copyright (C) 2009 Apple Inc. All rights reserved.3 # Copyright (C) 2009, 2015 Apple Inc. All rights reserved. 4 4 # Copyright (C) 2012 Google Inc. All rights reserved. 5 5 # … … 114 114 115 115 def archiveBuiltProduct(configuration, platform, fullPlatform): 116 assert platform in ('mac', 'win', ' qt', 'gtk', 'efl')116 assert platform in ('mac', 'win', 'gtk', 'efl') 117 117 118 118 configurationBuildDirectory = os.path.join(_buildDirectory, configuration.title()) … … 132 132 shutil.rmtree(thinDirectory) 133 133 134 elif platform == ' qt' or platform == 'gtk' or platform == 'efl':134 elif platform == 'gtk' or platform == 'efl': 135 135 thinDirectory = os.path.join(configurationBuildDirectory, "thin") 136 136 … … 182 182 183 183 def extractBuiltProduct(configuration, platform): 184 assert platform in ('mac', 'win', ' qt', 'gtk', 'efl')184 assert platform in ('mac', 'win', 'gtk', 'efl') 185 185 186 186 archiveFile = os.path.join(_buildDirectory, configuration + ".zip") … … 192 192 if platform == 'mac': 193 193 return unzipArchive(_buildDirectory, configuration) 194 elif platform == 'win': 195 binDirectory = os.path.join(configurationBuildDirectory, "bin32") 196 os.makedirs(binDirectory) 197 198 safariPath = subprocess.Popen('cygpath -w "$PROGRAMFILES"/Safari', 199 shell=True, stdout=subprocess.PIPE).communicate()[0].strip() 200 201 if subprocess.call('cp -R "%s"/*.dll "%s"/*.resources %s' % (safariPath, safariPath, binDirectory), shell=True): 202 return 1 203 204 return unzipArchive(configurationBuildDirectory, configuration) 205 elif platform == 'qt' or platform == 'gtk' or platform == 'efl': 194 elif platform == 'win' or platform == 'gtk' or platform == 'efl': 206 195 print "Extracting", configurationBuildDirectory 207 196 return unzipArchive(configurationBuildDirectory, configuration) -
branches/safari-600.5-branch/Tools/ChangeLog
r180015 r180019 1 2015-02-12 Brent Fulgham <bfulgham@apple.com> 2 3 Merge r179996 to correct test system failures. 4 5 2015-02-12 Brent Fulgham <bfulgham@apple.com> 6 7 [Win] Test bot infrastructure should not try to find/use old Safari DLLs 8 https://bugs.webkit.org/show_bug.cgi?id=141517 9 10 Reviewed by Anders Carlsson. 11 12 We do not need to locate or use the DLL's that came with Safari, so stop 13 failing when we cannot find them. Also remove some old Qt cruft from this 14 script. 15 16 * BuildSlaveSupport/built-product-archive: 17 (archiveBuiltProduct): 18 (extractBuiltProduct): 19 1 20 2015-02-12 Brent Fulgham <bfulgham@apple.com> 2 21
Note:
See TracChangeset
for help on using the changeset viewer.