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

Commit bf6c026e authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

browser: Use CFI for arm/arm64 builds

parent f10f21cd
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -29,7 +29,10 @@ build() {
    apks="TrichromeChrome32 TrichromeLibrary32 TrichromeWebView32 TrichromeChrome6432 TrichromeLibrary6432 TrichromeWebView6432"

    mkdir -p "${root_dir}/apks/${1}"
    gn gen "out/$1" --args="$(cat "${root_dir}"/build/browser.gn_args) target_cpu=\"${1}\" "
    if [ "$1" != "x64" ]; then
        extra_arg="is_cfi=true"
    fi
    gn gen "out/$1" --args="$(cat "${root_dir}"/build/browser.gn_args) target_cpu=\"${1}\" $extra_arg"
    ninja -C out/$1 trichrome_webview_32_apk trichrome_chrome_32_apk trichrome_library_32_apk \
            trichrome_webview_64_32_apk trichrome_chrome_64_32_apk trichrome_library_64_32_apk

+0 −1
Original line number Diff line number Diff line
@@ -26,7 +26,6 @@ enable_vr=false
exclude_unwind_tables=false
ffmpeg_branding="Chrome"
icu_use_data_file=true
is_cfi=true
is_component_build=false
is_debug=false
is_official_build=true