# jcefmaven/jcefbuild architecture

> Architecture diagram of the GitHub repository jcefmaven/jcefbuild, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/jcefmaven/jcefbuild
- Repository: https://github.com/jcefmaven/jcefbuild

## Overview

This repository produces binary JCEF artifacts for multiple operating systems and architectures. The main workflow is to supply or fetch JCEF sources, select a platform and build type, run a local build or GitHub Actions workflow, and obtain the resulting artifacts from Releases. The README also documents Apple signing/notarization and Linux/Windows Docker requirements. Only `scripts/patch_cmake.py` was sampled, so internal build-script calls and platform-specific wiring are not represented; documented relationships are cited to the README.

Main entry points: [`.github/workflows/build-all.yml`](https://github.com/jcefmaven/jcefbuild/blob/master/.github/workflows/build-all.yml) (Build workflows), [`compile_linux.sh`](https://github.com/jcefmaven/jcefbuild/blob/master/compile_linux.sh) (Linux build entry), [`compile_windows.bat`](https://github.com/jcefmaven/jcefbuild/blob/master/compile_windows.bat) (Windows build entry), [`compile_macosx.sh`](https://github.com/jcefmaven/jcefbuild/blob/master/compile_macosx.sh) (macOS build entry)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_inputs["Build inputs"]
  node_jcef_sources["JCEF sources"]
  node_cmake_patcher["CMake patcher<br/>[patch_cmake.py]"]
  node_cmake_patch["CMake architecture patch"]
end

subgraph group_local["Local builds"]
  node_local_linux["Linux build entry<br/>[compile_linux.sh]"]
  node_local_windows["Windows build entry"]
  node_local_macos["macOS build entry<br/>[compile_macosx.sh]"]
  node_linux_runner["Linux runner<br/>[run_linux.sh]"]
  node_linux_prebuild["Linux prebuild runner"]
  node_windows_runner["Windows runner<br/>[run_windows.bat]"]
end

subgraph group_automation["Automated builds"]
  node_workflow["Build workflows<br/>[build-all.yml]"]
  node_mac_signing["Apple signing<br/>[macosx_codesign.sh]"]
  node_mac_notarization["Apple notarization<br/>[macosx_notarize.sh]"]
end

subgraph group_delivery["Artifact delivery"]
  node_artifacts["JCEF artifacts"]
  node_releases(("GitHub Releases"))
end

node_developer(("Build user"))
node_upstream_repo(("Git repository"))
node_actions_user(("Actions user"))

node_developer -->|"provides sources"| node_jcef_sources
node_upstream_repo -->|"clones optionally"| node_jcef_sources
node_developer -->|"runs locally"| node_local_linux
node_developer -->|"runs locally"| node_local_windows
node_developer -->|"runs locally"| node_local_macos
node_actions_user -->|"triggers build"| node_workflow
node_workflow -->|"produces builds"| node_artifacts
node_local_linux -->|"produces builds"| node_artifacts
node_local_windows -->|"produces builds"| node_artifacts
node_local_macos -->|"produces builds"| node_artifacts
node_artifacts -->|"published on"| node_releases
node_workflow -.->|"signs optionally"| node_mac_signing
node_workflow -.->|"notarizes optionally"| node_mac_notarization

click node_jcef_sources "https://github.com/jcefmaven/jcefbuild/tree/master/jcef"
click node_local_linux "https://github.com/jcefmaven/jcefbuild/blob/master/compile_linux.sh"
click node_local_windows "https://github.com/jcefmaven/jcefbuild/blob/master/compile_windows.bat"
click node_local_macos "https://github.com/jcefmaven/jcefbuild/blob/master/compile_macosx.sh"
click node_linux_runner "https://github.com/jcefmaven/jcefbuild/blob/master/scripts/run_linux.sh"
click node_linux_prebuild "https://github.com/jcefmaven/jcefbuild/blob/master/scripts/run_linux_prebuild.sh"
click node_windows_runner "https://github.com/jcefmaven/jcefbuild/blob/master/scripts/run_windows.bat"
click node_cmake_patcher "https://github.com/jcefmaven/jcefbuild/blob/master/scripts/patch_cmake.py"
click node_cmake_patch "https://github.com/jcefmaven/jcefbuild/blob/master/patch/CMakeLists.txt.patch"
click node_workflow "https://github.com/jcefmaven/jcefbuild/blob/master/.github/workflows/build-all.yml"
click node_mac_signing "https://github.com/jcefmaven/jcefbuild/blob/master/macosx_codesign.sh"
click node_mac_notarization "https://github.com/jcefmaven/jcefbuild/blob/master/macosx_notarize.sh"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_jcef_sources,node_cmake_patcher,node_cmake_patch,node_developer,node_actions_user toneBlue
class node_local_linux,node_local_windows,node_local_macos,node_linux_runner,node_linux_prebuild,node_windows_runner toneAmber
class node_workflow,node_mac_signing,node_mac_notarization toneMint
class node_artifacts,node_releases toneRose
class node_upstream_repo toneIndigo
```

## Components

### Build inputs

- [JCEF sources](https://github.com/jcefmaven/jcefbuild/tree/master/jcef): `jcef`
- [CMake patcher](https://github.com/jcefmaven/jcefbuild/blob/master/scripts/patch_cmake.py): `scripts/patch_cmake.py`
- [CMake architecture patch](https://github.com/jcefmaven/jcefbuild/blob/master/patch/CMakeLists.txt.patch): `patch/CMakeLists.txt.patch`

### Local builds

- [Linux build entry](https://github.com/jcefmaven/jcefbuild/blob/master/compile_linux.sh): `compile_linux.sh`
- [Windows build entry](https://github.com/jcefmaven/jcefbuild/blob/master/compile_windows.bat): `compile_windows.bat`
- [macOS build entry](https://github.com/jcefmaven/jcefbuild/blob/master/compile_macosx.sh): `compile_macosx.sh`
- [Linux runner](https://github.com/jcefmaven/jcefbuild/blob/master/scripts/run_linux.sh): `scripts/run_linux.sh`
- [Linux prebuild runner](https://github.com/jcefmaven/jcefbuild/blob/master/scripts/run_linux_prebuild.sh): `scripts/run_linux_prebuild.sh`
- [Windows runner](https://github.com/jcefmaven/jcefbuild/blob/master/scripts/run_windows.bat): `scripts/run_windows.bat`

### Automated builds

- [Build workflows](https://github.com/jcefmaven/jcefbuild/blob/master/.github/workflows/build-all.yml): `.github/workflows/build-all.yml`
- [Apple signing](https://github.com/jcefmaven/jcefbuild/blob/master/macosx_codesign.sh): `macosx_codesign.sh`
- [Apple notarization](https://github.com/jcefmaven/jcefbuild/blob/master/macosx_notarize.sh): `macosx_notarize.sh`

### Artifact delivery

- **JCEF artifacts**
- **GitHub Releases**

### Other components

- **Build user**
- **Git repository**
- **Actions user**

## Connections

- Build user → JCEF sources: provides sources (evidence: `README.md`)
- Git repository → JCEF sources: clones optionally (evidence: `README.md`)
- Build user → Linux build entry: runs locally (evidence: `README.md`)
- Build user → Windows build entry: runs locally (evidence: `README.md`)
- Build user → macOS build entry: runs locally (evidence: `README.md`)
- Actions user → Build workflows: triggers build (evidence: `README.md`)
- Build workflows → JCEF artifacts: produces builds (evidence: `README.md`)
- Linux build entry → JCEF artifacts: produces builds (evidence: `README.md`)
- Windows build entry → JCEF artifacts: produces builds (evidence: `README.md`)
- macOS build entry → JCEF artifacts: produces builds (evidence: `README.md`)
- JCEF artifacts → GitHub Releases: published on (evidence: `README.md`)
- Build workflows → Apple signing: signs optionally (evidence: `README.md`)
- Build workflows → Apple notarization: notarizes optionally (evidence: `README.md`)
