Allow to build resource only Java module.

Change-Id: I0ccce1f3e336fe25d3b36471664042d1f144c74a
This commit is contained in:
Ying Wang 2015-02-02 15:33:31 -08:00
parent 38a9d5a739
commit 6bcc01a812
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,7 @@ endif # java_resource_file_groups
# LOCAL_SOURCE_FILES_ALL_GENERATED is set only if the module does not have static source files,
# but generated source files in its LOCAL_INTERMEDIATE_SOURCE_DIR.
# You have to set up the dependency in some other way.
need_compile_java := $(strip $(all_java_sources)$(all_res_assets))$(LOCAL_STATIC_JAVA_LIBRARIES)$(filter true,$(LOCAL_SOURCE_FILES_ALL_GENERATED))
need_compile_java := $(strip $(all_java_sources)$(all_res_assets)$(java_resource_sources))$(LOCAL_STATIC_JAVA_LIBRARIES)$(filter true,$(LOCAL_SOURCE_FILES_ALL_GENERATED))
ifdef need_compile_java
full_static_java_libs := \