Browse Source

Update to 76.0.3809.100-1

tags/76.0.3809.100-1^0 76.0.3809.100-1
wchen342 2 years ago
parent
commit
e712b93545
Signed by: wchen342 GPG Key ID: 720B70365E800508
7 changed files with 42 additions and 10 deletions
  1. +4
    -1
      CHANGELOG.md
  2. +1
    -0
      android_flags.gn
  3. +7
    -0
      android_flags.release.gn
  4. +8
    -7
      build.sh
  5. +1
    -1
      misc/android_studio_setup.sh
  6. +2
    -1
      patches/series
  7. +19
    -0
      patches/ungoogled-chromium-android/disable-context-search-by-default.patch

+ 4
- 1
CHANGELOG.md View File

@ -22,4 +22,7 @@
# 76.0.3809.87-1
* Add WebView builds
* Since `aapt` no longer works, bundled `aapt2` will be used until a rebuild of SDK 29 exists
* Minor bug fixes
* Minor bug fixes
# 76.0.3809.100-1
* Change default setting of contextual search to false

+ 1
- 0
android_flags.gn View File

@ -14,6 +14,7 @@ enable_resource_whitelist_generation=false
ffmpeg_branding="Chrome"
is_clang=true
is_component_build=false
rtc_build_examples=false
target_os="android"
target_cpu="arm64"
use_jumbo_build=true


+ 7
- 0
android_flags.release.gn View File

@ -0,0 +1,7 @@
blink_symbol_level=0
enable_ac3_eac3_audio_demuxing=true
enable_iterator_debugging=false
fatal_linker_warnings=false
is_debug=false
is_official_build=true
symbol_level=0

+ 8
- 7
build.sh View File

@ -1,9 +1,9 @@
#!/usr/bin/env bash
set -eux -o pipefail
chromium_version=76.0.3809.87
chromium_version=76.0.3809.100
target=monochrome_public_apk
#target=system_webview_apk
webview_target=system_webview_apk
# Required tools: python2, python3, ninja, git, clang, lld, llvm, curl
# Assuming default python to be python2. This is true on most Linux distributions.
@ -20,7 +20,7 @@ mkdir -p depot_tools
pushd depot_tools
git init
git remote add origin https://chromium.googlesource.com/chromium/tools/depot_tools.git
git fetch --depth 1 --no-tags origin ${depot_tools_commit}
git fetch --depth 1 --no-tags origin "${depot_tools_commit}"
git reset --hard FETCH_HEAD
popd
export PATH="$(pwd -P)/depot_tools:$PATH"
@ -37,7 +37,7 @@ mkdir src/third_party/feed/src
pushd src/third_party/feed/src
git init
git remote add origin https://chromium.googlesource.com/feed
git fetch --depth 1 --no-tags origin ${feed_commit}
git fetch --depth 1 --no-tags origin "${feed_commit}"
git reset --hard FETCH_HEAD
popd
@ -46,7 +46,7 @@ mkdir src/third_party/webrtc
pushd src/third_party/webrtc
git init
git remote add origin https://webrtc.googlesource.com/src.git
git fetch --depth 1 --no-tags origin ${webrtc_commit}
git fetch --depth 1 --no-tags origin "${webrtc_commit}"
git reset --hard FETCH_HEAD
popd
@ -55,7 +55,7 @@ mkdir src/third_party/libsync/src
pushd src/third_party/libsync/src
git init
git remote add origin https://chromium.googlesource.com/aosp/platform/system/core/libsync.git
git fetch --depth 1 --no-tags origin ${libsync_commit}
git fetch --depth 1 --no-tags origin "${libsync_commit}"
git reset --hard FETCH_HEAD
popd
@ -186,7 +186,7 @@ popd
## Configure output folder
cd src
mkdir -p out/Default
cat ../ungoogled-chromium/flags.gn ../android_flags.gn > out/Default/args.gn
cat ../ungoogled-chromium/flags.gn ../android_flags.gn ../android_flags.release.gn > out/Default/args.gn
tools/gn/out/gn gen out/Default --fail-on-unused-args
@ -198,3 +198,4 @@ export CXX=${CXX:=clang++}
## Build
ninja -C out/Default ${target}
ninja -C out/Default ${webview_target}

+ 1
- 1
misc/android_studio_setup.sh View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -eux -o pipefail
chromium_version=76.0.3809.87
chromium_version=76.0.3809.100
target=monochrome_public_apk
# Create symbol links to gn, depot-tools


+ 2
- 1
patches/series View File

@ -14,4 +14,5 @@ ungoogled-chromium-android/remove-gms-vision-clearcut-phenotype.patch
ungoogled-chromium-android/remove-gms-flags-places-stats.patch
ungoogled-chromium-android/remove-gms-base-tasks.patch
ungoogled-chromium-android/remove-play-core.patch
ungoogled-chromium-android/uncheck-fre-send-report.patch
ungoogled-chromium-android/uncheck-fre-send-report.patch
ungoogled-chromium-android/disable-context-search-by-default.patch

+ 19
- 0
patches/ungoogled-chromium-android/disable-context-search-by-default.patch View File

@ -0,0 +1,19 @@
description: disable contextual search in preference by default
author: Wengling Chen <[email protected]>
---
.../src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java b/chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java
--- a/chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java
@@ -419,7 +419,7 @@ public class PrefServiceBridge {
* @return Whether the Contextual Search feature was disabled by the user explicitly.
*/
public boolean isContextualSearchDisabled() {
- return getContextualSearchPreference().equals(CONTEXTUAL_SEARCH_DISABLED);
+ return !getContextualSearchPreference().equals(CONTEXTUAL_SEARCH_ENABLED);
}
/**

Loading…
Cancel
Save