Bug 198403 - [CMake] Add WebKit::JavaScriptCore target
Summary: [CMake] Add WebKit::JavaScriptCore target
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CMake (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Don Olmstead
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-30 18:50 PDT by Don Olmstead
Modified: 2019-06-03 10:04 PDT (History)
5 users (show)

See Also:


Attachments
WIP Patch (10.03 KB, patch)
2019-05-31 14:39 PDT, Don Olmstead
no flags Details | Formatted Diff | Diff
Patch (13.30 KB, patch)
2019-05-31 18:34 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 2019-05-30 18:50:53 PDT
Add Webkit::JavaScriptCore target.
Comment 1 Don Olmstead 2019-05-31 14:39:34 PDT Comment hidden (obsolete)
Comment 2 Don Olmstead 2019-05-31 18:34:03 PDT
Created attachment 371100 [details]
Patch
Comment 3 Konstantin Tokarev 2019-05-31 18:46:22 PDT
Comment on attachment 371100 [details]
Patch

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

> Source/JavaScriptCore/CMakeLists.txt:295
> +add_dependencies(LLIntOffsetsExtractor JavaScriptCore_CopyHeaders)

Don't we have a dependency cycle here? JavaScriptCore depends on LLIntOffsetsExtractor, JavaScriptCore_CopyHeaders depends on JavaScriptCore, and here LLIntOffsetsExtractor depends on JavaScriptCore_CopyHeaders
Comment 4 Don Olmstead 2019-05-31 18:56:00 PDT
(In reply to Konstantin Tokarev from comment #3)
> Comment on attachment 371100 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=371100&action=review
> 
> > Source/JavaScriptCore/CMakeLists.txt:295
> > +add_dependencies(LLIntOffsetsExtractor JavaScriptCore_CopyHeaders)
> 
> Don't we have a dependency cycle here? JavaScriptCore depends on
> LLIntOffsetsExtractor, JavaScriptCore_CopyHeaders depends on JavaScriptCore,
> and here LLIntOffsetsExtractor depends on JavaScriptCore_CopyHeaders

No that’s broken here. The JavaScriptCore_CopyHeaders doesn’t depend on anything.
Comment 5 WebKit Commit Bot 2019-06-03 10:04:41 PDT
Comment on attachment 371100 [details]
Patch

Clearing flags on attachment: 371100

Committed r246039: <https://trac.webkit.org/changeset/246039>
Comment 6 WebKit Commit Bot 2019-06-03 10:04:43 PDT
All reviewed patches have been landed.  Closing bug.