java_source_list_file is only created when full_classses_jar is set
So avoid creating an unused phony target when we aren't compiling anything. Test: treehugger Change-Id: I4e6d9d93ee5a7d11db6b4a6c7da1ba947d96e575
This commit is contained in:
parent
17315c2eda
commit
e1cbfc717b
1 changed files with 2 additions and 0 deletions
|
@ -377,9 +377,11 @@ ifeq ($(need_compile_res),true)
|
|||
# they want to use this module's R.java file.
|
||||
$(LOCAL_BUILT_MODULE): $(R_file_stamp)
|
||||
|
||||
ifneq ($(full_classes_jar),)
|
||||
# The R.java file must exist by the time the java source
|
||||
# list is generated
|
||||
$(java_source_list_file): $(R_file_stamp)
|
||||
endif
|
||||
|
||||
endif # need_compile_res
|
||||
|
||||
|
|
Loading…
Reference in a new issue