mirror of
https://github.com/servo/servo.git
synced 2025-09-02 02:58:22 +01:00
Disable debugging, set wikipedia page for demo.
This commit is contained in:
parent
ecf98bc680
commit
6f6400ee3a
1 changed files with 2 additions and 2 deletions
|
@ -76,7 +76,7 @@ static void init_servo()
|
|||
{
|
||||
LOGI("initializing native application for Servo");
|
||||
|
||||
setenv("RUST_LOG", "servo,gfx,msg,util,layers,js,glut,std,rt,extra", 1);
|
||||
//setenv("RUST_LOG", "servo,gfx,msg,util,layers,js,glut,std,rt,extra", 1);
|
||||
|
||||
// setenv("SERVO_URL", "/mnt/sdcard/html/demo.html", 1);
|
||||
// setenv("RUST_THREADS", "1", 1);
|
||||
|
@ -123,7 +123,7 @@ static void init_servo()
|
|||
*(void**)(&main) = dlsym(libservo, "android_start");
|
||||
if (main) {
|
||||
LOGI("go into android_start()");
|
||||
static const char* argv[] = {"servo", "/mnt/sdcard/html/about-mozilla.html"};
|
||||
static const char* argv[] = {"servo", "http://en.wikipedia.org/wiki/Rust"};
|
||||
(*main)(2, (char **)argv);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue