Ignore:
Timestamp:
Mar 8, 2022, 7:37:17 AM (3 years ago)
Author:
Chris Dumez
Message:

Unreviewed, reverting r290975.

Broke the build for some configurations

Reverted changeset:

"[XCBuild] Emit a discovered dependency file from offlineasm"
https://bugs.webkit.org/show_bug.cgi?id=237329
https://commits.webkit.org/r290975

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/offlineasm/parser.rb

    r290975 r290990  
    261261
    262262class Parser
    263     def initialize(data, fileName, options, sources=nil)
     263    def initialize(data, fileName, options)
    264264        @tokens = lex(data, fileName)
    265265        @idx = 0
     
    269269        @buildProductsDirectory = ENV['BUILT_PRODUCTS_DIR'];
    270270        @options = options
    271         @sources = sources
    272271    end
    273272   
     
    845844                fileExists = File.exists?(fileName)
    846845                raise "File not found: #{fileName}" if not fileExists and not isOptional
    847                 list << parse(fileName, @options, @sources) if fileExists
     846                list << parse(fileName, @options) if fileExists
    848847            else
    849848                parseError "Expecting terminal #{final} #{comment}"
     
    902901end
    903902
    904 def parseData(data, fileName, options, sources)
    905     parser = Parser.new(data, SourceFile.new(fileName), options, sources)
     903def parseData(data, fileName, options)
     904    parser = Parser.new(data, SourceFile.new(fileName), options)
    906905    parser.parseSequence(nil, "")
    907906end
    908907
    909 def parse(fileName, options, sources=nil)
    910     sources << fileName if sources
    911     parseData(readTextFile(fileName), fileName, options, sources)
     908def parse(fileName, options)
     909    parseData(readTextFile(fileName), fileName, options)
    912910end
    913911
Note: See TracChangeset for help on using the changeset viewer.