platform_build/core
Alex Deymo 00dc66760e Include the LOCAL_REQUIRED_MODULES when packaging.
When building test modules, dependencies added by the test modules get
build but don't get included in the packaged tests .zip file.

When packaging modules into a .zip file, this patch includes the modules
explicitly listed as a dependency in LOCAL_REQUIRED_MODULES for the
requested modules to package.

If these LOCAL_REQUIRED_MODULES dependencies are not used in the base
system image, they were build as part of the "tests" target but weree
not included in the package nor in the system image. This patch includes
those modules, making it easier to define dependencies of a test
module in the Android.mk file that defined said module, instead of
requiring to re-list all the dependent modules when packaging test
modules.

Bug: 27348226

Change-Id: Ic6f60cf2916b3fae0fa39f84aee8a4f440af9539
2017-01-05 12:12:42 -08:00
..
clang Remove variables exported by Soong 2016-12-14 16:27:08 -08:00
combo Remove global linker search paths 2016-09-09 11:01:15 -07:00
no_java_path
tasks Include the LOCAL_REQUIRED_MODULES when packaging. 2017-01-05 12:12:42 -08:00
aapt2.mk
android_manifest.mk
apicheck_msg_current.txt
apicheck_msg_last.txt
aux_config.mk introduce AUX build class of targets 2016-08-02 08:06:28 -07:00
aux_executable.mk introduce AUX build class of targets 2016-08-02 08:06:28 -07:00
aux_static_library.mk introduce AUX build class of targets 2016-08-02 08:06:28 -07:00
aux_toolchain.mk introduce AUX build class of targets 2016-08-02 08:06:28 -07:00
base_rules.mk Include the LOCAL_REQUIRED_MODULES when packaging. 2017-01-05 12:12:42 -08:00
binary.mk Identify non-local EXPORT_C_INCLUDE_DIRS in soong_to_convert 2016-12-13 18:29:59 -08:00
build-system.html Fix build system documentation example 2016-05-08 19:24:58 -07:00
build_id.mk
build_rro_package.mk Install runtime resource overlay without subdir. 2016-10-05 10:03:28 +01:00
ccache.mk
checktree
cleanbuild.mk Merge "Only update previous product config when changed" am: 2fcacb5a22 am: 5f381cfcb2 2016-09-17 02:41:50 +00:00
cleanspec.mk
clear_vars.mk Support non-gtest NATIVE_TESTS 2016-12-21 20:27:06 -08:00
config.mk Remove variables exported by Soong 2016-12-14 16:27:08 -08:00
config_sanitizers.mk Export variable for device sanitize arch to Soong 2016-11-02 15:20:25 -07:00
configure_local_jack.mk
configure_module_stem.mk
copy_headers.mk Prohibit host modules from using LOCAL_COPY_HEADERS 2016-11-28 13:46:17 -08:00
cxx_stl_setup.mk Fix building static linux binaries 2016-09-13 17:48:07 +00:00
definitions.mk Remove generated java source post clean logic 2016-12-22 10:37:31 -08:00
device.mk
dex_preopt.mk Remove option for non-pic dex preopt. 2016-12-19 09:52:25 +00:00
dex_preopt_libart.mk Remove option for non-pic dex preopt. 2016-12-19 09:52:25 +00:00
dex_preopt_libart_boot.mk Remove option for non-pic dex preopt. 2016-12-19 09:52:25 +00:00
dex_preopt_odex_install.mk Merge "Replace usages of my_register_name with my_all_targets" am: 077d9d5fe7 am: e373117cac 2016-09-21 02:28:59 +00:00
distdir.mk
dpi_specific_apk.mk Merge "Make apks depend on their certificates" am: f0a465c2cb 2016-05-17 04:08:25 +00:00
droiddoc.mk resolve merge conflicts of dd9aee1 to stage-aosp-master 2016-07-29 14:15:14 -07:00
dumpvar.mk introduce AUX build class of targets 2016-08-02 08:06:28 -07:00
dynamic_binary.mk Add NATIVE_TESTS class, move host native tests 2016-05-24 12:43:16 -07:00
envsetup.mk Prohibit host modules from using LOCAL_COPY_HEADERS 2016-11-29 20:42:37 +00:00
executable.mk Record module type statistics 2016-07-29 19:58:35 +00:00
executable_internal.mk Add basic VNDK support in Make 2016-11-28 13:46:17 -08:00
executable_prefer_symlink.mk Remove HOST_PREFER_32_BIT 2016-09-02 13:20:52 -07:00
filter_symbols.sh
find-jdk-tools-jar.sh
fuzz_test.mk Create sub-directory for fuzzers under nativetest. 2016-09-02 13:25:59 -07:00
goma.mk goma.mk: do not start goma compiler_proxy if NOSTART_GOMA is set. 2016-09-13 13:13:52 +09:00
help.mk
host_dalvik_java_library.mk Fix bad JACK_PLUGIN variable 2016-09-21 10:54:42 +02:00
host_dalvik_static_java_library.mk Record module type statistics 2016-07-29 19:58:35 +00:00
host_executable.mk Remove HOST_PREFER_32_BIT 2016-09-02 13:20:52 -07:00
host_executable_internal.mk Add NATIVE_TESTS class, move host native tests 2016-05-24 12:43:16 -07:00
host_fuzz_test.mk Record module type statistics 2016-07-29 19:58:35 +00:00
host_java_library.mk Add targets for building individual modules using javac 2016-09-19 13:38:51 +01:00
host_java_library_common.mk
host_native_test.mk Record module type statistics 2016-07-29 19:58:35 +00:00
host_prebuilt.mk Record module type statistics 2016-07-29 19:58:35 +00:00
host_shared_library.mk Remove HOST_PREFER_32_BIT 2016-09-02 13:20:52 -07:00
host_shared_library_internal.mk
host_shared_test_lib.mk Finish refactoring tests to NATIVE_TESTS 2016-06-22 00:27:54 -07:00
host_static_library.mk Remove HOST_PREFER_32_BIT 2016-09-02 13:20:52 -07:00
host_static_library_internal.mk
host_static_test_lib.mk Record module type statistics 2016-07-29 19:58:35 +00:00
host_test_internal.mk Support non-gtest NATIVE_TESTS 2016-12-21 20:27:06 -08:00
install_jni_libs.mk
install_jni_libs_internal.mk Build: Skip JNI lib symlink in second-stage build 2016-12-06 17:56:29 -08:00
jack-default.args Disable Jack's NNode cache 2016-12-06 15:00:03 +01:00
java.mk Remove generated java source post clean logic 2016-12-22 10:37:31 -08:00
java_common.mk Remove generated java source post clean logic 2016-12-22 10:37:31 -08:00
java_library.mk Record module type statistics 2016-07-29 19:58:35 +00:00
LINUX_KERNEL_COPYING
local_vndk.mk Revert "Revert "Extends VNDK support in Make by setting LOCAL_USE_VNDK for modules going into vendor partition, except when they already have LOCAL_SDK_VERSION set."" 2016-12-22 05:53:39 +00:00
main.mk Remove generated java source post clean logic 2016-12-22 10:37:31 -08:00
Makefile Merge "HOST_OUT_EXECUTABLES path is not needed in misc_info file" 2016-12-21 06:08:23 +00:00
module_arch_supported.mk
multi_prebuilt.mk Record module type statistics 2016-07-29 19:58:35 +00:00
multilib.mk
native_benchmark.mk resolve merge conflicts of dd9aee1 to stage-aosp-master 2016-07-29 14:15:14 -07:00
native_test.mk Record module type statistics 2016-07-29 19:58:35 +00:00
ninja.mk Remove --ignore_dirty=$(OUT_DIR)/% from Kati flags 2016-12-22 22:19:19 +00:00
ninja_config.mk Fix vendor/google/build/ninja_config.mk 2016-11-10 19:41:27 -08:00
node_fns.mk
notice_files.mk Fix PDK dupbuild issues 2016-12-09 21:15:41 -08:00
package.mk Record module type statistics 2016-07-29 19:58:35 +00:00
package_internal.mk Fix warning with AAPT2 and LOCAL_STATIC_ANDROID_LIBRARIES 2016-11-29 11:12:56 -08:00
pathmap.mk Update pathmap.mk for renderscript support library migration 2016-12-22 17:32:20 -08:00
pdk_config.mk Replace core-junit with legacy-test 2016-11-30 13:50:56 +00:00
pdk_fusion_modules.mk
phony_package.mk Record module type statistics 2016-07-29 19:58:35 +00:00
prebuilt.mk Record module type statistics 2016-07-29 19:58:35 +00:00
prebuilt_internal.mk aapt no longer needed for signing APKs 2016-12-15 16:37:21 -08:00
process_wrapper.sh
process_wrapper_gdb.cmds
process_wrapper_gdb.sh
product-graph.mk
product.mk Add ART_USE_READ_BARRIER to product variables. 2016-12-19 16:25:00 -08:00
product_config.mk Add ART_USE_READ_BARRIER to product variables. 2016-12-19 16:25:00 -08:00
proguard.emma.flags
proguard.flags
proguard.jacoco.flags
proguard_basic_keeps.flags
proguard_tests.flags
root.mk
sdk_font.mk
setup_one_odex.mk resolve merge conflicts of 0976590 to nyc-mr1-dev-plus-aosp 2016-09-12 16:58:12 +01:00
shared_library.mk Record module type statistics 2016-07-29 19:58:35 +00:00
shared_library_internal.mk Add basic VNDK support in Make 2016-11-28 13:46:17 -08:00
shared_test_lib.mk Finish refactoring tests to NATIVE_TESTS 2016-06-22 00:27:54 -07:00
soong.mk Split (ninja|soong).mk into config and rule portions 2016-11-09 17:53:33 -08:00
soong_config.mk Add ART_USE_READ_BARRIER to product variables. 2016-12-19 16:25:00 -08:00
static_java_library.mk resolve merge conflicts of dd9aee1 to stage-aosp-master 2016-07-29 14:15:14 -07:00
static_library.mk Record module type statistics 2016-07-29 19:58:35 +00:00
static_library_internal.mk Cleanup NATIVE_COVERAGE, PRIVATE_ARFLAGS 2016-10-21 16:40:19 -07:00
static_test_lib.mk Record module type statistics 2016-07-29 19:58:35 +00:00
target_test_internal.mk Support non-gtest NATIVE_TESTS 2016-12-21 20:27:06 -08:00
version_defaults.mk resolve merge conflicts of e04c941 to stage-aosp-master 2016-12-06 11:32:41 +01:00