From 5f76fc0d7cadacf9124ed3fb56c6dac1010367ca Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Thu, 21 Jun 2018 21:42:29 -0700 Subject: [PATCH] Mark implicit rules as obsolete Test: view Changes.md in gitiles Change-Id: Id5691dc099b23df4d94b0ca30725702bc282b998 --- Changes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Changes.md b/Changes.md index 140ceaa99e..7440220d9b 100644 --- a/Changes.md +++ b/Changes.md @@ -50,7 +50,7 @@ $(intermediates)/generated_output.img: $(envsh) a/b/c/package.sh source $(PRIVATE_ENV); a/b/c/package.sh ... ``` -## Implicit make rules are deprecated {#implicit_rules} +## Implicit make rules are obsolete {#implicit_rules} Implicit rules look something like the following: @@ -62,7 +62,7 @@ $(TARGET_OUT_SHARED_LIBRARIES)/%_vendor.so: $(TARGET_OUT_SHARED_LIBRARIES)/%.so ... ``` -These can have wide ranging effects across unrelated modules, so they're now deprecated. Instead, use static pattern rules, which are similar, but explicitly match the specified outputs: +These can have wide ranging effects across unrelated modules, so they're now obsolete. Instead, use static pattern rules, which are similar, but explicitly match the specified outputs: ``` make libs := $(foreach lib,libfoo libbar,$(TARGET_OUT_SHARED_LIBRARIES)/$(lib)_vendor.so)