platform_build/core
Ying Wang 454bcff255 Add back Java resources to apk without Java code.
With commit 33360dd569 we moved Java
resource packaging forward to creation of the jar file. But the Java
resource packaging will be skipped if a module has no Java code at all.
(The build system does support building an apk without Java code.)
In this change we add back the Java resources directly to the built apk
when the apk has no Java code.

(cherry-picked from commit 8b27d1879c)

Bug: 19947218
Change-Id: I0e1a65a9cbe656974f8ef3923b2f15e9efa5feb9
2015-03-27 11:30:51 -07:00
..
clang Filter out unsupported flag: -fprefetch-loop-arrays 2015-03-05 16:02:04 -08:00
combo Revert "Switch x86 and x86_64 to 4.9. Attempt #2." 2015-03-25 18:27:21 +00:00
tasks Fix: exit code is 0 even when check-boot-jars.py fails 2015-03-26 13:25:06 +09:00
android_manifest.mk Add support for prebuilt AARs. 2014-12-17 22:27:26 +00:00
apicheck_msg_current.txt Let apicheck check both the public API and system API. 2015-01-09 14:23:16 -08:00
apicheck_msg_last.txt
base_rules.mk Use ALL_MODULES.$(m).INSTALLED in modules-for-tag-list 2014-11-18 12:48:07 -08:00
binary.mk Support "LOCAL_FDO_SUPPORT := always". 2015-03-13 11:36:15 -07:00
build-system.html
build_id.mk Update build ID to AOSP 2014-11-07 16:10:17 +05:30
checktree
cleanbuild.mk Remove ancient SDK cleanbuild rule 2015-01-06 16:49:20 -08:00
cleanspec.mk
clear_vars.mk am 37a44faa: Merge "Store native libs aligned to PAGE_SIZE" 2015-02-26 12:45:34 +00:00
config.mk Load cts/build/config.mk after build/core/config.mk 2015-03-16 10:56:03 -07:00
config_sanitizers.mk Add a SANITIZE_HOST flag. 2014-12-05 22:20:37 -08:00
configure_module_stem.mk
copy_headers.mk
cxx_stl_setup.mk Static binaries with libc++ need libs c, m and dl. 2015-03-19 13:05:13 -07:00
definitions.mk Strip prebuilt shared library by default. 2015-03-13 11:36:15 -07:00
device.mk
dex_preopt.mk Remove libdvm support from the core build system. 2014-12-16 10:08:00 -08:00
dex_preopt_libart.mk Store odex files in oat/<isa>/ directory. 2015-03-18 12:41:31 -07:00
dex_preopt_libart_boot.mk Remove obsolete PRODUCT_DEX_PREOPT_.*_IN_DATA 2014-12-15 22:09:58 -08:00
dex_preopt_odex_install.mk Build only 64-bit odex for system server jars. 2015-03-10 11:08:05 -07:00
distdir.mk
dpi_specific_apk.mk Add back Java resources to apk without Java code. 2015-03-27 11:30:51 -07:00
droiddoc.mk Make modules depend on their makefile. 2014-11-11 14:30:54 -08:00
dumpvar.mk
dynamic_binary.mk Strip prebuilt shared library by default. 2015-03-13 11:36:15 -07:00
envsetup.mk Clearly explain that 32-bit x86 is not supported 2015-03-20 12:50:42 -07:00
executable.mk
executable_internal.mk resolved conflicts for merge of 326f9450 to lmp-mr1-dev-plus-aosp 2014-09-24 09:51:05 -07:00
executable_prefer_symlink.mk Revert "Use PRIVATE_POST_INSTALL_CMD to simplify executable_prefer_symlink.mk" 2014-11-25 12:52:26 +00:00
filter_symbols.sh
find-jdk-tools-jar.sh Fix Java detection on some Linux distributions 2014-10-16 14:08:32 +02:00
help.mk
host_dalvik_java_library.mk Add new build flag LOCAL_DONT_DELETE_JAR_DIRS. 2015-01-29 17:44:27 +00:00
host_dalvik_static_java_library.mk Build hostdex on only Linux. 2015-01-26 09:52:28 -08:00
host_executable.mk Add LOCAL_NO_FPIE. 2014-09-03 15:39:50 -07:00
host_executable_internal.mk
host_java_library.mk Make modules depend on their makefile. 2014-11-11 14:30:54 -08:00
host_java_library_common.mk Update protobuf library from 2.3 to 2.6. 2015-01-08 16:35:11 -08:00
host_native_test.mk
host_prebuilt.mk
host_shared_library.mk Revert "Don't rename host libraries if only one arch is build." 2014-06-11 01:12:18 +00:00
host_shared_library_internal.mk Make modules depend on their makefile. 2014-11-11 14:30:54 -08:00
host_shared_test_lib.mk
host_static_library.mk Revert "Don't rename host libraries if only one arch is build." 2014-06-11 01:12:18 +00:00
host_static_library_internal.mk
host_static_test_lib.mk
host_test_internal.mk Remove logic for libstdc++ gtest libs. 2014-11-09 00:55:25 -08:00
install_jni_libs.mk Fix missing rs_compatibility_jni_libs. 2014-06-30 11:20:41 -07:00
install_jni_libs_internal.mk Support LOCAL_PREBUILT_JNI_LIBS in unbundled build. 2015-02-12 22:40:24 +00:00
java.mk [Renderscript] making librsjni.so be packed with apks when 2015-03-13 10:23:30 -07:00
java_library.mk Add new build flag LOCAL_DONT_DELETE_JAR_DIRS. 2015-01-29 17:44:27 +00:00
legacy_prebuilts.mk
main.mk Change eng builds from interpret-only to verify-at-runtime 2015-03-20 11:15:20 -07:00
Makefile Merge "MKBOOTIMG override were missing in two places" 2015-03-27 16:47:15 +00:00
module_arch_supported.mk build: delete 64-bit blacklist 2014-06-17 21:35:44 -07:00
multi_prebuilt.mk Strip prebuilt shared library by default. 2015-03-13 11:36:15 -07:00
multilib.mk
native_benchmark.mk
native_test.mk Allow to opt out both multilib in native test. 2014-06-10 17:52:20 -07:00
node_fns.mk
notice_files.mk
package.mk
package_internal.mk Add back Java resources to apk without Java code. 2015-03-27 11:30:51 -07:00
pathmap.mk Remove platform/bootable/bootloader/legacy from pathmap 2015-01-27 13:47:05 -08:00
pdk_config.mk Remove framework2 2014-07-21 14:42:29 -07:00
phony_package.mk Make modules depend on their makefile. 2014-11-11 14:30:54 -08:00
post_clean.mk Fix aidl post clean bug. 2014-08-23 09:45:31 -07:00
prebuilt.mk Don't set up the prebuilt apk rule twice. 2014-12-01 15:56:19 -08:00
prebuilt_internal.mk Strip prebuilt shared library by default. 2015-03-13 11:36:15 -07:00
process_wrapper.sh
process_wrapper_gdb.cmds
process_wrapper_gdb.sh
product.mk resolved conflicts for merge of fc759204 to stage-aosp-master 2015-03-04 15:43:45 -08:00
product_config.mk am ad6dd21e: Merge "Remove unused PRODUCT_TAGS" 2015-01-06 23:59:10 +00:00
proguard.emma.flags
proguard.flags
proguard_basic_keeps.flags Less spammy ProGuard. 2014-06-17 11:53:31 -07:00
proguard_tests.flags Allow for opt-in of proguard shrinking of tests with new flag 2014-09-09 20:42:48 -04:00
root.mk
sdk_font.mk Fix sdk_font build warning. 2014-09-04 18:59:05 -07:00
setup_one_odex.mk Support to build apk odex for both arch. 2014-09-15 12:12:18 -07:00
shared_library.mk
shared_library_internal.mk Make modules depend on their makefile. 2014-11-11 14:30:54 -08:00
shared_test_lib.mk
static_java_library.mk Support "LOCAL_SDK_VERSION := system_current" 2014-07-19 17:00:50 -07:00
static_library.mk
static_library_internal.mk
static_test_lib.mk
target_test_internal.mk Remove logic for platform stlport gtest. 2014-11-11 17:45:45 -08:00
version_defaults.mk Restore AOSP-style version numbers - DO NOT MERGE 2015-02-20 11:04:55 -08:00