Commit fcb91339 authored by Santosh Mahto's avatar Santosh Mahto
Browse files

Add build script

parent 2d6e80e8
#!/bin/sh
# Add proper path to depot_tools
export PATH=$SRC_DIR/depot_tools:$PATH
if ! [ -d ../src ] && ! [ -d cef/libcef ]; then
echo "Must be run from inside chromium/src"
fi
GN_DEFINES=""
GN_DEFINES=$GN_DEFINES" treat_warnings_as_errors=false"
GN_DEFINES=$GN_DEFINES" ozone_platform_wayland=true"
GN_DEFINES=$GN_DEFINES" ozone_platform=wayland"
GN_DEFINES=$GN_DEFINES" use_ozone=true"
GN_DEFINES=$GN_DEFINES" use_x11=false"
GN_DEFINES=$GN_DEFINES" use_aura=true"
GN_DEFINES=$GN_DEFINES" enable_nacl=false"
GN_DEFINES=$GN_DEFINES" remove_webcore_debug_symbols=true"
GN_DEFINES=$GN_DEFINES" ozone_auto_platforms=false"
GN_DEFINES=$GN_DEFINES" dcheck_always_on=false"
GN_DEFINES=$GN_DEFINES" use_xkbcommon=true"
GN_DEFINES=$GN_DEFINES" use_jumbo_build=true"
export GN_DEFINES
cd cef
./cef_create_projects.sh
cd ..
ninja -C out/Release_GN_x64/ $@ chrome cefsimple chrome_sandbox
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment