split servo build into library (non-android) for use in embedding

This commit is contained in:
Mike Blumenkrantz 2014-04-11 11:35:19 -04:00
parent 0c4354a439
commit b68fd73042

View file

@ -341,6 +341,12 @@ ifneq ($(CFG_OSTYPE),linux-androideabi)
servo: $(DEPS_servo)
@$(call E, compile: $@)
$(Q)$(RUSTC) $(RFLAGS_servo) -o $@ $<
libservo.dummy: $(DEPS_servo)
@$(call E, compile: $@)
$(Q)$(RUSTC) $(RFLAGS_servo) $< --crate-type dylib,rlib
touch libservo.dummy
else
servo: $(DEPS_servo)
@$(call E, compile: $@)