-
-
Save blueboxd/c1f355fb6fe829e98ff5453880683993 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
solutions = [ | |
{ "name" : 'src', | |
"url" : 'https://github.com/blueboxd/chromium-legacy.git', | |
"deps_file" : 'DEPS', | |
"managed" : False, | |
"custom_deps" : { | |
}, | |
"custom_vars": { | |
"checkout_pgo_profiles": False, | |
}, | |
}, | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clang_use_chrome_plugins = false | |
treat_warnings_as_errors = false | |
use_custom_libcxx = true | |
use_lld = false | |
use_thin_lto = false | |
fatal_linker_warnings = false | |
is_debug = false | |
is_component_build = false | |
is_official_build = true | |
symbol_level = 2 | |
enable_dsyms = false | |
enable_stripping = false | |
optimize_webui = true | |
chrome_pgo_phase = 0 | |
mac_deployment_target = "10.7" | |
mac_min_system_version = "10.7" | |
mac_sdk_name="macosx" | |
enable_nacl = false | |
media_use_ffmpeg = true | |
media_use_libvpx = true | |
proprietary_codecs = true | |
ffmpeg_branding = "Chrome" | |
enable_widevine = true | |
enable_hangout_services_extension = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
mkdir -pv chromium-project && cd chromium-project | |
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git && export PATH=`pwd`/depot_tools:"$PATH" | |
mkdir -pv chromium-legacy && cd chromium-legacy | |
curl -OJL https://gist.githubusercontent.com/blueboxd/c1f355fb6fe829e98ff5453880683993/raw/9d97a2c622c206fd7bc03ec891ad89dd58be4004/.gclient | |
gclient sync -v | |
pushd src/third_party/skia | |
git remote add github https://github.com/blueboxd/skia.git | |
git fetch github && git checkout for-lion && git checkout for-lion -- . | |
popd | |
pushd src/third_party/angle/ | |
git remote add github https://github.com/blueboxd/angle.git | |
git fetch github && git checkout master.lion && git checkout master.lion -- . | |
popd | |
pushd src/third_party/dawn/ | |
git remote add github https://github.com/blueboxd/dawn.git | |
git fetch github && git checkout master.lion && git checkout master.lion -- . | |
popd | |
pushd src/third_party/swiftshader/ | |
git remote add github https://github.com/blueboxd/swiftshader.git | |
git fetch github && git checkout master.lion && git checkout master.lion -- . | |
popd | |
pushd src/third_party/vulkan_memory_allocator/ | |
git remote add github https://github.com/blueboxd/vulkan_memory_allocator.git | |
git fetch github && git checkout master.lion && git checkout master.lion -- . | |
popd | |
pushd src/third_party/webrtc/ | |
git remote add github https://github.com/blueboxd/webrtc.git | |
git fetch github && git checkout master.lion && git checkout master.lion -- . | |
popd | |
pushd src/third_party/libc++/src | |
git remote add github https://github.com/blueboxd/libcxx.git | |
git fetch github && git checkout master.lion && git checkout master.lion -- . | |
popd | |
pushd src/third_party/boringssl/src | |
git remote add github https://github.com/blueboxd/boringssl.git | |
git fetch github && git checkout master.lion && git checkout master.lion -- . | |
popd | |
mkdir -pv out/release && pushd out/release | |
curl -OJL https://gist.githubusercontent.com/blueboxd/c1f355fb6fe829e98ff5453880683993/raw/9d97a2c622c206fd7bc03ec891ad89dd58be4004/args.gn | |
popd | |
cd src | |
gn gen ../out/release | |
time ninja -C ../out/release chrome | |
open -R ../out/release/Chromium.app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment