Changeset 86056 in webkit


Ignore:
Timestamp:
May 9, 2011 8:00:34 AM (13 years ago)
Author:
Adam Roben
Message:

Automatically touch WebKit.idl whenever any other WebKit1 IDL file changes

Fixes <http://webkit.org/b/60468> WebKit.idl needs to be manually touched whenever any other
WebKit1 IDL file changes to avoid build errors

Reviewed by Tim Hatcher.

Updated for script rename.

  • JavaScriptCore.vcproj/JavaScriptCore/react-to-vsprops-changes.py: Removed.
  • JavaScriptCore.vcproj/JavaScriptCore/work-around-vs-dependency-tracking-bugs.py: Renamed

from react-to-vsprops-changes.py.
(top level): Moved a constant here from main.
(main): Moved most code from here to react_to_vsprops_changes. Added a call to the new
react_to_webkit1_interface_changes function.
(react_to_vsprops_changes): Moved code here from main. Updated to use the
TOP_LEVEL_DIRECTORY global. Moved some code from here to mtime_of_newest_file_matching_globa
and touch_if_older_than.
(react_to_webkit1_interface_changes): Added. Touches WebKit.idl if any other WebKit1 IDL
file has changed.
(mtime_of_newest_file_matching_glob): Added. Code came from main.
(touch_if_older_than): Added. Code came from main.

Location:
trunk/Source/JavaScriptCore
Files:
1 added
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r86036 r86056  
     12011-05-09  Adam Roben  <aroben@apple.com>
     2
     3        Automatically touch WebKit.idl whenever any other WebKit1 IDL file changes
     4
     5        Fixes <http://webkit.org/b/60468> WebKit.idl needs to be manually touched whenever any other
     6        WebKit1 IDL file changes to avoid build errors
     7
     8        Reviewed by Tim Hatcher.
     9
     10        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.make:
     11        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.vcproj:
     12        Updated for script rename.
     13
     14        * JavaScriptCore.vcproj/JavaScriptCore/react-to-vsprops-changes.py: Removed.
     15        * JavaScriptCore.vcproj/JavaScriptCore/work-around-vs-dependency-tracking-bugs.py: Renamed
     16        from react-to-vsprops-changes.py.
     17        (top level): Moved a constant here from main.
     18        (main): Moved most code from here to react_to_vsprops_changes. Added a call to the new
     19        react_to_webkit1_interface_changes function.
     20        (react_to_vsprops_changes): Moved code here from main. Updated to use the
     21        TOP_LEVEL_DIRECTORY global. Moved some code from here to mtime_of_newest_file_matching_globa
     22        and touch_if_older_than.
     23        (react_to_webkit1_interface_changes): Added. Touches WebKit.idl if any other WebKit1 IDL
     24        file has changed.
     25        (mtime_of_newest_file_matching_glob): Added. Code came from main.
     26        (touch_if_older_than): Added. Code came from main.
     27
    1282011-05-08  Jessie Berlin  <jberlin@apple.com>
    229
  • trunk/Source/JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.make

    r83056 r86056  
    33    bash build-generated-files.sh "%ConfigurationBuildDir%" "$(WEBKITLIBRARIESDIR)"
    44!IF "$(OFFICIAL_BUILD)"!="1"
    5     bash -c "python react-to-vsprops-changes.py"
     5    bash -c "python work-around-vs-dependency-tracking-bugs.py"
    66!ENDIF
    77    copy-files.cmd
  • trunk/Source/JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.vcproj

    r83056 r86056  
    100100                </File>
    101101                <File
    102                         RelativePath=".\react-to-vsprops-changes.py"
     102                        RelativePath=".\work-around-vs-dependency-tracking-bugs.py"
    103103                        >
    104104                </File>
Note: See TracChangeset for help on using the changeset viewer.