Bug 191288 - Feature flags not present for Visual Studio when using build-webkit
Summary: Feature flags not present for Visual Studio when using build-webkit
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Don Olmstead
URL:
Keywords: InRadar
: 190935 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-11-05 16:49 PST by Don Olmstead
Modified: 2018-11-06 14:12 PST (History)
10 users (show)

See Also:


Attachments
Patch (1.15 KB, patch)
2018-11-05 16:51 PST, Don Olmstead
no flags Details | Formatted Diff | Diff
Patch (2.82 KB, patch)
2018-11-06 12:11 PST, Don Olmstead
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Don Olmstead 2018-11-05 16:49:55 PST
Currently none of the feature flags selected in build-webkit end up being passed into a Visual Studio based build.
Comment 1 Don Olmstead 2018-11-05 16:51:25 PST
Created attachment 353925 [details]
Patch
Comment 2 Don Olmstead 2018-11-05 17:18:32 PST
*** Bug 190935 has been marked as a duplicate of this bug. ***
Comment 3 Fujii Hironori 2018-11-05 17:40:21 PST
Comment on attachment 353925 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=353925&action=review

> Tools/Scripts/build-webkit:303
> +    if (exitStatus(generateBuildSystemFromCMakeProject($prefixPath, (cmakeBasedPortArguments(), @featureArgs), @cmakeArgs))) {

cmakeBasedPortArguments is not used since Bug 136951. I think you should remove it.
Comment 4 Fujii Hironori 2018-11-06 05:21:45 PST
Comment on attachment 353925 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=353925&action=review

>> Tools/Scripts/build-webkit:303
>> +    if (exitStatus(generateBuildSystemFromCMakeProject($prefixPath, (cmakeBasedPortArguments(), @featureArgs), @cmakeArgs))) {
> 
> cmakeBasedPortArguments is not used since Bug 136951. I think you should remove it.

This inner parenthesis is useless in Perl because Perl flattens nested lists.
generateBuildSystemFromCMakeProject($prefixPath, cmakeBasedPortArguments(), @featureArgs, @cmakeArgs)
Comment 5 Don Olmstead 2018-11-06 12:11:29 PST
Created attachment 353984 [details]
Patch

Updated based on review comments. Removed the unused cmakeBasedPortArguments.
Comment 6 WebKit Commit Bot 2018-11-06 14:10:39 PST
Comment on attachment 353984 [details]
Patch

Clearing flags on attachment: 353984

Committed r237887: <https://trac.webkit.org/changeset/237887>
Comment 7 WebKit Commit Bot 2018-11-06 14:10:41 PST
All reviewed patches have been landed.  Closing bug.
Comment 8 Radar WebKit Bug Importer 2018-11-06 14:12:29 PST
<rdar://problem/45855617>