Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

6478 #485

Draft
wants to merge 107 commits into
base: master
Choose a base branch
from
Draft

6478 #485

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
94d3434
Fix building on MacOS
ds58 Apr 28, 2022
246e81f
Add CEF framework path and bundle path to settings (MacOS fix)
ds58 Apr 28, 2022
314529c
Update CMakeLists.txt
ds58 Jun 17, 2022
0d29b23
Add IntelliJ IDEA files to gitignore
ds58 Jan 21, 2023
91dfd48
Change visibility of CefBrowserOsr and CefBrowser_N
ds58 Jan 21, 2023
6074b4c
Remove JOGL references, change native library loading system, add mac…
ds58 Jan 21, 2023
8ae8564
Remove various implementation of CefRenderer from CefBrowserOsr
ds58 Jan 21, 2023
93aea8d
Delete doMessageLoopWork implementation, delete CefRenderer
ds58 Jan 22, 2023
6f9ddcb
Add dummy parent component
ds58 Jan 23, 2023
09d0d85
Update README.md
ds58 Feb 4, 2023
01c41e7
Download CEF from cinemamod mirror
ds58 Feb 9, 2023
be53a3c
Merge branch 'master' of https://github.com/CinemaMod/java-cef
ds58 Feb 9, 2023
bfaa5de
Don't check download hashes for now
ds58 Feb 11, 2023
5f13149
Cmake find JNI
ds58 Feb 11, 2023
088b1d4
buildtools: Update to depot_tools rev 7bb5c487f
magreenblatt Oct 3, 2022
00c23d5
Merge upstream, CEF 5359
ds58 Feb 19, 2023
36c0b62
Update CEF branch to 5359
ds58 Feb 19, 2023
09d44b2
small forge compat change, unsure exactly how necessary it'll be, but…
GiantLuigi4 Aug 6, 2023
e4dbdea
start migrating off awt
GiantLuigi4 Aug 7, 2023
9f3ae05
more glfw porting
GiantLuigi4 Aug 7, 2023
793d646
Update README.md
ds58 Aug 7, 2023
1038540
glfw-ify mouse events
GiantLuigi4 Aug 7, 2023
9f78815
should be done with the events
GiantLuigi4 Aug 7, 2023
0dc4f4a
Merge branch 'CinemaMod:master' into master
GiantLuigi4 Aug 7, 2023
63ee43e
actually, I'll undo this for now
GiantLuigi4 Aug 7, 2023
ebcc7c8
Merge remote-tracking branch 'origin/master'
GiantLuigi4 Aug 7, 2023
ebf4292
realized this is useful
GiantLuigi4 Aug 8, 2023
719493d
realized that only mouse exit and mouse move is meaningful
GiantLuigi4 Aug 8, 2023
97173bb
variables for key constants, add basic notes on what the constants are
GiantLuigi4 Aug 8, 2023
ab05420
apparently I messed this number up
GiantLuigi4 Aug 8, 2023
e86d264
follow ds's comments
GiantLuigi4 Aug 8, 2023
2fddac2
cleanup
GiantLuigi4 Aug 8, 2023
bf384e9
Merge pull request #2 from GiantLuigi4/master
ds58 Aug 8, 2023
df8a667
remove need for awt canvas
GiantLuigi4 Aug 8, 2023
d8eca50
Merge branch 'CinemaMod:master' into master
GiantLuigi4 Aug 8, 2023
e10d321
no awt, except for in like drag events
GiantLuigi4 Aug 9, 2023
5df3240
finish glfw migration completely(?)
GiantLuigi4 Aug 9, 2023
6321e4b
Merge remote-tracking branch 'origin/master'
GiantLuigi4 Aug 9, 2023
00bad07
Merge pull request #3 from GiantLuigi4/master
ds58 Aug 9, 2023
dcb4144
don't map mouse types, but I'm gonna wanna make a java enum for that …
GiantLuigi4 Aug 9, 2023
37e09ab
Merge branch 'CinemaMod:master' into master
GiantLuigi4 Aug 9, 2023
70e55dc
Merge pull request #4 from GiantLuigi4/master
ds58 Aug 9, 2023
d3b5607
cursor types
GiantLuigi4 Aug 9, 2023
d3cf009
Merge branch 'CinemaMod:master' into master
GiantLuigi4 Aug 9, 2023
bb11155
remove some setFocus calls from CefClient, as they cause errors
GiantLuigi4 Aug 9, 2023
c3ae3b6
Merge remote-tracking branch 'origin/master'
GiantLuigi4 Aug 9, 2023
0ad5c38
I always forget access modifiers on enum fields and methods
GiantLuigi4 Aug 9, 2023
704cc28
Merge pull request #6 from GiantLuigi4/master
ds58 Aug 9, 2023
f1aa06d
Load jawt in CefApp if on Linux
ds58 Aug 9, 2023
7c00f03
hopefully this stops linking against awt?
GiantLuigi4 Aug 10, 2023
00753f0
Merge remote-tracking branch 'origin/master'
GiantLuigi4 Aug 10, 2023
acb42cf
Merge branch 'CinemaMod:master' into master
GiantLuigi4 Aug 10, 2023
1d12c55
Merge pull request #7 from GiantLuigi4/master
ds58 Aug 10, 2023
7b2416f
Revert "Load jawt in CefApp if on Linux"
ds58 Aug 10, 2023
8a273dc
Make broken tests at least compile
ds58 Aug 10, 2023
58d9408
Use new mcef-downloads to download CEF. Fix compile issue on macOS
ds58 Aug 10, 2023
bd9372c
Add the ability to run a custom shutdown after a macOS termination ev…
ds58 Aug 10, 2023
c742c4e
Revert "Cmake find JNI"
ds58 Aug 10, 2023
564afc5
Github workflow, fix windows compile
ds58 Aug 11, 2023
9e4d28a
Remove workflow
ds58 Aug 12, 2023
319e026
Merge pull request #9 from ds58/windows-compile
ds58 Aug 12, 2023
18e6289
apply a change that was made to windows, but do it to linux
GiantLuigi4 Aug 12, 2023
ab40fc0
Upload workflow artifacts to s3
ds58 Aug 12, 2023
70ae22c
Upload workflow artifacts to s3
ds58 Aug 12, 2023
c606cde
Merge branch 'master' of https://github.com/ds58/java-cef
ds58 Aug 12, 2023
dc8e9b9
Merge pull request #10 from ds58/master
ds58 Aug 12, 2023
53ffd2e
Change workflow events
ds58 Aug 12, 2023
73cd8b1
Add pull_request to workflow events
ds58 Aug 12, 2023
173d0ac
Flatten build archives
ds58 Aug 12, 2023
84278d2
Merge pull request #11 from CinemaMod/build-changes
ds58 Aug 12, 2023
45c6017
remove some unused code
GiantLuigi4 Aug 12, 2023
686a0ae
Merge branch 'CinemaMod:master' into master
GiantLuigi4 Aug 13, 2023
9999792
remove some code from jni_util.h
GiantLuigi4 Aug 13, 2023
abec581
Update workflow events
ds58 Aug 13, 2023
59e83ef
Revert "Update workflow events"
ds58 Aug 13, 2023
50a4640
Update workflow events
ds58 Aug 13, 2023
9b45d17
Merge branch 'CinemaMod:master' into master
GiantLuigi4 Aug 13, 2023
ec593c9
remove some awt code from the java side
GiantLuigi4 Aug 13, 2023
2c2f8d3
Merge remote-tracking branch 'origin/master'
GiantLuigi4 Aug 13, 2023
dd27745
Checkout to github.ref in workflow
ds58 Aug 13, 2023
b01a7b5
Merge branch 'CinemaMod:master' into master
GiantLuigi4 Aug 13, 2023
65460f6
Checkout to pr ref in workflow
ds58 Aug 13, 2023
e7398d2
Merge branch 'CinemaMod:master' into master
GiantLuigi4 Aug 13, 2023
c8523c8
Revert workflow changes
ds58 Aug 13, 2023
d75c4b7
Merge pull request #12 from GiantLuigi4/master
ds58 Aug 13, 2023
162b91d
Make tests compile
ds58 Aug 13, 2023
79863e9
Merge pull request #13 from CinemaMod/fix-tests
ds58 Aug 13, 2023
a6e4325
Scrolling improvements, especially on macos
ds58 Aug 13, 2023
bf782ad
Merge pull request #14 from CinemaMod/scrolling-improvements
ds58 Aug 13, 2023
8a43102
start of audio stuff
GiantLuigi4 Sep 23, 2023
cdca73f
forgot to rename some stuff
GiantLuigi4 Sep 23, 2023
e65c8d4
just realized I should add this comment ASAP
GiantLuigi4 Sep 23, 2023
73dad8d
close to building... unsure what on earth to do about this last error?
GiantLuigi4 Sep 23, 2023
a328fb2
jcef native builds!
GiantLuigi4 Sep 23, 2023
fed8745
switch this to float[] instead of float[][]
GiantLuigi4 Sep 23, 2023
e1e37d1
getting close -- got an issue with onAudioStreamPacket and need to ma…
GiantLuigi4 Sep 24, 2023
99ec48a
it's close, just need bindings for CefAudioParameters I believe
GiantLuigi4 Sep 24, 2023
110abb6
audio handler complete I think
GiantLuigi4 Sep 25, 2023
21d0880
Fix compile issue in audio_handler.cpp
ds58 Sep 26, 2023
6a539d0
getAudioParameters should return false by default
GiantLuigi4 Sep 26, 2023
c45c1a8
Merge pull request #15 from CinemaMod/audio
ds58 Oct 1, 2023
97c4945
Fix merge conflicts
ds58 Oct 27, 2023
2ca974e
Merge pull request #16 from CinemaMod/5845
ds58 Oct 31, 2023
d5e3cec
Add import, fix compile
ds58 Oct 31, 2023
76b3deb
Update CEF branch to 6478
ds58 Oct 4, 2024
cb15980
Update build-jcef.yml
ds58 Oct 4, 2024
81dba0e
Merge branch 'master' into 6478
ds58 Oct 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
95 changes: 95 additions & 0 deletions .github/workflows/build-jcef.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
name: Build java-cef

on:
push:
branches:
- master
workflow_dispatch:

jobs:
java-cef-linux:
runs-on: [ubuntu-20.04]
strategy:
matrix:
platform: [amd64, arm64]
steps:
- name: Upload mask
run: echo "::add-mask::${{ secrets.UPLOAD_URL }}"
- uses: actions/checkout@v3
- name: Install deps and build
run: |
sudo apt update
sudo apt install build-essential g++ cmake ninja-build openjdk-17-jdk python3 libgtk2.0-dev s3cmd -y
mkdir jcef_build && cd jcef_build
export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64
export JAVA_INCLUDE_PATH=/usr/lib/jvm/java-17-openjdk-amd64/include
cmake -G "Ninja" -DPROJECT_ARCH=${{ matrix.platform }} -DCMAKE_BUILD_TYPE=Release ..
ninja -j4
mv native/Release linux_${{ matrix.platform }}
strip linux_${{ matrix.platform }}/libcef.so
tar -czf linux_${{ matrix.platform }}.tar.gz linux_${{ matrix.platform }}
sha256sum linux_${{ matrix.platform }}.tar.gz > linux_${{ matrix.platform }}.tar.gz.sha256
- name: Copy s3cfg
run: echo "${{ secrets.S3_CFG }}" > ~/.s3cfg
- name: Upload java-cef build
run: |
s3cmd put -P /home/runner/work/java-cef/java-cef/jcef_build/linux_${{ matrix.platform }}.tar.gz s3://mcef-us-1/java-cef-builds/${{ github.sha }}/linux_${{ matrix.platform }}.tar.gz
s3cmd put -P /home/runner/work/java-cef/java-cef/jcef_build/linux_${{ matrix.platform }}.tar.gz.sha256 s3://mcef-us-1/java-cef-builds/${{ github.sha }}/linux_${{ matrix.platform }}.tar.gz.sha256
java-cef-windows:
runs-on: [windows-2022]
strategy:
matrix:
platform: [amd64, arm64]
steps:
- name: Upload mask
run: echo "::add-mask::${{ secrets.UPLOAD_URL }}"
- uses: actions/checkout@v3
- uses: ilammy/msvc-dev-cmd@v1
- name: Install s3cmd
run: |
pip install python-dateutil
Invoke-WebRequest -Uri "https://github.com/s3tools/s3cmd/archive/master.zip" -OutFile "D:\s3cmd.zip"
Expand-Archive -Path "D:\s3cmd.zip" -DestinationPath "D:\s3cmd"
- name: Build
run: |
mkdir jcef_build && cd jcef_build
cmake -G "Ninja" -DPROJECT_ARCH=${{ matrix.platform }} -DCMAKE_BUILD_TYPE=Release ..
ninja -j4
cd native
ren Release windows_${{ matrix.platform }}
cd ..
move native/windows_${{ matrix.platform }} windows_${{ matrix.platform }}
tar -czf windows_${{ matrix.platform }}.tar.gz windows_${{ matrix.platform }}
Get-FileHash -Algorithm SHA256 -Path "windows_${{ matrix.platform }}.tar.gz" | Out-File "windows_${{ matrix.platform }}.tar.gz.sha256"
- name: Copy s3cfg
run: echo "${{ secrets.S3_CFG }}" > "$HOME\AppData\Roaming\s3cmd.ini"
- name: Upload java-cef build
run: |
python D:\s3cmd\s3cmd-master\s3cmd put -P D:\a\java-cef\java-cef\jcef_build\windows_${{ matrix.platform }}.tar.gz s3://mcef-us-1/java-cef-builds/${{ github.sha }}/windows_${{ matrix.platform }}.tar.gz
python D:\s3cmd\s3cmd-master\s3cmd put -P D:\a\java-cef\java-cef\jcef_build\windows_${{ matrix.platform }}.tar.gz.sha256 s3://mcef-us-1/java-cef-builds/${{ github.sha }}/windows_${{ matrix.platform }}.tar.gz.sha256
java-cef-macos:
runs-on: [macos-12]
strategy:
matrix:
platform: [amd64, arm64]
steps:
- name: Upload mask
run: echo "::add-mask::${{ secrets.UPLOAD_URL }}"
- uses: actions/checkout@v3
- run: |
brew install ninja
brew install coreutils
brew install s3cmd
sudo xcode-select --switch /Applications/Xcode_13.1.app
mkdir jcef_build && cd jcef_build
cmake -G "Ninja" -DPROJECT_ARCH=${{ matrix.platform }} -DCMAKE_BUILD_TYPE=Release ..
ninja -j4
mv native/Release macos_${{ matrix.platform }}
tar -czf macos_${{ matrix.platform }}.tar.gz macos_${{ matrix.platform }}
sha256sum macos_${{ matrix.platform }}.tar.gz > macos_${{ matrix.platform }}.tar.gz.sha256
- name: Copy s3cfg
run: echo "${{ secrets.S3_CFG }}" > ~/.s3cfg
- name: Upload java-cef build
run: |
s3cmd put -P /Users/runner/work/java-cef/java-cef/jcef_build/macos_${{ matrix.platform }}.tar.gz s3://mcef-us-1/java-cef-builds/${{ github.sha }}/macos_${{ matrix.platform }}.tar.gz
s3cmd put -P /Users/runner/work/java-cef/java-cef/jcef_build/macos_${{ matrix.platform }}.tar.gz.sha256 s3://mcef-us-1/java-cef-builds/${{ github.sha }}/macos_${{ matrix.platform }}.tar.gz.sha256
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,6 @@ Thumbs.db
/tools/buildtools/linux64/clang-format
/tools/buildtools/mac/clang-format
/tools/buildtools/win/clang-format.exe
.idea
*.iml
.vscode
9 changes: 7 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,14 @@ set_property(GLOBAL PROPERTY OS_FOLDERS ON)
# CEF configuration.
#

# Specify the CEF branch
if(NOT DEFINED CEF_BRANCH)
set(CEF_BRANCH "6478")
endif()

# Specify the CEF distribution version.
if(NOT DEFINED CEF_VERSION)
set(CEF_VERSION "116.0.19+gc6a20bc+chromium-116.0.5845.141")
set(CEF_VERSION "126.2.19+ga5d51ba+chromium-126.0.6478.183")
endif()

# Determine the platform.
Expand Down Expand Up @@ -165,7 +170,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake")

# Download and extract the CEF binary distribution (executes DownloadCEF.cmake).
include(DownloadCEF)
DownloadCEF("${CEF_PLATFORM}" "${CEF_VERSION}" "${CMAKE_SOURCE_DIR}/third_party/cef")
DownloadCEF("${CEF_PLATFORM}" "${CEF_BRANCH}" "${CEF_VERSION}" "${CMAKE_SOURCE_DIR}/third_party/cef")

# Add the CEF binary distribution's cmake/ directory to the module path.
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CEF_ROOT}/cmake")
Expand Down
57 changes: 2 additions & 55 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,55 +1,2 @@
The Java Chromium Embedded Framework (JCEF) is a simple framework for embedding Chromium-based browsers in other applications using the Java programming language.

# Quick Links

* Building JCEF - https://bitbucket.org/chromiumembedded/java-cef/wiki/BranchesAndBuilding
* Support Forum - http://magpcss.org/ceforum/viewforum.php?f=17
* Issue Tracker - https://github.com/chromiumembedded/java-cef/issues
* Downloads - https://github.com/jcefmaven/jcefbuild
* Maven/Gradle Artifacts - https://github.com/jcefmaven/jcefmaven
* Donations - http://www.magpcss.org/ceforum/donate.php

# Introduction

CEF is a BSD-licensed open source project founded by Marshall Greenblatt in 2008 and based on the [Google Chromium](http://www.chromium.org/Home) project. Unlike the Chromium project itself, which focuses mainly on Google Chrome application development, CEF focuses on facilitating embedded browser use cases in third-party applications. CEF insulates the user from the underlying Chromium and Blink code complexity by offering production-quality stable APIs, release branches tracking specific Chromium releases, and binary distributions. Most features in CEF have default implementations that provide rich functionality while requiring little or no integration work from the user. There are currently over 100 million installed instances of CEF around the world embedded in products from a wide range of companies and industries. A partial list of companies and products using CEF is available on the [CEF Wikipedia page](http://en.wikipedia.org/wiki/Chromium_Embedded_Framework#Applications_using_CEF). Some use cases for CEF include:

* Embedding an HTML5-compliant Web browser control in an existing native application.
* Creating a light-weight native “shell” application that hosts a user interface developed primarily using Web technologies.
* Rendering Web content “off-screen” in applications that have their own custom drawing frameworks.
* Acting as a host for automated testing of existing Web properties and applications.

CEF supports a wide range of programming languages and operating systems and can be easily integrated into both new and existing applications. It was designed from the ground up with both performance and ease of use in mind. The base framework includes C and C++ programming interfaces exposed via native libraries that insulate the host application from Chromium and Blink implementation details. It provides close integration between the browser and the host application including support for custom plugins, protocols, JavaScript objects and JavaScript extensions. The host application can optionally control resource loading, navigation, context menus, printing and more, while taking advantage of the same performance and HTML5 technologies available in the Google Chrome Web browser.

This project provides a Java Wrapper for CEF (JCEF).

# Building JCEF

The JCEF project is an extension of the Chromium Embedded Framework (CEF) project hosted at https://bitbucket.org/chromiumembedded/cef/. JCEF maintains a development branch that tracks the most recent CEF3 release branch. JCEF source code can be downloaded, built and packaged into a binary distribution. Once you have created the binary distribution for your platform you can distribute it as a stand-alone package without further dependencies on the JCEF, CEF or Chromium source code. Visit the [BranchesAndBuilding](https://bitbucket.org/chromiumembedded/java-cef/wiki/BranchesAndBuilding) Wiki page for detailed instructions.

# Helping Out

JCEF is still very much a work in progress. Some ways that you can help out:

\- Vote for issues in the [JCEF issue tracker](https://github.com/chromiumembedded/java-cef/issues) that are important to you. This helps with development prioritization.

\- Report any bugs that you find or feature requests that are important to you. Make sure to first search for existing issues before creating new ones. Please use the [JCEF Forum](http://magpcss.org/ceforum/viewforum.php?f=17) and not the issue tracker for usage questions. Each JCEF issue should:

* Include the JCEF revision, CEF revision or binary distribution version.
* Include information about your OS and compiler version.
* If the issue is a bug please provide detailed reproduction information.
* If the issue is a feature please describe why the feature is beneficial.

\- Write unit tests for new or existing functionality.

\- Pull requests and patches are welcome. View open issues in the [JCEF issue tracker](https://github.com/chromiumembedded/java-cef/issues) or search for TODO(cef) in the source code for ideas.

If you would like to contribute source code changes to JCEF please follow the below guidelines:

\- Create or find an appropriate issue for each distinct bug, feature or change.

\- Submit a [pull request](https://bitbucket.org/chromiumembedded/java-cef/wiki/ContributingWithGit) or create a patch with your changes and attach it to the JCEF issue. Changes should:

* Be submitted against the current [JCEF master branch](https://bitbucket.org/chromiumembedded/java-cef/src/?at=master) unless explicitly fixing a bug in a CEF release branch.
* Follow the style of existing JCEF source files. In general JCEF uses the [Chromium coding style](http://www.chromium.org/developers/coding-style).
* Include new or modified unit tests as appropriate to the functionality.
* Not include unnecessary or unrelated changes.
# MCEF java-cef
Modified version of java-cef for use with MCEF
12 changes: 6 additions & 6 deletions cmake/DownloadCEF.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Visit https://cef-builds.spotifycdn.com/index.html for the list of
# supported platforms and versions.

function(DownloadCEF platform version download_dir)
function(DownloadCEF platform branch version download_dir)
# Specify the binary distribution type and download directory.
set(CEF_DISTRIBUTION "cef_binary_${version}_${platform}")
set(CEF_DOWNLOAD_DIR "${download_dir}")
Expand All @@ -21,19 +21,19 @@ function(DownloadCEF platform version download_dir)
set(CEF_DOWNLOAD_FILENAME "${CEF_DISTRIBUTION}.tar.bz2")
set(CEF_DOWNLOAD_PATH "${CEF_DOWNLOAD_DIR}/${CEF_DOWNLOAD_FILENAME}")
if(NOT EXISTS "${CEF_DOWNLOAD_PATH}")
set(CEF_DOWNLOAD_URL "https://cef-builds.spotifycdn.com/${CEF_DOWNLOAD_FILENAME}")
set(CEF_DOWNLOAD_URL "https://mcef-download.cinemamod.com/cef-builds/${branch}/${CEF_DOWNLOAD_FILENAME}")
string(REPLACE "+" "%2B" CEF_DOWNLOAD_URL_ESCAPED ${CEF_DOWNLOAD_URL})

# Download the SHA1 hash for the binary distribution.
message(STATUS "Downloading ${CEF_DOWNLOAD_PATH}.sha1 from ${CEF_DOWNLOAD_URL_ESCAPED}...")
file(DOWNLOAD "${CEF_DOWNLOAD_URL_ESCAPED}.sha1" "${CEF_DOWNLOAD_PATH}.sha1")
file(READ "${CEF_DOWNLOAD_PATH}.sha1" CEF_SHA1)
# message(STATUS "Downloading ${CEF_DOWNLOAD_PATH}.sha1 from ${CEF_DOWNLOAD_URL_ESCAPED}...")
# file(DOWNLOAD "${CEF_DOWNLOAD_URL_ESCAPED}.sha1" "${CEF_DOWNLOAD_PATH}.sha1")
# file(READ "${CEF_DOWNLOAD_PATH}.sha1" CEF_SHA1)

# Download the binary distribution and verify the hash.
message(STATUS "Downloading ${CEF_DOWNLOAD_PATH}...")
file(
DOWNLOAD "${CEF_DOWNLOAD_URL_ESCAPED}" "${CEF_DOWNLOAD_PATH}"
EXPECTED_HASH SHA1=${CEF_SHA1}
# EXPECTED_HASH SHA1=${CEF_SHA1}
SHOW_PROGRESS
)
endif()
Expand Down
Loading