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

Commit 9d3f3a2d authored by Nishith  Khanna's avatar Nishith Khanna
Browse files

Revert "reduce debug level"

This reverts commit 0403feed.
parent 0403feed
Loading
Loading
Loading
Loading
+16 −1
Original line number Diff line number Diff line
@@ -50,6 +50,8 @@ 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'"'
@@ -65,7 +67,7 @@ build() {
        build_targets="trichrome_webview_apk trichrome_chrome_apk trichrome_library_apk"
    fi

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

    for apk in $apks; do
@@ -79,6 +81,7 @@ 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
@@ -87,6 +90,17 @@ 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"
@@ -281,6 +295,7 @@ fi

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

if [ ! -z "$arch" ]; then
    build $arch
+2 −4
Original line number Diff line number Diff line
android_channel="stable"
blink_symbol_level=0
blink_symbol_level=1
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=0
symbol_level=1
target_os="android"
treat_warnings_as_errors=true
use_cfi_cast=true
@@ -48,12 +48,10 @@ 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"