128 Commits

Author SHA1 Message Date
Marshall Greenblatt
24c2f2fa38 Update to Chromium version 86.0.4240.0 ()
- CefURLRequest::Create is no longer supported in the renderer process
  (see https://crbug.com/891872). Use CefFrame::CreateURLRequest instead.
- Mac platform definitions have been changed from `MACOSX` to `MAC`
  (see https://crbug.com/1105907) and related CMake macro names have
  been updated. The old `OS_MACOSX` define is still set in code and CMake
  for backwards compatibility.
- Linux ARM build is currently broken (see https://crbug.com/1123214).
2020-09-03 17:44:25 -04:00
Marshall Greenblatt
9717d3e1da Add --distrib-subdir-suffix option to make_distrib 2020-08-03 14:37:24 -04:00
Marshall Greenblatt
d65483ae16 Update cef_api_hash.h at build time if necessary (fixes issue )
The cef_api_hash.h file was previously only updated when the translator tool
was run manually. Forgetting to run the translator tool after changing
include/internal/cef_types*.h files would result in cef_parser.py
incorrectly computing the CEF minor version number for future builds. By
updating this file automatically at build time the number of errors should be
reduced.
2020-04-30 17:52:10 -04:00
Iain Apreotesei
afcee77abe Windows: Add ARM64 binary distribution support (see issue ) 2020-02-19 16:33:27 +00:00
Alexander Guettler
71768ea6c3 Update to Chromium version 80.0.3987.0 () 2020-02-17 13:19:09 -05:00
Marshall Greenblatt
c629c5bb59 Fix tarfile issues by using GNU_FORMAT with Python 3.8 (see issue ) 2020-01-14 11:16:33 +01:00
Marshall Greenblatt
1a406d079b Use explicit check for python version (see issue ) 2020-01-13 11:53:36 +01:00
Marshall Greenblatt
e1132672ee make_distrib: Add Python 3 support (see issue ) 2020-01-12 13:45:46 +01:00
Marshall Greenblatt
b51a4de540 Windows: Fix cef_sandbox.lib link errors (fixes issue ) 2019-10-29 17:31:17 -04:00
Marshall Greenblatt
52c24ed061 Windows: Restore missing resources to binary distribution (fixes issue ) 2019-10-01 17:10:36 +03:00
Marshall Greenblatt
98527317a8 Revert "Windows: Add boringssl to cef_sandbox to fix VS2017 link error (fixes issue )"
This reverts commit 2cf916e6d5d45c5ffde9d619899b89e4ee107a28.

This change causes linker errors with third-party projects using VS2019 that also link openssl.

cef_sandbox.lib(err.obj) : error LNK2005: _ERR_get_error already defined in websockets.lib(mbedtls-client.obj)
cef_sandbox.lib(err.obj) : error LNK2005: _ERR_error_string already defined in websockets.lib(ssl_lib.obj)
cef_sandbox.lib(err.obj) : error LNK2005: _ERR_error_string_n already defined in websockets.lib(ssl_lib.obj)
cef_sandbox.lib(err.obj) : error LNK2005: _ERR_free_strings already defined in websockets.lib(ssl_lib.obj)
2019-08-29 14:53:10 -04:00
Marshall Greenblatt
5574d1c32f Windows: Add boringssl to cef_sandbox to fix VS2017 link error (fixes issue ) 2019-08-06 17:20:57 -04:00
David Sowa
f0c82200ba Add ARM64 build and binary distribution support (see issue )
Adds a new `--arm64-build` option to automate-git.py and make_distrib.py.
2019-06-13 11:52:32 +02:00
Marshall Greenblatt
c7701b8a61 Windows: Add arch-specific versions of d3dcompiler_47.dll (see issue )
This fixes an issue where the 64-bit version of d3dcompiler_47.dll would be
included with 32-bit binary distributions.
2019-05-15 14:36:58 +03:00
Marshall Greenblatt
bbabccf9aa Windows: Add d3dcompiler_47.dll version 10.0.17134.12
This change adds the d3dcompiler_47.dll version that was included with Windows
SDK 10.0.17134. The newer version of this file included with Windows SDK
10.0.17763 adds a dependency on the Universal C Runtime (api-ms-win-crt-*.dll)
which might not be installed on Windows 7 (requires KB2999226).
2019-05-07 15:25:25 -04:00
santosh mahto
491253fa03 Linux: Add support for ozone builds (fixes issue ).
Ozone builds can run with different platform backends (Wayland, X11, etc). Usage of the Views framework is required, and the cefclient sample application is not supported.

Example usage:

$ export GN_DEFINES="use_ozone=true"
$ cd /path/to/chromium/src/cef
$ ./cef_create_projects.sh
$ cd /path/to/chromium/src
$ ninja -C out/Release_GN_x64 cefsimple
$ ./out/Release_GN_x64/cefsimple --use-views --ozone-platform=wayland

Binary distributions can be created by passing the `--ozone` flag to make_distrib.py.
2019-04-23 17:00:14 +00:00
Marshall Greenblatt
07863c0d46 Use net/base/net_error_list.h to populate the cef_errorcode_t enum (fixes issue ) 2019-04-16 12:07:33 -04:00
Chris Dziemborowicz
1b9bc33bcf Mac: Fix undefined C++ symbols in cef_sandbox.a (see issue )
This change updates make_distrib.py to link in all of libc++ and libc++abi from the Chromium build when generating cef_sandbox.a. This increases the size of the release build of cef_sandbox.a from about 0.5 MB to about 2.0 MB, but it ensures that no C++ symbols are imported by the archive.

Linking cef_sandbox.a with an incompatible C++ library prior to this change could cause undefined behavior in the resulting binary.

To make sure that we do not regress this fix, this change also updates make_distrib.py to verify that no C++ symbols are imported by cef_sandbox.a after it is generated (in a way similar to the way we verify that cef_sandbox.a exports the correct symbols).
2019-03-16 17:12:19 +00:00
Marshall Greenblatt
2a40650926 Compute all version numbers using cef_version.py (see issue )
The version format can now be controlled by setting the CEF_OLD_VERSION_FORMAT
environment variable. The old format is currently the default.
2019-03-15 13:16:43 -04:00
Marshall Greenblatt
ae317a5bfd macOS: Export only CEF symbols from cef_sandbox.a (issue ) 2019-01-11 11:59:46 +01:00
Marshall Greenblatt
da53451f97 Update to Chromium version 71.0.3567.0 ()
- Configuration of OSR VSync interval is currently missing (issue )
- Rename VERSION to VERSION.in to fix libc++ compile error (issue )
2018-10-04 12:17:26 +03:00
Marshall Greenblatt
dec98a5534 macOS: Add support for and enable the V2 sandbox (issue )
The CEF_USE_SANDBOX define is now used on all platforms.
2018-07-27 22:33:31 -04:00
Marshall Greenblatt
fcad76b405 macOS: Load the CEF framework using dlopen instead of direct linking (issue )
This is a prerequisite for using the Chromium V2 sandbox.
2018-07-27 17:36:49 -04:00
Marshall Greenblatt
a3c55f1d26 Update to Chromium revision 9ef2aa86 () 2018-05-04 10:50:26 +02:00
Marshall Greenblatt
a1f47abaf6 Don't include locales/*.info files in distribution (issue ) 2018-03-28 18:20:10 -04:00
Marshall Greenblatt
a98c6b1f52 Linux: Fix creation of client distribution 2018-03-08 10:55:05 -05:00
Marshall Greenblatt
9e644b7538 Update to Chromium revision bc084a8b () 2018-02-19 17:38:04 -05:00
Marshall Greenblatt
14c030174e Linux: Add missing swiftshader binaries to distribution (issue ) 2017-12-18 11:07:45 -08:00
Marshall Greenblatt
7dcabf547b macOS: Fix build of widevinecdmadapter.plugin (issue ) 2017-12-04 12:41:57 -05:00
Marshall Greenblatt
486e69e23b Windows: Add missing swiftshader binaries to distribution (issue ) 2017-10-30 14:49:25 -04:00
Marshall Greenblatt
b0edce9c9d Windows: Add missing pe_image.lib to cef_sandbox.lib (issue ) 2017-09-20 11:34:30 +02:00
Marshall Greenblatt
a028976ac4 Update to Chromium revision fa6a5d87 () 2017-09-07 17:29:47 -04:00
Marshall Greenblatt
9cff99dc4e Add support for loading extensions (issue )
- Add CefRequestContext::LoadExtension, CefExtension, CefExtensionHandler and
  related methods/interfaces.
- Add chrome://extensions-support that lists supported Chrome APIs.
- Add CefBrowserHost::SetAutoResizeEnabled and CefDisplayHandler::OnAutoResize
  to support browser resize based on preferred web contents size.
- views: Add support for custom CefMenuButton popups.
- cefclient: Run with `--load-extension=set_page_color` command-line flag for
  an extension loading example. Add `--use-views` on Windows and Linux for an
  even better example.
2017-08-25 18:40:32 -04:00
Marshall Greenblatt
796c7b6c59 Windows: Build cef_sandbox.lib with different GN args for official binary distributions (issue ) 2017-07-18 15:52:18 -04:00
Marshall Greenblatt
5918d426b3 Fix gtest path (issue ) 2017-06-13 17:09:59 +03:00
Marshall Greenblatt
12150b43d2 Apply yapf formatting to all Python files (issue ) 2017-05-28 15:04:18 +02:00
Marshall Greenblatt
03ed733800 Windows: Fix missing InsertAllocatorDispatch symbol in cef_sandbox.lib (issue ) 2016-11-30 19:54:08 -05:00
Marshall Greenblatt
bd9a2c8069 Rename unittests to ceftests (issue ) 2016-11-18 12:44:46 -05:00
Marshall Greenblatt
8fee8ed05d Add unittests target to the binary distribution (issue )
- Move all tests from the top-level directory to tests/.
- Move files shared by cefclient and unittests to tests/shared/.
- Add a fused (single header/source file) version of gtest in
  tests/gtest/ with associated CMake configuration.
- Test-only headers are now exposed in include/test/. Unit test
  targets must define UNIT_TEST in order to access them.
- Replace usage of USING_CEF_SHARED with WRAPPING_CEF_SHARED for
  clarity (only the libcef_dll_wrapper target should define it).
- Remove the RENAME_DIRECTORY CMake macro which is no longer used.
- Remove C++11 usage from unittests sources for compatibility with
  the binary distribution configuration.
- Windows: Fix build errors due to chrome_elf.dll and imm32.lib
  missing from the CMake configuration.
2016-11-18 03:19:17 -05:00
Marshall Greenblatt
07d12b78e1 Update to Chromium revision 9cedf753 ()
- Simplify usage of OnBeforePluginLoad (issue )
- Switch crash reporting from crashpad to breakpad on Windows and OS X.
  Adds a new chrome_elf.dll dependency on Windows (issue )
- Remove CefTextfield::GetPlaceholderTextColor() method which is no
  longer supported by Chromium.
2016-10-20 16:54:25 -04:00
Marshall Greenblatt
a1fc6f1ad0 Add CefRegisterWidevineCdm function and remove component updater support (issue )
Mac: Check in widevinecdmadapter.plugin binary until Widevine GN build errors are resolved (https://crbug.com/626436).
2016-10-17 14:16:31 -04:00
Marshall Greenblatt
6158110063 Linux: Add ARM build support (issue ) 2016-09-09 18:04:39 -07:00
Marshall Greenblatt
96b368ed14 Mac: Fix typo in make_distrib.py 2016-09-02 16:58:13 +03:00
Marshall Greenblatt
1e84e0cfff Mac: Fix dSYM processing and add debug dSYM in make_distrib.py (issue ) 2016-09-01 12:21:14 +03:00
Marshall Greenblatt
c48cac8dc4 Mac: Fix dSYM path in make_distrib.py (issue ) 2016-08-30 18:45:11 +03:00
Marshall Greenblatt
c006dc7f0f Linux: Fix copying of libcef.so in make_distrib.py (issue ) 2016-08-25 06:12:45 -07:00
Marshall Greenblatt
da314f12fb Linux: Remove deleted key from make_distrib.py (issue ) 2016-08-25 13:21:07 +03:00
Marshall Greenblatt
968fbacac3 Remove GYP build support (issue ) 2016-08-08 14:31:57 +03:00
Marshall Greenblatt
d92bc1d200 Build with GN by default (issue ) 2016-07-20 18:27:37 -04:00
Marshall Greenblatt
88a8dad9c9 Generate pack header files using GN (issue ) 2016-07-20 16:40:23 -04:00