Conversation
|
as usual I'm rebuilding cromite for desktop and found some minor issues to be patched ^^ and (probably) a left-behind --- i/services/on_device_model/ml/BUILD.gn
+++ w/services/on_device_model/ml/BUILD.gn
@@ -84,7 +84,7 @@ if (use_blink || (is_ios && build_with_internal_optimization_guide)) {
if (use_blink) {
deps += [ "//gpu/config" ]
}
- if (!is_fuchsia) {
+ if (false) {
deps += [ "//services/on_device_model/safety:bert_safety_model" ]
}
public_deps = [cromite/build/patches/ungoogled-chromium-no-special-hosts-domains.patch Lines 697 to 707 in 5aab1a3 might need to https://chromium-review.googlesource.com/c/7663453 https://chromium-review.googlesource.com/c/7707499 https://chromium-review.googlesource.com/c/7663799 may revisit the cookie partitioning patch later do we still need this? cromite/build/patches/Enable-Certificate-Transparency.patch Lines 86 to 92 in 5aab1a3 ditto String::FromUtf8 cromite/build/patches/Disable-all-predictors-code.patch Lines 1090 to 1111 in 5aab1a3 may no-op AutofillManager::RunMlModels() as well cromite/build/patches/Disable-all-predictors-code.patch Lines 1605 to 1618 in 5aab1a3 may keep this inheritance declaration? cromite/build/patches/Disable-all-predictors-code.patch Lines 1337 to 1345 in 5aab1a3 ditto cromite/build/patches/Disable-integration-with-Gemini.patch Lines 379 to 380 in 5aab1a3 cromite/build/patches/Disable-integration-with-Gemini.patch Lines 497 to 498 in 5aab1a3 ditto --- i/chrome/browser/autofill/autofill_field_classification_model_service_factory.cc
+++ w/chrome/browser/autofill/autofill_field_classification_model_service_factory.cc
@@ -61,13 +61,10 @@ std::unique_ptr<KeyedService> AutofillFieldClassificationModelServiceFactory::
OptimizationGuideKeyedService* optimization_guide =
OptimizationGuideKeyedServiceFactory::GetForProfile(
Profile::FromBrowserContext(context));
- MlLogRouter* log_router = MlLogRouterFactory::GetForProfile(
- Profile::FromBrowserContext(context));
return std::make_unique<FieldClassificationModelHandler>(
optimization_guide,
optimization_guide::proto::OptimizationTarget::
- OPTIMIZATION_TARGET_AUTOFILL_FIELD_CLASSIFICATION,
- log_router);
+ OPTIMIZATION_TARGET_AUTOFILL_FIELD_CLASSIFICATION);
}
} // namespace autofill--- i/chrome/browser/password_manager/password_field_classification_model_handler_factory.cc
+++ w/chrome/browser/password_manager/password_field_classification_model_handler_factory.cc
@@ -102,11 +102,8 @@ std::unique_ptr<KeyedService> PasswordFieldClassificationModelHandlerFactory::
Profile* profile = Profile::FromBrowserContext(context);
OptimizationGuideKeyedService* optimization_guide =
OptimizationGuideKeyedServiceFactory::GetForProfile(profile);
- autofill::MlLogRouter* log_router =
- autofill::MlLogRouterFactory::GetForProfile(profile);
return std::make_unique<autofill::FieldClassificationModelHandler>(
optimization_guide,
optimization_guide::proto::OptimizationTarget::
- OPTIMIZATION_TARGET_PASSWORD_MANAGER_FORM_CLASSIFICATION,
- log_router);
+ OPTIMIZATION_TARGET_PASSWORD_MANAGER_FORM_CLASSIFICATION);
}cromite/build/patches/ungoogled-chromium-no-special-hosts-domains.patch Lines 1786 to 1798 in 5aab1a3 L1790-L1791 might be removed as well cromite/build/patches/Chrome-web-store-protection.patch Lines 342 to 343 in 5aab1a3 should use arrow operator here cromite/build/patches/Disable-all-predictors-code.patch Lines 448 to 508 in 5aab1a3 broken; might just hardcode IsAIv4FeatureEnabled() to false and disable other feature flags as well cromite/build/patches/Disable-all-predictors-code.patch Lines 148 to 163 in 5aab1a3 the templated helper function looks harmless; I think we eventually need a better way to gracefully stub out the slop with minimal and forward-portable changes cromite/build/patches/Disable-privacy-sandbox.patch Lines 136 to 137 in 5aab1a3 :p cromite/build/patches/Disable-all-predictors-code.patch Lines 1059 to 1060 in 5aab1a3 might disable ml_log_router_factory.* as well and --- i/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
+++ w/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
@@ -752,7 +758,9 @@ void ChromeBrowserMainExtraPartsProfiles::
autofill::AutofillOfferManagerFactory::GetInstance();
autofill::AutofillOptimizationGuideDeciderFactory::GetInstance();
autofill::MerchantPromoCodeManagerFactory::GetInstance();
+#if false /* BUILDFLAG(BUILD_WITH_TFLITE_LIB) */
autofill::MlLogRouterFactory::GetInstance();
+#endif
autofill::PersonalDataManagerFactory::GetInstance();
autofill::ValuablesDataManagerFactory::GetInstance();
autofill::WalletPassAccessManagerFactory::GetInstance(); |
… feature depends on Google Play Review APIs already disabled by default.
…d and remove Android-specific UI restrictions that prevented access to developer features on phones.
[AUTO] Patches auto-rebase for next-148 branch
|
@alk3pInjection My first commit in rebase is never the final one; I only need it to create Docker images for development. To answer the questions:
|
Description
Rebase to v148
All submissions
Format
Subject: Alternative cache (NIK-based)->Alternative-cache-NIK-based.patch)