368 Commits

Author SHA1 Message Date
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
Marshall Greenblatt
aa42db6e25 automate-git: Fix .gclient file format for updated depot_tools (fixes issue ) 2019-03-27 13:03:52 -04:00
Marshall Greenblatt
b3468451f5 Linux: Load additional binaries from DIR_ASSETS (fixes issue )
This adds *.pak, locales/*.pak , chrome-sandbox, libGLESv2.so, libEGL.so and
swiftshader/*.so to the list of binaries that will be loaded from the libcef.so
directory instead of the executable directory by default.
2019-03-20 14:14:49 -04:00
Marshall Greenblatt
48f7c67587 cefbuilds: Encode plus signs in filenames (see issue ) 2019-03-20 09:59:28 -04:00
Marshall Greenblatt
e7d8dd5ef7 Enable new version number format by default (see issue )
To continue using the old format set the CEF_OLD_VERSION_FORMAT=1 environment
variable before building.
2019-03-18 16:55:23 -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
872f25dcc6 cefbuilds: Add support for new version number format (see issue ) 2019-03-15 13:16:50 -04: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
a76f40eb83 Add cef_api_hash.h generated by the translator tool (see issue )
This splits out the API hashes from the cef_version.h file which is generated at
build time. Changes to the cef_api_hash.h file are committed to the repo and
represent potentially breaking API changes. This commit history will be used to
calculate the version number.
2019-03-14 12:44:24 -04:00
Mike Wiedenbauer
58e1149c71 Add ability to capture audio output to buffer (issue ) 2019-03-07 17:09:54 -05:00
Marshall Greenblatt
5a1c642431 Update to Chromium version 74.0.3706.0 () 2019-02-25 12:09:54 -05:00
Marshall Greenblatt
6bfb5ab33b Remove old approach for debugging leaked wrapper object references (issue ) 2019-02-14 17:08:44 -05:00
Marshall Greenblatt
3fe062a5b6 Implement new approach for debugging leaked wrapper object references (issue ) 2019-02-14 17:08:43 -05:00
Marshall Greenblatt
7aae02e411 Enable iterator debugging (_ITERATOR_DEBUG_LEVEL=2) for official cef_sandbox Debug builds (issue ) 2019-02-13 14:11:54 -05:00
Marshall Greenblatt
ae317a5bfd macOS: Export only CEF symbols from cef_sandbox.a (issue ) 2019-01-11 11:59:46 +01:00
Marshall Greenblatt
f5a3fd6430 Windows: Add MS BuildTools support to msvs_env.bat (issue ) 2018-11-15 15:24:37 -05:00
Marshall Greenblatt
a7e997e524 Update to Chromium version 72.0.3599.0 () 2018-11-05 13:31:55 -05:00
Marshall Greenblatt
315b57e9f7 Update to Chromium version 71.0.3578.0 () 2018-10-25 12:57:05 -04: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
e8e0f1f6c6 Linux: Remove GTK build dependency (issue ) 2018-09-06 02:29:45 -07:00
Marshall Greenblatt
a64237bcb0 Update to Chromium version 70.0.3538.0 ()
Known issues:
- The CefLoadCRLSetsFile function needs to be re-implemented (see issue ).
- Linux: GTK2 support has been removed. The cefclient sample needs to be updated
  to use GTK3 (see issue ).
2018-09-05 15:42:42 +02:00
Marshall Greenblatt
4cc3a221c3 macOS: Update README.txt for distribution content changes 2018-07-30 16:15:19 -04: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
6a76bdb040 Revert "Disable cfi-icall which is not supported by the CEF bindings layer (issue )"
This reverts commit 66b5dc3d5558520a471f21b746ba3848da00fa16.
2018-07-12 10:58:49 -07:00
Marshall Greenblatt
0d12959a50 Disable cfi-icall checks for CEF bindings (issue ) 2018-07-12 10:58:29 -07:00
Marshall Greenblatt
66b5dc3d55 Disable cfi-icall which is not supported by the CEF bindings layer (issue ) 2018-07-11 12:32:48 -04:00
Marshall Greenblatt
eb3325a9ae Fix application of DEPS.patch for 3029 branch 2018-07-05 14:24:49 -04:00
Marshall Greenblatt
35830c88e5 Update to Chromium version 69.0.3464.0 () 2018-06-19 15:49:32 -04:00
Marshall Greenblatt
08ff72fa20 Update to Chromium version 68.0.3433.0 ()
Known issues:
- Windows now requires VS 2017 15.7.1 with 10.0.17134.0 SDK.
2018-05-22 17:03:01 +03:00
Marshall Greenblatt
12cc069b69 Improve reliability of automate-git.py --fast-update, add --resave (issue ) 2018-05-21 14:06:35 +03:00
Marshall Greenblatt
cd27cbc802 Update to Chromium version 68.0.3425.0 ()
Known issues:
- Surface synchronization is now enabled for OSR, see issue .
- Jumbo build is broken, fixed in https://crrev.com/868717ce.
2018-05-21 13:54:23 +03:00
Marshall Greenblatt
58413e16b1 Fix usage of automate-git.py --fast-update with new checkouts (issue ) 2018-05-16 20:27:39 +02:00
Marshall Greenblatt
58e2e4b23d Support less error-prone update of just CEF changes with automate-git.py --force-cef-update (issue ) 2018-05-16 18:37:37 +02:00
Marshall Greenblatt
77dc8157d0 Use absolute path to avoid execution failure with automate-git.py --test-prefix=xvfb-run (issue ). 2018-05-16 11:27:33 +03:00
Marshall Greenblatt
66484d799e Support analysis of Chromium update status with automate-git.py --log-chromium-changes (issue ) 2018-05-15 17:06:49 +03:00
Marshall Greenblatt
dcf533cc3c Fix patching of files with Windows line endings on Posix systems 2018-05-15 03:42:16 -07:00
Marshall Greenblatt
67708d07f2 Support running tests with automate-git.py --run-tests (issue ) 2018-05-14 13:43:36 +03:00
Marshall Greenblatt
d1d4f7a3ef Improve handling of patches during Chromium update (issue ) 2018-05-11 14:09:26 +03:00
Marshall Greenblatt
46e8152b6d Support automatic Chromium updates with automate-git.py --chromium-channel=canary (issue ) 2018-05-08 16:33:59 +02:00
Marshall Greenblatt
1f4f8f4af7 Support faster incremental Chromium/CEF updates with automate-git.py --fast-update (issue ). 2018-05-08 10:29:07 +02:00
Marshall Greenblatt
a3c55f1d26 Update to Chromium revision 9ef2aa86 () 2018-05-04 10:50:26 +02:00
Cristian Amarie
f6c9a96a12 Add missing space at the end of verbose build command (issue ). 2018-05-01 15:55:47 +00:00
Marshall Greenblatt
0677d0d9de Linux: Fix startup hang on Ubuntu 16.04.4 (issue ) 2018-04-13 21:21:17 -04:00
Marshall Greenblatt
a1f47abaf6 Don't include locales/*.info files in distribution (issue ) 2018-03-28 18:20:10 -04:00
Marshall Greenblatt
3018e1866b Linux: Update to Debian sid sysroot (issue ) 2018-03-28 12:42:55 -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
6006f77bd9 msvs_env.bat: Fix VS2017 path discovery and avoid CWD change (issue , issue ) 2018-01-05 13:30:05 -05:00