Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
build
Commits
fc6d5b6a
Commit
fc6d5b6a
authored
10 years ago
by
Ying Wang
Browse files
Options
Download
Email Patches
Plain Diff
Allow to add jar resource or manifest even without Java code.
Change-Id: I2d8fd93f004d9e0c29c71b887810b2624769789e
parent
c168b6e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
core/base_rules.mk
core/base_rules.mk
+4
-4
No files found.
core/base_rules.mk
View file @
fc6d5b6a
...
...
@@ -402,7 +402,6 @@ endif # current or system_current
endif
# LOCAL_SDK_VERSION
endif
# TARGET_
$(LOCAL_INTERMEDIATE_TARGETS)
:
PRIVATE_RESOURCE_DIR := $(LOCAL_RESOURCE_DIR)
$(LOCAL_INTERMEDIATE_TARGETS)
:
PRIVATE_EXTRA_JAR_ARGS := $(extra_jar_args)
$(LOCAL_INTERMEDIATE_TARGETS)
:
PRIVATE_ASSET_DIR := $(LOCAL_ASSET_DIR)
$(LOCAL_INTERMEDIATE_TARGETS)
:
PRIVATE_STATIC_JAVA_LIBRARIES := $(full_static_java_libs)
...
...
@@ -464,6 +463,10 @@ ifdef LOCAL_INSTRUMENTATION_FOR
full_java_lib_deps
+=
$(link_instr_classes_jar)
endif
endif
# need_compile_java
# We may want to add jar manifest or jar resource files even if there is no java code at all.
$(LOCAL_INTERMEDIATE_TARGETS)
:
PRIVATE_EXTRA_JAR_ARGS := $(extra_jar_args)
jar_manifest_file
:=
ifneq
($(strip $(LOCAL_JAR_MANIFEST)),)
jar_manifest_file
:=
$(LOCAL_PATH)
/
$(LOCAL_JAR_MANIFEST)
...
...
@@ -472,9 +475,6 @@ else
$(LOCAL_INTERMEDIATE_TARGETS)
:
PRIVATE_JAR_MANIFEST :=
endif
endif
# need_compile_java
###########################################################
## make clean- targets
###########################################################
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment