mirror of
https://github.com/servo/servo.git
synced 2025-08-16 19:05:33 +01:00
android: Remove serde-json build-dependency (#32573)
There is no need to add `serde-json` as a build-dependency (which causes serde to be built twice when cross-compiling - once for host and once for the target) Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
This commit is contained in:
parent
ee2acaeacf
commit
3d6accbbe3
3 changed files with 2 additions and 11 deletions
|
@ -916,7 +916,7 @@ impl ResourceReaderInstance {
|
|||
impl ResourceReaderMethods for ResourceReaderInstance {
|
||||
fn read(&self, res: Resource) -> Vec<u8> {
|
||||
Vec::from(match res {
|
||||
Resource::Preferences => &include_bytes!(concat!(env!("OUT_DIR"), "/prefs.json"))[..],
|
||||
Resource::Preferences => &include_bytes!("../../../../resources/prefs.json")[..],
|
||||
Resource::HstsPreloadList => {
|
||||
&include_bytes!("../../../../resources/hsts_preload.json")[..]
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue