diff options
author | Ying Wang <wangying@google.com> | 2015-02-02 15:33:31 -0800 |
---|---|---|
committer | Ying Wang <wangying@google.com> | 2015-02-02 15:33:31 -0800 |
commit | 6bcc01a812cfaf78df35f867f0700ea1d7ef2fd6 (patch) | |
tree | ccc93266860a3d1bd22a98a2f4f0abe4a4b42e7a /core/base_rules.mk | |
parent | 38a9d5a739cb95758e3f40cb240c1511a309d4f7 (diff) | |
download | build-6bcc01a812cfaf78df35f867f0700ea1d7ef2fd6.zip build-6bcc01a812cfaf78df35f867f0700ea1d7ef2fd6.tar.gz build-6bcc01a812cfaf78df35f867f0700ea1d7ef2fd6.tar.bz2 |
Allow to build resource only Java module.
Change-Id: I0ccce1f3e336fe25d3b36471664042d1f144c74a
Diffstat (limited to 'core/base_rules.mk')
-rw-r--r-- | core/base_rules.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/base_rules.mk b/core/base_rules.mk index fee05dc..6b83860 100644 --- a/core/base_rules.mk +++ b/core/base_rules.mk @@ -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 := \ |