Only generate offline asm for the ARCHS (xcodebuild) or the current system (CMake)
[WebKit-https.git] / Source / JavaScriptCore / offlineasm / generate_offset_extractor.rb
index 84bb2d9848cbcf38d8963ef2846ad3aad00df60e..1cc54c189d4567387f30377a9a710a788d679686 100644 (file)
@@ -39,11 +39,9 @@ IncludeFile.processIncludeOptions()
 inputFlnm = ARGV.shift
 outputFlnm = ARGV.shift
 
-validBackends = ARGV.shift
-if validBackends
-    $stderr.puts "Only dealing with backends: #{validBackends}"
-    includeOnlyBackends(validBackends.split(","))
-end
+validBackends = canonicalizeBackendNames(ARGV.shift.split(","))
+$stderr.puts "Only dealing with backends: #{validBackends}"
+includeOnlyBackends(validBackends)
 
 def emitMagicNumber
     OFFSET_MAGIC_NUMBERS.each {