Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upprefs.json: swap prefs before building #22970
Closed
Comments
|
Sounds like we should add cargo metadata to rebuild if the pref files change, as well. |
|
Also I think the android build doesn't always swap prefs correctly, but I'm not sure. (I'm getting weird behavior here) |
|
#27304 partly solves this. Preferences are updated in build.rs. |
bors-servo
added a commit
that referenced
this issue
Jul 20, 2020
UWP: non random port for devtools, and support for custom UWP prefs packages-prefs.json is now taken into account for libsimpleservo. Making it possible to have custom pref for the UWP builds, removing some weirdness in the way we handle preferences in the hololens code. This also adds a new set of preferences to control the devtools server startup state, and make the port choice constant across sessions. Fix #27267 Fix #22970
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As of now, we swap the preferences during
mach package. libsimpleservo reads prefs.json at compile time. So it should be done before building.