forked from cztomczak/cefpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpatch.py
More file actions
35 lines (31 loc) · 1002 Bytes
/
patch.py
File metadata and controls
35 lines (31 loc) · 1002 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# CEF Python patches to Chromium and CEF.
# See upstream cef/patch/patch.cfg for how patching works in CEF.
# Current working directory is cef_build_dir/chromium/cef/ .
# See also docs/Build-instructions.md and tools/automate.py .
import platform
OS_POSTFIX = ("win" if platform.system() == "Windows" else
"linux" if platform.system() == "Linux" else
"mac" if platform.system() == "Darwin" else "unknown")
# ALL PLATFORMS
# noinspection PyUnresolvedReferences
patches.extend([
{
# Fixes HTTPS cache problems with private certificates
'name': 'issue125',
'path': '../net/http/'
},
{
# Discovery of the "icudtl.dat" file fails on Linux.
# Apply patch for all platforms just in case.
'name': 'issue231',
'path': './'
},
{
# Adds drag-image representation during drag & drop in OSR mode.
'name': 'issue251',
'path': './'
},
])
# LINUX
if OS_POSTFIX == "linux":
pass