Bump cronet from 123.0.6312.80 to 126.0.6478.72

- Changes in the [Git log](https://chromium.googlesource.com/chromium/src/+log/123.0.6312.80..126.0.6478.72)
This commit is contained in:
Xwite 2024-06-24 01:31:34 +00:00 committed by github-actions[bot]
parent 85b1e7b548
commit aa4fcb2906
9 changed files with 37 additions and 25 deletions

View File

@ -1,20 +1,19 @@
# -------- Config Path: base/android/proguard/chromium_code.flags -------- # -------- Config Path: base/android/proguard/shared_with_cronet.flags --------
# Copyright 2016 The Chromium Authors # Copyright 2016 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
# Contains flags that can be safely shared with Cronet, and thus would be # Contains flags that we want to apply not only to Chromium APKs, but also to
# appropriate for third-party apps to include. # third-party apps that bundle the Cronet library.
# Allow unused native methods to be removed, but prevent renaming on those that are kept. # WARNING: rules in this file are applied to entire third-party APKs, not just
-keepclasseswithmembernames,includedescriptorclasses,allowaccessmodification class !cr_allowunused,** { # Chromium code. They MUST be scoped appropriately to avoid side effects on app
native <methods>; # code that we do not own.
}
# Use assumevalues block instead of assumenosideeffects block because Google3 proguard cannot parse # Use assumevalues block instead of assumenosideeffects block because Google3
# assumenosideeffects blocks which overwrite return value. # proguard cannot parse assumenosideeffects blocks which overwrite return
# chromium_code.flags rather than remove_logging.flags so that it's included # value. Keep this in shared_with_cronet.flags rather than remove_logging.flags
# in cronet. # so that it's included in cronet.
-assumevalues class org.chromium.base.Log { -assumevalues class org.chromium.base.Log {
static boolean isDebug() return false; static boolean isDebug() return false;
} }
@ -37,21 +36,10 @@
public static **[] values(); public static **[] values();
} }
# -identifiernamestring doesn't keep the module impl around, we have to
# explicitly keep it.
-if @org.chromium.components.module_installer.builder.ModuleInterface interface *
-keep,allowobfuscation,allowaccessmodification class !cr_allowunused,** extends <1> {
<init>();
}
# Required to remove fields until b/274802355 is resolved. # Required to remove fields until b/274802355 is resolved.
-assumevalues class !cr_allowunused,** { -assumevalues class !cr_allowunused,** {
final org.chromium.base.ThreadUtils$ThreadChecker * return _NONNULL_; final org.chromium.base.ThreadUtils$ThreadChecker * return _NONNULL_;
} }
# TODO(agrieve): Remove once we start to use Android U SDK.
-dontwarn android.window.BackEvent
-dontwarn android.window.OnBackAnimationCallback
# -------- Config Path: build/android/chromium_annotations.flags -------- # -------- Config Path: build/android/chromium_annotations.flags --------
# Copyright 2022 The Chromium Authors # Copyright 2022 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
@ -113,6 +101,22 @@
-identifiernamestring class * { -identifiernamestring class * {
@org.chromium.build.annotations.IdentifierNameString *; @org.chromium.build.annotations.IdentifierNameString *;
} }
# Mark fields with this to help R8 figure out that they cannot be null.
# Use assumevalues in addition to assumenosideeffects block because Google3 proguard cannot parse
# assumenosideeffects blocks which overwrite return value.
-assumevalues class ** {
@org.chromium.build.annotations.AssumeNonNull *** *(...) return _NONNULL_;
}
-assumenosideeffects class ** {
@org.chromium.build.annotations.AssumeNonNull *** *(...);
}
-assumevalues class ** {
@org.chromium.build.annotations.AssumeNonNull *** * return _NONNULL_;
}
-assumenosideeffects class ** {
@org.chromium.build.annotations.AssumeNonNull *** *;
}
# -------- Config Path: components/cronet/android/cronet_impl_common_proguard.cfg -------- # -------- Config Path: components/cronet/android/cronet_impl_common_proguard.cfg --------
# Proguard config for apps that depend on cronet_impl_common_java.jar. # Proguard config for apps that depend on cronet_impl_common_java.jar.
@ -227,3 +231,10 @@
-keepclasseswithmembers,includedescriptorclasses,allowaccessmodification class ** { -keepclasseswithmembers,includedescriptorclasses,allowaccessmodification class ** {
@org.jni_zero.CalledByNativeUnchecked <methods>; @org.jni_zero.CalledByNativeUnchecked <methods>;
} }
# Allow unused native methods to be removed, but prevent renaming on those that
# are kept.
# TODO(crbug.com/315973491): Restrict the broad scope of this rule.
-keepclasseswithmembernames,includedescriptorclasses,allowaccessmodification class ** {
native <methods>;
}

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
{"arm64-v8a":"bbf2c50d1ebf0763d451b08e290a3244","armeabi-v7a":"ecb872f7b1b5342f4d7c36262bec0600","x86":"4da4832b89e2412d808c5b1ecdc24e3d","x86_64":"62080f051db02ed0e939affb39ce67fb","version":"123.0.6312.80"} {"x86_64":"70374d614c6370f39ecc33c3a4a71886","arm64-v8a":"4231b5852366a17ef66bfc47c9e1e9bd","armeabi-v7a":"3c6edf29c6cc021e2a335f17c80c9a18","x86":"d0d33c9f93b4be1141214456757db621","version":"126.0.6478.72"}

View File

@ -13,6 +13,7 @@
* 漫画源看书显示乱码,**阅读与其他软件的源并不通用**,请导入阅读的支持的漫画源! * 漫画源看书显示乱码,**阅读与其他软件的源并不通用**,请导入阅读的支持的漫画源!
**2024/02/27** **2024/02/27**
* 更新cronet: 126.0.6478.72
* 更新cronet: 123.0.6312.80 * 更新cronet: 123.0.6312.80
* 更新cronet: 123.0.6312.40 * 更新cronet: 123.0.6312.40

View File

@ -42,7 +42,7 @@ android.defaults.buildfeatures.shaders=false
# and none from the library's dependencies, thereby reducing the size of the R class for that library. # and none from the library's dependencies, thereby reducing the size of the R class for that library.
android.nonTransitiveRClass=true android.nonTransitiveRClass=true
# https://chromiumdash.appspot.com/releases?platform=Android # https://chromiumdash.appspot.com/releases?platform=Android
CronetVersion=123.0.6312.80 CronetVersion=126.0.6478.72
CronetMainVersion=123.0.0.0 CronetMainVersion=126.0.0.0
android.injected.testOnly=false android.injected.testOnly=false
android.nonFinalResIds=true android.nonFinalResIds=true