Bug 180780 - [WPE] WebCrypto should be a public option.
Summary: [WPE] WebCrypto should be a public option.
Alias: None
Product: WebKit
Classification: Unclassified
Component: WPE WebKit (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Carlos Alberto Lopez Perez
Depends on:
Blocks: 179009
  Show dependency treegraph
Reported: 2017-12-13 16:21 PST by Carlos Alberto Lopez Perez
Modified: 2017-12-13 17:45 PST (History)
8 users (show)

See Also:

Patch (2.46 KB, patch)
2017-12-13 16:36 PST, Carlos Alberto Lopez Perez
no flags Details | Formatted Diff | Diff
Patch (2.46 KB, patch)
2017-12-13 16:45 PST, Carlos Alberto Lopez Perez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Alberto Lopez Perez 2017-12-13 16:21:35 PST
On bug 179009 the WebCrypto has been turned into a private option.
On top of that the dependency on libtasn1 and gcrypt > 1.6.0 has been forced even if one doesn't enable web_crypto by default.

I think this is wrong.
ENABLE_WEB_CRYPTO should remain a public option for WPE (at least as long as it is also public one on the GTK port).
Also, when this option is disabled the build dependencies on libtasn1 or gcrypt > 1.6.0 is not needed.

Making our build dependencies soft, makes easier to build WPE en embedded systems.
Please don't raise them more than strictly needed.

Also having public options allows external developers building systems to disable feature without having to dive into our cmake code.
Disabling features when don't needed allows for a lower footprint.
Let's try to keep public the options that make sense.
Comment 1 Carlos Alberto Lopez Perez 2017-12-13 16:36:53 PST
Created attachment 329283 [details]
Comment 2 EWS Watchlist 2017-12-13 16:38:51 PST
Attachment 329283 [details] did not pass style-queue:

ERROR: Source/cmake/OptionsWPE.cmake:86:  One space between command "endif" and its parentheses, should be "endif ("  [whitespace/parentheses] [5]
Total errors found: 1 in 2 files

If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Carlos Alberto Lopez Perez 2017-12-13 16:45:18 PST
Created attachment 329286 [details]

fix style
Comment 4 WebKit Commit Bot 2017-12-13 17:45:07 PST
Comment on attachment 329286 [details]

Clearing flags on attachment: 329286

Committed r225888: <https://trac.webkit.org/changeset/225888>
Comment 5 WebKit Commit Bot 2017-12-13 17:45:08 PST
All reviewed patches have been landed.  Closing bug.