Repository navigation
Commit a9d3d11
committed
[Swift in WebKit] Work towards modularizing JSC private headers (Part 1)
https://bugs.webkit.org/show_bug.cgi?id=296551
rdar://156880843
Reviewed by Keith Miller.
This is step 1 towards creating a private module for JavaScriptCore, which in itself
is another step towards facilitating full Swift-Cxx interop in WebKit. Currently, the
WebKit-related modules that exist are:
* WebKit
* WebKit_Private
* WebKit_Internal
* bmalloc
* wtf
* JavaScriptCore
This works towards the introduction of JavaScriptCore_Private; since modules have
stricter requirements than textual includes, headers that belong to a module must be
imported using angle brackets instead of quotation marks. This style of including has
precedent via the previously mentioned modules, and so this also makes things more consistent.
To address this, all of the imports of private headers are changed to use angle
brackets instead of quotation marks. The only other change in this set of changes is to
re-sort the imports, along with these minor related changes:
* JavaScriptCore's CMakeLists.txt and WebKitMacros.cmake is updated to accomodate Linux and Windows builds to work properly with angled bracket imports.
* A few more private headers are made project-level when possible
Canonical link: https://commits.webkit.org/298358@main1 parent 1880bd0 commit a9d3d11
717 files changed
Lines changed: 2301 additions & 2164 deletions
File tree
- Source
- JavaScriptCore
- API
- JavaScriptCore.xcodeproj
- assembler
- b3
- air
- builtins
- bytecode
- bytecompiler
- debugger
- dfg
- disassembler
- domjit
- ftl
- heap
- inspector
- agents
- augmentable
- remote
- scripts/codegen
- interpreter
- jit
- llint
- parser
- profiler
- runtime
- tools
- wasm
- js
- yarr
- WebCore/WebCore.xcodeproj
- cmake
- Tools/DumpRenderTree/DumpRenderTree.xcodeproj
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments