WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
191167
[CMake] Sync feature defines
https://bugs.webkit.org/show_bug.cgi?id=191167
Summary
[CMake] Sync feature defines
Don Olmstead
Reported
2018-11-01 13:34:50 PDT
The feature defines are currently out of sync within CMake.
Attachments
Listing of all ENABLE_* in Source
(4.03 KB, text/plain)
2018-11-01 17:08 PDT
,
Don Olmstead
no flags
Details
Patch
(46.11 KB, patch)
2018-11-05 12:35 PST
,
Don Olmstead
no flags
Details
Formatted Diff
Diff
Patch
(10.72 KB, patch)
2018-12-03 10:21 PST
,
Don Olmstead
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Don Olmstead
Comment 1
2018-11-01 17:08:16 PDT
Created
attachment 353663
[details]
Listing of all ENABLE_* in Source Here's a listing of all the ENABLE_* flags found in the source code at this time
Don Olmstead
Comment 2
2018-11-05 12:35:43 PST
Created
attachment 353900
[details]
Patch
Don Olmstead
Comment 3
2018-11-05 13:04:57 PST
Comment on
attachment 353900
[details]
Patch I searched in the XCode configs for ENABLE_* flags and if they weren't present I added them here. I found a few ENABLE_* that were no longer in use like ENABLE_IOS_AIRPLAY, ENABLE_WEB_CRYPTO and ENABLE_WEBVTT_REGIONS. I have some scripts around this hanging out locally. Perhaps in the future we can generate those two files rather than doing hand editing.
Michael Catanzaro
Comment 4
2018-11-05 14:11:42 PST
Comment on
attachment 353900
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=353900&action=review
Well you synced WebKitFeatures.cmake with FeatureList.pm, which is great, but what about the XCode build?
> Source/cmake/OptionsGTK.cmake:-139 > -WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_WEB_CRYPTO PUBLIC ON)
This is here to enable turning off ENABLE_SUBTLE_CRYPTO. We didn't want to expose ENABLE_SUBTLE_CRYPTO as a public option, because that's not a good name. So we exposed ENABLE_WEB_CRYPTO instead. I think we want to keep this build option for now. What we could do is get rid of ENABLE_SUBTLE_CRYPTO by renaming all uses to ENABLE_WEB_CRYTPO. Jiewen would need to approve that.
Ross Kirsling
Comment 5
2018-11-05 14:20:07 PST
Comment on
attachment 353900
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=353900&action=review
> Source/cmake/WebKitFeatures.cmake:-191 > - WEBKIT_OPTION_DEFINE(ENABLE_WEBVTT_REGIONS "Toggle webvtt region support" PRIVATE OFF)
Was this meant to be removed or just moved? There are a number of other occurrences:
https://github.com/WebKit/webkit/search?q=ENABLE_WEBVTT_REGIONS&unscoped_q=ENABLE_WEBVTT_REGIONS
Don Olmstead
Comment 6
2018-11-05 14:27:08 PST
(In reply to Michael Catanzaro from
comment #4
)
> Comment on
attachment 353900
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=353900&action=review
> > Well you synced WebKitFeatures.cmake with FeatureList.pm, which is great, > but what about the XCode build? > > > Source/cmake/OptionsGTK.cmake:-139 > > -WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_WEB_CRYPTO PUBLIC ON) > > This is here to enable turning off ENABLE_SUBTLE_CRYPTO. We didn't want to > expose ENABLE_SUBTLE_CRYPTO as a public option, because that's not a good > name. So we exposed ENABLE_WEB_CRYPTO instead. I think we want to keep this > build option for now. What we could do is get rid of ENABLE_SUBTLE_CRYPTO by > renaming all uses to ENABLE_WEB_CRYTPO. Jiewen would need to approve that.
Ok I'll back off of that then and open a bug against it. (In reply to Ross Kirsling from
comment #5
)
> Comment on
attachment 353900
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=353900&action=review
> > > Source/cmake/WebKitFeatures.cmake:-191 > > - WEBKIT_OPTION_DEFINE(ENABLE_WEBVTT_REGIONS "Toggle webvtt region support" PRIVATE OFF) > > Was this meant to be removed or just moved? > There are a number of other occurrences: >
https://github.com/WebKit/webkit/
> search?q=ENABLE_WEBVTT_REGIONS&unscoped_q=ENABLE_WEBVTT_REGIONS
There's no source files referencing them.
Don Olmstead
Comment 7
2018-12-03 10:21:38 PST
Created
attachment 356385
[details]
Patch
WebKit Commit Bot
Comment 8
2018-12-03 11:58:15 PST
Comment on
attachment 356385
[details]
Patch Clearing flags on attachment: 356385 Committed
r238809
: <
https://trac.webkit.org/changeset/238809
>
WebKit Commit Bot
Comment 9
2018-12-03 11:58:17 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug