Changeset 245233 in webkit


Ignore:
Timestamp:
May 13, 2019 6:59:59 AM (5 years ago)
Author:
Darin Adler
Message:

WHLSLPrepare.cpp always recompiles, even if nothing was changed
https://bugs.webkit.org/show_bug.cgi?id=197151

Reviewed by Dan Bernstein and Keith Rollin.

  • DerivedSources-input.xcfilelist: Script updated this automatically after

DerivedSources.make was corrected.

  • DerivedSources-output.xcfilelist: Ditto, although I had to manually remove

one bogus leftover reference to WHLSLStandardLibrary.cpp.

  • DerivedSources.make: Updated the rule that builds WHSLStandardLibrary.h to

no longer refer to nonexistent WHLSLStandardLibrary.cpp. Because the dependency
was on a file that was never created, the rule to regenerate WHSLStandardLibrary.h
was running on every build, instead of only when one of the dependencies changed.

Location:
trunk/Source/WebCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r245220 r245233  
     12019-05-13  Darin Adler  <darin@apple.com>
     2
     3        WHLSLPrepare.cpp always recompiles, even if nothing was changed
     4        https://bugs.webkit.org/show_bug.cgi?id=197151
     5
     6        Reviewed by Dan Bernstein and Keith Rollin.
     7
     8        * DerivedSources-input.xcfilelist: Script updated this automatically after
     9        DerivedSources.make was corrected.
     10        * DerivedSources-output.xcfilelist: Ditto, although I had to manually remove
     11        one bogus leftover reference to WHLSLStandardLibrary.cpp.
     12
     13        * DerivedSources.make: Updated the rule that builds WHSLStandardLibrary.h to
     14        no longer refer to nonexistent WHLSLStandardLibrary.cpp. Because the dependency
     15        was on a file that was never created, the rule to regenerate WHSLStandardLibrary.h
     16        was running on every build, instead of only when one of the dependencies changed.
     17
    1182019-05-12  Simon Fraser  <simon.fraser@apple.com>
    219
  • trunk/Source/WebCore/DerivedSources-input.xcfilelist

    r245025 r245233  
    1616$(JAVASCRIPTCORE_PRIVATE_HEADERS_DIR)/make-js-file-arrays.py
    1717$(JAVASCRIPTCORE_PRIVATE_HEADERS_DIR)/wkbuiltins.py
     18$(JAVASCRIPTCORE_PRIVATE_HEADERS_DIR)/xxd.pl
    1819$(PROJECT_DIR)/Configurations/FeatureDefines.xcconfig
    1920$(PROJECT_DIR)/DerivedSources.make
     
    343344$(PROJECT_DIR)/Modules/webgpu/GPUVertexInputDescriptor.idl
    344345$(PROJECT_DIR)/Modules/webgpu/NavigatorGPU.idl
     346$(PROJECT_DIR)/Modules/webgpu/WHLSL/WHLSLStandardLibrary.txt
    345347$(PROJECT_DIR)/Modules/webgpu/WebGPU.idl
    346348$(PROJECT_DIR)/Modules/webgpu/WebGPUAdapter.idl
  • trunk/Source/WebCore/DerivedSources-output.xcfilelist

    r245025 r245233  
    20892089$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/UserAgentScriptsData.cpp
    20902090$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/UserAgentStyleSheets.h
    2091 $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/WHLSLStandardLibrary.cpp
     2091$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/WHLSLStandardLibrary.h
    20922092$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/WebCoreJSBuiltinInternals.cpp
    20932093$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/WebCoreJSBuiltinInternals.h
  • trunk/Source/WebCore/DerivedSources.make

    r245025 r245233  
    16351635# WHLSL Standard Library
    16361636
    1637 all : WHLSLStandardLibrary.cpp
    1638 
    1639 WHLSLStandardLibrary.cpp : $(JavaScriptCore_SCRIPTS_DIR)/xxd.pl $(WebCore)/Modules/webgpu/WHLSL/WHLSLStandardLibrary.txt
    1640         $(PERL) $(JavaScriptCore_SCRIPTS_DIR)/xxd.pl WHLSLStandardLibrary $(WebCore)/Modules/webgpu/WHLSL/WHLSLStandardLibrary.txt WHLSLStandardLibrary.h
     1637all : WHLSLStandardLibrary.h
     1638
     1639WHLSLStandardLibrary.h : $(JavaScriptCore_SCRIPTS_DIR)/xxd.pl $(WebCore)/Modules/webgpu/WHLSL/WHLSLStandardLibrary.txt
     1640        $(PERL) $< WHLSLStandardLibrary $(WebCore)/Modules/webgpu/WHLSL/WHLSLStandardLibrary.txt $@
    16411641
    16421642# --------
Note: See TracChangeset for help on using the changeset viewer.