Bug 1016993 - Strip jsapi-tests prior to packaging; r=ted

This commit is contained in:
Dan Minor 2014-05-28 13:19:30 -04:00
parent 22e6c34b66
commit d00aa7e989

View File

@ -505,7 +505,13 @@ ifeq ($(MOZ_WIDGET_TOOLKIT),android)
endif
$(NSINSTALL) $(topsrcdir)/startupcache/test/TestStartupCacheTelemetry.js $(PKG_STAGE)/cppunittests
$(NSINSTALL) $(topsrcdir)/startupcache/test/TestStartupCacheTelemetry.manifest $(PKG_STAGE)/cppunittests
ifdef STRIP_CPP_TESTS
$(OBJCOPY) $(or $(STRIP_FLAGS),--strip-unneeded) $(DIST)/bin/jsapi-tests$(BIN_SUFFIX) $(PKG_STAGE)/cppunittests/jsapi-tests$(BIN_SUFFIX)
else
cp -RL $(DIST)/bin/jsapi-tests$(BIN_SUFFIX) $(PKG_STAGE)/cppunittests
endif
stage-jittest: make-stage-dir
$(NSINSTALL) -D $(PKG_STAGE)/jit-test/tests