servo: Don't rebuild rust-core-foundation and rust-cocoa unless they are old
authorBrian J. Burg <burg@cs.washington.edu>
Wed, 05 Sep 2012 18:42:28 -0700
changeset 361874 1c499a3535ff575d53c1209ae31d6adf404944f5
parent 361873 1c254b04ce68bd922a9fe139d64b990ab84f8e9c
child 361875 dd74cc7144ce2b87ff3cf9afe8540980573cb1c5
push id10863
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 23:02:23 +0000
treeherdermozilla-aurora@0931190cd725 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
servo: Don't rebuild rust-core-foundation and rust-cocoa unless they are old Source-Repo: https://github.com/servo/servo Source-Revision: d25fecad92edee99a74b47f13f354b527383c200
servo/Makefile.in
--- a/servo/Makefile.in
+++ b/servo/Makefile.in
@@ -46,23 +46,29 @@ GLUT_DEPS = \
 	src/rust-opengles/librustopengles.dummy
 LAYERS_DEPS = \
 	src/rust-geom/librustgeom.dummy \
 	src/rust-opengles/librustopengles.dummy \
 	src/rust-glut/librustglut.dummy \
 	src/rust-azure/libazure.dummy
 
 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
     # doesn't work neither does servo
     CHECK_DEPS += check-rust-cocoa check-rust-core-foundation
     CLEAN_DEPS += clean-rust-cocoa clean-rust-core-foundation
-    AZURE_DEPS += rust-cocoa rust-core-foundation
-    LAYERS_DEPS += rust-cocoa rust-core-foundation
+    AZURE_DEPS += \
+	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
 
 SERVO_DEPS += \
 	src/mozjs/libjs_static.a \
 	src/rust-harfbuzz/libharfbuzz.dummy \
 	src/rust-mozjs/libjs.dummy \
 	src/rust-azure/libazure.dummy \
 	src/rust-stb-image/libstb-image.dummy \
@@ -123,17 +129,17 @@ servo-test: $(SERVO_DEPS)
 
 reftest: src/reftest/reftest.rs libservo.dummy
 	$(RUSTC) $(RUSTFLAGS) $(RUSTLIBS) -o $@ $< -L .
 
 # Convenient sub-project targets
 
 .PHONY: mozjs rust-harfbuzz rust-mozjs rust-azure rust-cocoa \
 	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
 
 rust-harfbuzz: src/rust-harfbuzz/libharfbuzz.dummy
 
 rust-mozjs: src/rust-mozjs/libjs.dummy
 
 rust-azure: src/rust-azure/libazure.dummy
@@ -149,16 +155,18 @@ rust-opengles: src/rust-opengles/librust
 rust-glut: src/rust-glut/librustglut.dummy
 
 rust-layers: src/rust-layers/librustlayers.dummy
 
 rust-http-client: src/rust-http-client/libhttp_client.dummy
 
 rust-core-foundation: src/rust-core-foundation/librustcorefoundation.dummy
 
+rust-hubbub: src/rust-hubbub/librusthubbub.dummy
+
 libparserutils: src/libparserutils/libparserutils.dummy
 
 libhubbub: src/libhubbub/libhubbub.dummy
 
 servo-sandbox: src/servo-sandbox/servo-sandbox.dummy
 
 
 # Subproject rules