mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Build servo as a library
This commit is contained in:
parent
596913ee91
commit
f36a834f0d
2 changed files with 4 additions and 0 deletions
|
@ -77,6 +77,9 @@ CLEAN_DEPS += \
|
||||||
all: servo package
|
all: servo package
|
||||||
|
|
||||||
servo: $(SERVO_DEPS)
|
servo: $(SERVO_DEPS)
|
||||||
|
$(RUSTC) $(RUSTFLAGS) -o $@ $< --bin
|
||||||
|
|
||||||
|
libservo.dummy: $(SERVO_DEPS)
|
||||||
$(RUSTC) $(RUSTFLAGS) -o $@ $<
|
$(RUSTC) $(RUSTFLAGS) -o $@ $<
|
||||||
|
|
||||||
servo-test: $(SERVO_DEPS)
|
servo-test: $(SERVO_DEPS)
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
#[comment = "The Servo Parallel Browser Project"];
|
#[comment = "The Servo Parallel Browser Project"];
|
||||||
#[license = "MPL"];
|
#[license = "MPL"];
|
||||||
|
#[crate_type = "lib"];
|
||||||
|
|
||||||
use std;
|
use std;
|
||||||
use sdl;
|
use sdl;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue