platform_build/core
Ying Wang 07acdbfd32 Running jarjar on Java resources.
Before this change, Java resources are added as a separate step
(add-java-resources-to-package) after dex is run, so jarjar isn't run on
the resource files.
With this change, we add Java resources immediately after we call javac,
so jarjar is run on the resource files (the module's own resource, as
well as resources carried by static Java libraries).
When we generate the final apk/jar, we use the jarjar'ed jar as the
inital pacakge file, with class files and empty folders removed.

(cherry-picked from commit 140274707e)

Bug: 18837479
Change-Id: I15ecf282bfb65fd53dd03fbd03dd4c71927c186a
2015-01-21 11:57:52 -08:00
..
clang Make bcc-compat able to pick the right mtriple flag for Renderscript 2015-01-12 17:20:28 -08:00
combo [MIPSR6] Adjust prebuilts/ndk libraries for mips32r6 2015-01-16 18:13:17 +00:00
tasks Remove unused PRODUCT_TAGS 2015-01-05 15:33:16 -08:00
android_manifest.mk
apicheck_msg_current.txt Support to check System API. 2014-06-26 17:54:28 -07: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 [MIPSR6] Adjust prebuilts/ndk libraries for mips32r6 2015-01-16 18:13:17 +00:00
build-system.html
build_id.mk Update build ID to AOSP 2014-11-07 16:10:17 +05:30
checktree
cleanbuild.mk Delete vendor and oem staging directory in "make installclean". 2014-07-18 09:56:13 -07:00
cleanspec.mk
clear_vars.mk Add more support for GLOBAL_CONLYFLAGS. 2014-12-01 15:36:26 -08:00
config.mk Add build rules for libRSSupportIO (Usage_IO lib for RS compat lib) 2015-01-09 09:43:09 -08:00
config_sanitizers.mk Add a SANITIZE_HOST flag. 2014-12-05 22:20:37 -08:00
configure_module_stem.mk Add HOST_PREFER_32_BIT to support 32-bit-by-default multilib build 2014-05-20 18:03:21 -07:00
copy_headers.mk
cxx_stl_setup.mk Make libc++ the default STL. 2014-11-07 13:24:56 -08:00
definitions.mk Running jarjar on Java resources. 2015-01-21 11:57:52 -08: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 [MIPS64] Set ART base address for mips64 2014-12-23 13:50:18 +01: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 Merge "Remove libdvm support from the core build system." 2014-12-16 21:38:41 +00:00
distdir.mk
droiddoc.mk Make modules depend on their makefile. 2014-11-11 14:30:54 -08:00
dumpvar.mk Print all 2ND variables. 2014-05-14 19:16:25 -07:00
dynamic_binary.mk Allow to strip everything for only some build variants. 2014-08-10 16:19:04 -07:00
envsetup.mk am 80ff45ba: am 0850330c: Merge "Default host module to 64-bit except for SDK builds." 2014-09-02 23:28:51 +00:00
executable.mk Support host multilib build 2014-05-14 16:55:04 -07:00
executable_internal.mk resolved conflicts for merge of 326f9450 to lmp-dev-plus-aosp 2014-09-24 09:42:39 -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 Running jarjar on Java resources. 2015-01-21 11:57:52 -08:00
host_dalvik_static_java_library.mk Switch from core to core-libart 2014-06-18 17:42:32 -07:00
host_executable.mk Add LOCAL_NO_FPIE. 2014-09-03 15:39:50 -07:00
host_executable_internal.mk Support host multilib build 2014-05-14 16:55:04 -07:00
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 Support host multilib build 2014-05-14 16:55:04 -07:00
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 New installation path for apks and their JNIs. 2014-07-18 16:26:24 -07:00
java.mk Merge "Add build rules for libRSSupportIO (Usage_IO lib for RS compat lib)" 2015-01-16 16:33:53 +00:00
java_library.mk Running jarjar on Java resources. 2015-01-21 11:57:52 -08:00
legacy_prebuilts.mk
main.mk Remove libdvm support from the core build system. 2014-12-16 10:08:00 -08:00
Makefile Add build.prop to root ramdisk 2015-01-13 17:55:09 -08:00
module_arch_supported.mk build: delete 64-bit blacklist 2014-06-17 21:35:44 -07:00
multi_prebuilt.mk
multilib.mk Real "LOCAL_MULTILIB := both" for prebuilts 2014-05-16 10:49:57 -07:00
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 Real "LOCAL_MULTILIB := both" for prebuilts 2014-05-16 10:49:57 -07:00
package_internal.mk Running jarjar on Java resources. 2015-01-21 11:57:52 -08:00
pathmap.mk Add docs for Palette and CardView 2014-09-28 16:13:19 +00: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 Make modules depend on their makefile. 2014-11-11 14:30:54 -08:00
process_wrapper.sh
process_wrapper_gdb.cmds
process_wrapper_gdb.sh
product.mk Remove unused PRODUCT_TAGS 2015-01-05 15:33:16 -08:00
product_config.mk Remove unused PRODUCT_TAGS 2015-01-05 15:33:16 -08: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 Clarify multiarch warnings 2014-05-21 16:40:35 -07:00
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 Support host multilib build 2014-05-14 16:55:04 -07:00
static_library_internal.mk Support host multilib build 2014-05-14 16:55:04 -07:00
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 2014-10-22 15:44:51 -07:00