Bug 202282 - [WinCairo] Generated file was not copied to header directory on update.
Summary: [WinCairo] Generated file was not copied to header directory on update.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-26 13:25 PDT by Basuke Suzuki
Modified: 2019-09-26 13:25 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Basuke Suzuki 2019-09-26 13:25:32 PDT
It is copied correctly on first generation, but not copied when the file was updated.

a. Source of derived source: Source\JavaScriptCore\inspector\protocol\Canvas.json
b. Derived source generated: WebKitBuild\Release\JavaScriptCore\DerivedSources\inspector\InspectorProtocolObjects.h
c. Header file to be used in WebCore: WebKitBuild\Release\JavaScriptCore\PrivateHeaders\JavaScriptCore\InspectorProtocolObjects.h

How to reproduce:

1. Do clean build and it should be completed successfully: perl .\Tools\Scripts\build-webkit --wincairo --no-ninja
2. Change something on source file (a): ex) Change `ProgramType` to `ProgramType2` in two location (line 23, 234)
3. Build again: perl .\Tools\Scripts\build-webkit --wincairo --no-ninja
4. Compare derived source (b) and header file (c) and see the difference.

Tested:
cmake 3.14.5, cmake 3.15.2