8168636: More detailed information about native libraries in build log
authorihse
Wed, 26 Oct 2016 09:44:20 +0200
changeset 41651 38f26302650f
parent 41650 00b6f4e0fa61
child 41652 a0664e2b49a1
8168636: More detailed information about native libraries in build log Reviewed-by: erikj
make/common/NativeCompilation.gmk
--- a/make/common/NativeCompilation.gmk	Tue Oct 25 12:25:41 2016 -0700
+++ b/make/common/NativeCompilation.gmk	Wed Oct 26 09:44:20 2016 +0200
@@ -746,9 +746,10 @@
   # This is a rough heuristic and may not always print accurate information.
   $$($1_BUILD_INFO): $$($1_SRCS) $$($1_COMPILE_VARDEPS_FILE)
         ifeq ($$(wildcard $$($1_TARGET)),)
-	  $(ECHO) 'Creating $$($1_BASENAME) from $$(words $$(filter-out %.vardeps, $$?)) file(s)'
+	  $(ECHO) 'Creating $$(subst $$(BUILD_OUTPUT)/,,$$($1_TARGET)) from $$(words \
+	      $$(filter-out %.vardeps, $$?)) file(s)'
         else
-	  $(ECHO) $$(strip 'Updating $$($1_BASENAME)' \
+	  $(ECHO) $$(strip 'Updating $$(subst $$(BUILD_OUTPUT)/,,$$($1_TARGET))' \
 	      $$(if $$(filter-out %.vardeps, $$?), \
 	        'due to $$(words $$(filter-out %.vardeps, $$?)) file(s)', \
 	      $$(if $$(filter %.vardeps, $$?), 'due to makefile changes')))