From 4bd53d1a8011988920a33d89b4d70b7d232bdbeb Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Thu, 24 Oct 2013 22:00:29 +0200 Subject: gbuild: add gb_ExternalProject_use_jars Change-Id: Idd67548cb5f0e49e539459ed7f2fbd107d37c1b3 --- solenv/gbuild/ExternalProject.mk | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'solenv/gbuild/ExternalProject.mk') diff --git a/solenv/gbuild/ExternalProject.mk b/solenv/gbuild/ExternalProject.mk index 9b5466ba86b2..2dd034aa2b0f 100644 --- a/solenv/gbuild/ExternalProject.mk +++ b/solenv/gbuild/ExternalProject.mk @@ -184,6 +184,15 @@ $(call gb_ExternalProject_get_preparation_target,$(1)) : \ endef +# Make an external project depend on a Jar file +# +# gb_ExternalProject_use_jars external jars +define gb_ExternalProject_use_jars +$(call gb_ExternalProject_get_preparation_target,$(1)) : \ + $(foreach jar,$(2),$(call gb_Jar_get_target,$(lib))) + +endef + # Run a target command # # This provides a wrapper that changes to the right directory, -- cgit