Fix build system documentation example
The input and output file paths were mixed up in this example. Properly indicate the input file as a dependency. Change-Id: I71271025c6ce3ef8f82b10aee91fc0c7ae8f2399
This commit is contained in:
parent
622b3c2764
commit
bdd2e8ebf9
|
@ -438,7 +438,7 @@ intermediates:= $(local-generated-sources-dir)
|
|||
GEN := $(intermediates)/<font color=red>file.c</font>
|
||||
$(GEN): PRIVATE_INPUT_FILE := $(LOCAL_PATH)/<font color=red>input.file</font>
|
||||
$(GEN): PRIVATE_CUSTOM_TOOL = <font color=red>cat $(PRIVATE_INPUT_FILE) > $@</font>
|
||||
$(GEN): <font color=red>$(LOCAL_PATH)/file.c</font>
|
||||
$(GEN): <font color=red>$(LOCAL_PATH)/input.file</font>
|
||||
$(transform-generated-source)
|
||||
LOCAL_GENERATED_SOURCES += $(GEN)
|
||||
</pre>
|
||||
|
|
Loading…
Reference in New Issue