[Webkit-unassigned] [Bug 161433] New: [CMake] CMake does not support the dep file of preprocess-idls.pl --supplementalMakefileDeps
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 31 03:04:19 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=161433
Bug ID: 161433
Summary: [CMake] CMake does not support the dep file of
preprocess-idls.pl --supplementalMakefileDeps
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: Hironori.Fujii at sony.com
CC: lforschler at apple.com
[CMake] CMake does not support the dep file of preprocess-idls.pl --supplementalMakefileDeps
preprocess-idls.pl has a switch --supplementalMakefileDeps to generate dynamic dependency file (SupplementalDependencies.dep).
And, Source/WebCore/DerivedSources.make includes the file:
> -include $(SUPPLEMENTAL_MAKEFILE_DEPS)
But, CMake does not support the dynamic custom dependencies.
For example, we have a following problem of incremental build:
1) Build
> ./Tools/Scripts/build-webkit --gtk --debug --64-bit
2) Rename webkitBattery to webkitBattery2
> sed -i s/webkitBattery/webkitBattery2/ Source/WebCore/Modules/battery/NavigatorBattery.*
3) Build again
> ./Tools/Scripts/build-webkit --gtk --debug --64-bit
4) But, WebKitBuild/Debug/DerivedSources/WebCore/JSNavigator.cpp is not updated
5) We need to manually touch supplemented IDL files.
> touch Source/WebCore/page/Navigator.idl
There are three solutions:
A) Use DerivedSources.make (Bug 130339)
B) Generate Makefile for preprocess-idls.pl and generate-bindings.pl and invoke 'make'
C) Implement Make-like tool in Python or Perl
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160831/d4dff7f5/attachment-0001.html>
More information about the webkit-unassigned
mailing list