Remove resources/prefs.json (#34999)

This file is not used any longer.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
Martin Robinson 2025-01-16 08:38:58 +01:00 committed by GitHub
parent 3225d196fa
commit 7256590599
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 2 additions and 223 deletions

View file

@ -144,8 +144,7 @@ pub trait ResourceReaderMethods {
/// Bake all of our resources into this crate for tests, unless we are `cfg!(servo_production)`.
///
/// Local non-production embedder builds (e.g. servoshell) can still override these with [`set`],
/// if runtime loading of prefs.json and other resources is needed.
/// Local non-production embedder builds (e.g. servoshell) can still override these with [`set`].
/// On OpenHarmony we never want to include files, since we ship all the files in the application
/// bundle anyway.
#[cfg(not(any(servo_production, target_env = "ohos")))]