Skip to content

szledan/sprocket

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sprocket

The browser is based on Chromium's Content API. Supported platforms: Linux, Android Build steps

Getting the Chromium source code

NOTE: Do NOT use --no-history command line switch when cloning Chromium repository. If the most recent revision is not compatible with Sprocket, you have to reset to the Last Known Good Revision.

Linux official guide

Android official guide

Sprocket code

Inside Chromium's 'src' directory, run the following commands:

# make a work branch
git checkout -b sprocket
# get the code
git clone https://github.com/szeged/sprocket.git sprocket
# use a stable revision
git reset --hard "$(< sprocket/LKGR)" && gclient sync --nohooks
git apply sprocket/patch/gritsettings.patch

Next, run the selected platform's commands.

Linux/PC
# run the config
./build/gyp_chromium sprocket/sprocket.gyp
# build it with 'sprocket' target
ninja -C out/Release sprocket
# run it from the out dir
./out/Release/sprocket
Linux/ARM
# run the config
export GYP_CROSSCOMPILE=1
./build/gyp_chromium sprocket/sprocket.gyp -Ddisable_nacl=1 -Dtarget_arch=arm -Darm_float_abi=hard
# build it with 'sprocket' target
ninja -C out/Release sprocket
# run it from the out dir
./out/Release/sprocket
Android
# run the config
./build/gyp_chromium sprocket/sprocket.gyp -DOS=android
# build it with 'sprocket_apk' target
ninja -C out/Release sprocket_apk
# install the apk
./build/android/adb_install_apk.py --apk Sprocket.apk --release
Sandbox (Linux)

Official guide

# build the sandbox
ninja -C out/Release chrome_sandbox
# install it
BUILDTYPE=Release build/update-linux-sandbox.sh
# set the env
export CHROME_DEVEL_SANDBOX=/usr/local/sbin/chrome-devel-sandbox
# run sprocket with sandbox
./out/Release/sprocket --use-sandbox

Additional info

How to build a Web Browser

About

Experimental minimal browser based on Chromium

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 77.3%
  • Java 15.9%
  • Python 6.5%
  • C 0.3%