Don't rebuild rust-core-foundation and rust-cocoa unless they are old

This commit is contained in:
Brian J. Burg 2012-09-05 18:42:28 -07:00
parent d260e06688
commit d25fecad92

View file

@ -51,13 +51,19 @@ LAYERS_DEPS = \
src/rust-azure/libazure.dummy src/rust-azure/libazure.dummy
ifeq ($(OSTYPE),darwin) ifeq ($(OSTYPE),darwin)
SERVO_DEPS += rust-cocoa rust-core-foundation SERVO_DEPS += \
src/rust-cocoa/libcocoa.dummy \
src/rust-core-foundation/librustcorefoundation.dummy
# I want the cocoa check to come before the servo check since if cocoa # I want the cocoa check to come before the servo check since if cocoa
# doesn't work neither does servo # doesn't work neither does servo
CHECK_DEPS += check-rust-cocoa check-rust-core-foundation CHECK_DEPS += check-rust-cocoa check-rust-core-foundation
CLEAN_DEPS += clean-rust-cocoa clean-rust-core-foundation CLEAN_DEPS += clean-rust-cocoa clean-rust-core-foundation
AZURE_DEPS += rust-cocoa rust-core-foundation AZURE_DEPS += \
LAYERS_DEPS += rust-cocoa rust-core-foundation src/rust-cocoa/libcocoa.dummy \
src/rust-core-foundation/librustcorefoundation.dummy
LAYERS_DEPS += \
src/rust-cocoa/libcocoa.dummy \
src/rust-core-foundation/librustcorefoundation.dummy
endif endif
SERVO_DEPS += \ SERVO_DEPS += \
@ -128,7 +134,7 @@ reftest: src/reftest/reftest.rs libservo.dummy
.PHONY: mozjs rust-harfbuzz rust-mozjs rust-azure rust-cocoa \ .PHONY: mozjs rust-harfbuzz rust-mozjs rust-azure rust-cocoa \
rust-stb-image rust-geom rust-opengles rust-glut rust-layers \ rust-stb-image rust-geom rust-opengles rust-glut rust-layers \
rust-http-client rust-core-foundation rust-http-client rust-core-foundation rust-hubbub
mozjs: src/mozjs/libjs_static.a mozjs: src/mozjs/libjs_static.a
@ -154,6 +160,8 @@ rust-http-client: src/rust-http-client/libhttp_client.dummy
rust-core-foundation: src/rust-core-foundation/librustcorefoundation.dummy rust-core-foundation: src/rust-core-foundation/librustcorefoundation.dummy
rust-hubbub: src/rust-hubbub/librusthubbub.dummy
libparserutils: src/libparserutils/libparserutils.dummy libparserutils: src/libparserutils/libparserutils.dummy
libhubbub: src/libhubbub/libhubbub.dummy libhubbub: src/libhubbub/libhubbub.dummy