Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jan 6, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
a98a873
Upgrade to Chrome 54.0.2840.51
zcbenz Oct 9, 2016
efbaf72
Update depot_tools to lastest
zcbenz Oct 9, 2016
c0302f0
Update the update script to use gn to generate configratuions
zcbenz Oct 10, 2016
8e33f0c
Update scripts to use new output dirs of gn
zcbenz Oct 10, 2016
bd11a00
Translate chromiumcontent.gyp to use gn
zcbenz Oct 10, 2016
e9f8142
Do not apply patches for now
zcbenz Nov 2, 2016
4e9b9a2
Convert gyp environments to gn args
zcbenz Nov 2, 2016
075acd2
Convert gyp variables to gn variables
zcbenz Nov 2, 2016
2c4ee83
Convert most of chromiumcontent.gypi to gn
zcbenz Nov 2, 2016
b4778c8
Update accelerator.patch
zcbenz Nov 3, 2016
409d684
Update allow_new_privs.patch
zcbenz Nov 3, 2016
bfed4c1
Update blink_file_path.patch
zcbenz Nov 3, 2016
9d15a65
Update blink_local_frame.patch
zcbenz Nov 3, 2016
1c1c236
Remove blink_platform_gyp.patch
zcbenz Nov 3, 2016
35e090a
Update browser_compositor_mac.patch
zcbenz Nov 3, 2016
5f257d1
Update compositor_delegate.patch
zcbenz Nov 3, 2016
d66c38f
Update disable_hidden.patch
zcbenz Nov 3, 2016
5854a64
Update frame_host_manager.patch
zcbenz Nov 3, 2016
360336a
Update guest_view.patch
zcbenz Nov 3, 2016
c12cc91
Update net_url_request_job.patch
zcbenz Nov 3, 2016
02333e8
Remove no_test_data.patch
zcbenz Nov 3, 2016
69f6933
Update render_message_filter.patch
zcbenz Nov 3, 2016
4b7c5d9
Update render_widget_host_view_mac.patch
zcbenz Nov 3, 2016
458311d
Update web_contents.patch
zcbenz Nov 3, 2016
9707b63
Update blink_no_private_api.patch
zcbenz Nov 3, 2016
f8e332e
Update no_private_api.patch
zcbenz Nov 3, 2016
affbbbc
Revert "Do not apply patches for now"
zcbenz Nov 3, 2016
9a85d7d
Call the gn binary under buildtools
zcbenz Nov 4, 2016
4947e1a
Disable Widevine for now
zcbenz Nov 4, 2016
0e9bcf6
Expose the ffmpeg target
zcbenz Nov 4, 2016
b9bd827
chromiumcontent.gni is not needed
zcbenz Nov 4, 2016
fd0f9ee
chrome54 libcc builds for windows'
groundwater Nov 9, 2016
1a5db7a
Build local version of gn
zcbenz Nov 27, 2016
3a526a8
Use local version of gn to generate projects
zcbenz Nov 27, 2016
9f75ae8
Patch gn to treat source_set as static_library
zcbenz Nov 27, 2016
479b922
Do not convert empty source_set into static_library
zcbenz Nov 28, 2016
8cc1019
"sources" has to be filled before reading
zcbenz Nov 28, 2016
f0b1854
Always use complete static library
zcbenz Nov 28, 2016
bccf37a
Only convert the targets that generate libraries
zcbenz Nov 29, 2016
313ebc7
Blacklist some targets from conversions
zcbenz Nov 29, 2016
9f0e2e2
Only change target types for static_library build
zcbenz Nov 29, 2016
a50353f
Update the paths to binaries files
zcbenz Nov 29, 2016
1aec629
Keep the original directory structure when copying
zcbenz Nov 30, 2016
9228b4b
The filenames.gypi should recognize directory structure
zcbenz Nov 30, 2016
f940f06
Filter out internal static libraries from the distribution
zcbenz Nov 30, 2016
0138b28
Add a few missing dependencies
zcbenz Dec 1, 2016
5a61429
No need for blacklisting memory_buffer_sources
zcbenz Dec 1, 2016
41580ac
Build with widevine support
zcbenz Dec 1, 2016
26d640b
Do not convert target types for ffmpeg
zcbenz Dec 1, 2016
f59bf1e
Also ship binaries under gen/
zcbenz Dec 1, 2016
778834e
Explicitly depend on //content
zcbenz Dec 1, 2016
7835ed8
Fix error when building chromiumviews
zcbenz Dec 2, 2016
5575027
Convert targets in webrtc to static_library
zcbenz Dec 2, 2016
e8626e4
Do not use gold for linking
zcbenz Dec 2, 2016
e4697cd
Try building libchromiumcontent as group
zcbenz Dec 2, 2016
d095934
Do not use gold when building gn
zcbenz Dec 2, 2016
501a0cd
Add back libgtk2ui as dependency
zcbenz Dec 2, 2016
e521f7a
Fix binaries paths for Linux
zcbenz Dec 2, 2016
178f8ab
Turn libgtk2ui into static library
zcbenz Dec 2, 2016
274a688
Some libraries should not be linked on Linux
zcbenz Dec 6, 2016
9bd0244
cpp is also valid C++ source code extension
zcbenz Dec 6, 2016
8b9b79d
gn uses x86 instead of ia32 as arch name
zcbenz Dec 6, 2016
5160e19
Make toolchain detection on Windows work
zcbenz Dec 7, 2016
00a6684
Do not do official build
zcbenz Dec 10, 2016
46dda9e
Update binary paths for Windows
zcbenz Dec 11, 2016
d431315
Fix cibuild not reporting failure on Linux
zcbenz Dec 12, 2016
ebbb53e
ffmpeg.dll.lib should be shipped
zcbenz Dec 12, 2016
6fed5ab
Filter out cpp.lib from win32 distribution
zcbenz Dec 12, 2016
7568764
Ship static libraries from "gen" on Windows
zcbenz Dec 12, 2016
5ecf6a3
A few libraries need to be static_library on Windows
zcbenz Dec 12, 2016
d3a0838
cpp.lib should be linked for component build
zcbenz Dec 12, 2016
03c79cf
Multiple libraries are named cpp.lib
zcbenz Dec 12, 2016
b87fdf6
internal_module should be static_libarry
zcbenz Dec 12, 2016
5ce80e6
Ship a few more necessary libraries for Windows
zcbenz Dec 12, 2016
7e746aa
Avoid patching content/BUILD.gn
zcbenz Dec 12, 2016
f51b19a
Fix the static build
zcbenz Dec 12, 2016
9242fe0
Fix the patch for MAS build
zcbenz Dec 14, 2016
4226ffb
Location of mksnapshot has changed
zcbenz Dec 14, 2016
b4a48cc
Update ct_build_not_timely.patch
zcbenz Dec 14, 2016
0e4dc91
Update dom_key_control.patch
zcbenz Dec 14, 2016
1033a45
Put mksnapshot under the root of dist
zcbenz Dec 14, 2016
689dfbd
Do not run strip on Windows
zcbenz Dec 14, 2016
1fe8d7a
sandbox_helper_win.lib should not be filtered out
zcbenz Dec 15, 2016
f4da78b
Ship libyuv_neon.a
zcbenz Dec 15, 2016
4d1910b
Fix typo
zcbenz Dec 15, 2016
e01a151
Upgrade to 54.0.2840.101
kevinsawicki Jan 10, 2017
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
32 changes: 32 additions & 0 deletions 32 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,35 @@ $ ./chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py --ar
$ cd -
$ ./script/build -t arm
```

### Chrome 54 Upgrade

As a means of preserving history, here are some notes from the upgrade to Chrome 54.
This will describe building on Windows, but should extend to other platforms.

- Start all examples from `C:\src\` to avoid long path issues
- Install [depot_tools](https://www.chromium.org/developers/how-tos/install-depot-tools) and add it to your PATH
- Follow [Windows Chromium Setup](https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md)
- rather than bootstrap by downloading the chromium tarball generated by
[zcbenz/chromium-source-tarball](https://github.com/zcbenz/chromium-source-tarball)
we checkout the chromium source with [depot_tools](https://www.chromium.org/developers/how-tos/install-depot-tools) using:

```
> cd \src
> git clone https://github.com/electron/libchromiumcontent.git
> cd libchromiumcontent
> fetch chromium
> python script/update --no-download-source-tarball
> python script/build
```
- electron (which you need to also clone) can be linked against this build with:

```
> cd \src
> git clone https://github.com/electron/electron.git
> cd electron
> python script\bootstrap.py ^
--libcc_shared_library_path ../libchromiumcontent/src/out/component ^
--libcc_static_library_path ../libchromiumcontent/src/out/static ^
--libcc_source_path ../libchromiumcontent/src
```
2 changes: 1 addition & 1 deletion 2 VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
53.0.2785.143
54.0.2840.101
104 changes: 104 additions & 0 deletions 104 chromiumcontent/BUILD.gn
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
declare_args() {
# Build for Mac App Store.
mac_mas_build = false
}

group("chromiumcontent") {
deps = [
":libchromiumcontent",
"//chrome/test/chromedriver",
]
}

# Override default compiler settings.
config("compiler") {
defines = [
# Force exporting icu's symbols.
"U_COMBINED_IMPLEMENTATION",
# Defining "U_COMBINED_IMPLEMENTATION" will add "explicit" for some
# constructors, make sure it doesn' happen.
"UNISTR_FROM_CHAR_EXPLICIT=",
"UNISTR_FROM_STRING_EXPLICIT=",
"U_NO_DEFAULT_INCLUDE_UTF_HEADERS=0",
]

if (!is_component_build) {
# Force exposing V8 symbols on Windows.
# (Corresponding part for POSIX is inside script/update.)
defines += [ "BUILDING_V8_SHARED" ]
}

# Enable MAS buld.
if (mac_mas_build) {
defines += [ "MAS_BUILD" ]
}
}

group("libchromiumcontent") {
deps = [
"//components/prefs",
"//components/cdm/renderer",
"//components/cookie_config",
"//components/devtools_discovery",
"//components/devtools_http_handler",
"//components/security_state",
"//content",
"//content/shell:pak",
"//content/shell:copy_shell_resources",
"//net:net_with_v8",
"//ppapi/host",
"//ppapi/proxy",
"//ppapi/shared_impl",
"//third_party/webrtc/modules/desktop_capture",
"//third_party/widevine/cdm:widevinecdmadapter",
"//third_party/widevine/cdm:version_h",
"//ui/events:dom_keycode_converter",
]

if (!is_component_build) {
deps += [
"//content/public/app:both",
]
}

if (is_linux) {
deps += [
":chromiumviews",
"//chrome/browser/ui/libgtk2ui",
"//third_party/speech-dispatcher",
"//third_party/mesa:osmesa",
]
} else if (is_win) {
deps += [
":chromiumviews",
":sandbox_helper_win",
"//pdf",
]
}
}

if (is_linux || is_win) {
group("chromiumviews") {
deps = [
"//ui/content_accelerators",
"//ui/display",
"//ui/display/util",
"//ui/views/controls/webview",
"//ui/views",
"//ui/wm",
]
}
}

if (is_win) {
static_library("sandbox_helper_win") {
sources = [
"../content/app/sandbox_helper_win.cc",
"../content/public/app/sandbox_helper_win.h",
]

deps = [
"//sandbox",
]
}
}
139 changes: 0 additions & 139 deletions 139 chromiumcontent/chromiumcontent.gypi

This file was deleted.

4 changes: 2 additions & 2 deletions 4 patches-mas/blink_no_private_api.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/third_party/WebKit/Source/core/paint/ThemePainterMac.mm b/third_party/WebKit/Source/core/paint/ThemePainterMac.mm
index 1c410d6f..de2c091 100644
index c6e4288..29707d7 100644
--- a/third_party/WebKit/Source/core/paint/ThemePainterMac.mm
+++ b/third_party/WebKit/Source/core/paint/ThemePainterMac.mm
@@ -40,12 +40,14 @@
Expand Down Expand Up @@ -27,7 +27,7 @@ index 1c410d6f..de2c091 100644
return false;
}
#endif
@@ -151,7 +155,9 @@
@@ -153,7 +157,9 @@
bool ThemePainterMac::paintTextArea(const LayoutObject& o, const PaintInfo& paintInfo, const IntRect& r)
{
LocalCurrentGraphicsContext localContext(paintInfo.context, r);
Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.