Bug 170860 - [WinCairo] Consolidate CMake code related to CURL
Summary: [WinCairo] Consolidate CMake code related to CURL
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:
Depends on:
Blocks:
 
Reported: 2017-04-14 15:08 PDT by Don Olmstead
Modified: 2017-07-05 14:26 PDT (History)
5 users (show)

See Also:


Attachments
Patch with CMake changes (5.06 KB, patch)
2017-04-14 15:59 PDT, Don Olmstead
achristensen: review+
achristensen: commit-queue-
Details | Formatted Diff | Diff
Patch (5.39 KB, patch)
2017-07-05 13:44 PDT, 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 2017-04-14 15:08:06 PDT
Move common curl into a CMake file and use find_package to find CURL and OpenSSL.
Comment 1 Don Olmstead 2017-04-14 15:59:49 PDT
Created attachment 307163 [details]
Patch with CMake changes
Comment 2 Build Bot 2017-04-14 16:02:05 PDT
Attachment 307163 [details] did not pass style-queue:


ERROR: Source/WebCore/ChangeLog:8:  You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible.  [changelog/nonewtests] [5]
Total errors found: 1 in 7 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Alex Christensen 2017-04-14 23:30:45 PDT
Comment on attachment 307163 [details]
Patch with CMake changes

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

cool

> Source/WebCore/ChangeLog:8
> +        No new tests (OOPS!).

This can be removed.

> Source/WebCore/platform/Curl.cmake:21
> +if (CURL_FOUND)

If it's required, what does this check accomplish?
Comment 4 Don Olmstead 2017-04-17 12:24:23 PDT
(In reply to Alex Christensen from comment #3)
> Comment on attachment 307163 [details]
> Patch with CMake changes
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=307163&action=review
> 
> cool
> 
> > Source/WebCore/ChangeLog:8
> > +        No new tests (OOPS!).
> 
> This can be removed.

Doh!

> 
> > Source/WebCore/platform/Curl.cmake:21
> > +if (CURL_FOUND)
> 
> If it's required, what does this check accomplish?

This was more consistency with what was present in ImageDecoders.cmake. I don't personally think that its needed in that case either but annulen felt otherwise.
Comment 5 Don Olmstead 2017-07-05 13:44:49 PDT
Created attachment 314650 [details]
Patch
Comment 6 WebKit Commit Bot 2017-07-05 14:26:27 PDT
Comment on attachment 314650 [details]
Patch

Clearing flags on attachment: 314650

Committed r219156: <http://trac.webkit.org/changeset/219156>
Comment 7 WebKit Commit Bot 2017-07-05 14:26:28 PDT
All reviewed patches have been landed.  Closing bug.