Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0403feed authored by Nishith  Khanna's avatar Nishith Khanna
Browse files

reduce debug level

parent c49f0bcc
Loading
Loading
Loading
Loading
+1 −16
Original line number Diff line number Diff line
@@ -50,8 +50,6 @@ build() {
        fi
    fi

    build_args+=' cc_wrapper="ccache"'

    echo ">> [$(date)] Using AOSP test-key for release build"
    keystore_path="${root_dir}/platform.jks"
    build_args+=' android_keystore_path="'$keystore_path'"'
@@ -67,7 +65,7 @@ build() {
        build_targets="trichrome_webview_apk trichrome_chrome_apk trichrome_library_apk"
    fi

    ninja -C out/$1 $build_targets
    autoninja -C out/$1 $build_targets
    mkdir -p "${root_dir}/apks/${apk_arch}"

    for apk in $apks; do
@@ -81,7 +79,6 @@ build() {
        echo ">> [$(date)] Building chromium subresource_filter_tools"
        mkdir -p "${root_dir}/bin"
        build_args=$(cat "${root_dir}"/build/filters.gn_args)
        build_args+=' cc_wrapper="ccache"'
        gn gen out/${1} --args="$build_args"
        autoninja -C out/${1} subresource_filter_tools
        if [ -f "out/${1}/ruleset_converter" ]; then
@@ -90,17 +87,6 @@ build() {
    fi
}

setup_ccache() {
    echo ">> [$(date)] Settings up ccache"
    export USE_CCACHE=1
    export CCACHE_EXEC=$(command -v ccache)
    export PATH=$chromium_dir/src/third_party/llvm-build/Release+Asserts/bin:$PATH
    export CCACHE_CPP2=yes
    export CCACHE_SLOPPINESS=time_macros
    export CCACHE_DIR=$chromium_dir/.ccache
    ccache -M 200G
}

patch() {
    cd $chromium_dir/src
    echo ">> [$(date)] Applying cromite patches"
@@ -295,7 +281,6 @@ fi

cd $chromium_dir/src
. build/android/envsetup.sh
setup_ccache

if [ ! -z "$arch" ]; then
    build $arch
+4 −2
Original line number Diff line number Diff line
android_channel="stable"
blink_symbol_level=1
blink_symbol_level=0
build_contextual_search=false
build_with_tflite_lib=false
chrome_pgo_phase=2
@@ -39,7 +39,7 @@ media_use_openh264=false
proprietary_codecs=true
rtc_build_examples=false
safe_browsing_use_unrar=false
symbol_level=1
symbol_level=0
target_os="android"
treat_warnings_as_errors=true
use_cfi_cast=true
@@ -48,10 +48,12 @@ use_errorprone_java_compiler=false
use_official_google_api_keys=false
use_relr_relocations=false
use_rtti=false
use_siso=true
use_stable_package_name_for_trichrome=false
use_sysroot=false
use_thin_lto=false
use_v8_context_snapshot=false
v8_symbol_level=0

chrome_public_manifest_package = "foundation.e.browser"
trichrome_library_package = "org.chromium.trichromelibrary"