mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
split servo build into library (non-android) for use in embedding
This commit is contained in:
parent
0c4354a439
commit
b68fd73042
1 changed files with 6 additions and 0 deletions
|
@ -341,6 +341,12 @@ ifneq ($(CFG_OSTYPE),linux-androideabi)
|
||||||
servo: $(DEPS_servo)
|
servo: $(DEPS_servo)
|
||||||
@$(call E, compile: $@)
|
@$(call E, compile: $@)
|
||||||
$(Q)$(RUSTC) $(RFLAGS_servo) -o $@ $<
|
$(Q)$(RUSTC) $(RFLAGS_servo) -o $@ $<
|
||||||
|
|
||||||
|
libservo.dummy: $(DEPS_servo)
|
||||||
|
@$(call E, compile: $@)
|
||||||
|
$(Q)$(RUSTC) $(RFLAGS_servo) $< --crate-type dylib,rlib
|
||||||
|
touch libservo.dummy
|
||||||
|
|
||||||
else
|
else
|
||||||
servo: $(DEPS_servo)
|
servo: $(DEPS_servo)
|
||||||
@$(call E, compile: $@)
|
@$(call E, compile: $@)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue