mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-09 11:27:32 -03:00
download Android PGO profiles, and better expired flags description
This commit is contained in:
parent
38d43d94ef
commit
f1ea4c1042
2 changed files with 9 additions and 0 deletions
6
setup.sh
6
setup.sh
|
@ -215,6 +215,12 @@ copyAndroid () {
|
|||
rm -v -f ${CR_SRC_DIR}/chrome/android/java/res_chromium_base/mipmap-xxhdpi/layered_app_icon_background.png &&
|
||||
#rm -v -f ${CR_SRC_DIR}/chrome/android/java/res_chromium_base/mipmap-xxhdpi/layered_app_icon.png &&
|
||||
#./infra/fix_libaom.sh &&
|
||||
printf "\n" &&
|
||||
printf "${YEL}Downloading PGO profiles...${c0}\n" &&
|
||||
cd ${CR_SRC_DIR} &&
|
||||
python3 tools/update_pgo_profiles.py --target=android-arm64 update --gs-url-base=chromium-optimization-profiles/pgo_profiles &&
|
||||
python3 tools/update_pgo_profiles.py --target=android-arm32 update --gs-url-base=chromium-optimization-profiles/pgo_profiles &&
|
||||
cd ~/thorium &&
|
||||
printf "\n"
|
||||
}
|
||||
case $1 in
|
||||
|
|
|
@ -658,6 +658,9 @@ void FlagsState::GetFlagFeatureEntries(
|
|||
for (const FeatureEntry& entry : feature_entries_) {
|
||||
std::string desc = entry.visible_description;
|
||||
if (skip_feature_entry.Run(entry))
|
||||
if (flags::IsFlagExpired(flags_storage, entry.internal_name))
|
||||
desc.insert(0, " NOTE: THIS FLAG IS EXPIRED AND MAY STOP FUNCTIONING OR BE REMOVED SOON!");
|
||||
else
|
||||
continue;
|
||||
|
||||
base::Value::Dict data;
|
||||
|
|
Loading…
Reference in a new issue