platform_build/core
Dan Willemsen 8e96a794ac Split ALL_MODULES.*.REQUIRED and friends between target/host
So that we actually respect different LOCAL_REQUIRED_MODULES for the
host and device versions instead of unioning them. That got particularly
problematic when LOCAL_SHARED_LIBRARIES is implicitly added to
LOCAL_REQUIRED_MODULES. We also used to walk through device-only modules
when filling out the list of required modules, which triggered even more
extra installations.

This also changes the requirements for PRODUCT_HOST_PACKAGES so that it
no longer accepts target-only phony modules (since we can now
differentiate them). They were all removed in previous patches.

Test: treehugger; diff resulting builds
Test: diff list of product_target_FILES and product_host_FILES
Change-Id: I2ed8950320d31f5693323ad8cef6ec5b6780b7d4
2019-04-10 13:22:23 -07:00
..
clang Remove support for building Windows modules in Make 2019-02-05 00:19:41 -08:00
combo Merge "Add x86 AVX2 and AVX512 supported architectures" 2019-03-20 06:22:22 +00:00
tasks Split ALL_MODULES.*.REQUIRED and friends between target/host 2019-04-10 13:22:23 -07:00
LINUX_KERNEL_COPYING
Makefile Merge "Reland "Only assert-max-image-size for static partitions."" 2019-04-10 20:09:00 +00:00
OWNERS Update OWNERS for dex preopt related files. 2018-12-18 19:39:20 +00:00
WINPTHREADS_COPYING
aapt2.mk Support LOCAL_STATIC_JAVA_AAR_LIBRARIES with aapt2 2018-05-23 13:39:15 -07:00
aapt_flags.mk Move aapt2.mk before java.mk 2018-03-20 15:47:45 -07:00
allowed_ndk_types.mk
android_manifest.mk Update manifest merger to use binary 2019-02-27 06:18:35 +00:00
android_vts_host_config.mk Add a wrapper file for the vts_config module. 2019-02-14 18:13:36 -08:00
app_certificate_validate.mk Access PRODUCT_ variables directly 2019-03-28 15:54:25 +00:00
app_prebuilt_internal.mk Split out app_prebuilt_internal.mk. 2019-03-19 13:35:23 -07:00
autogen_test_config.mk Add a placeholder EXTRA_OPTIONS to inject more tradefed options 2019-03-01 11:36:36 -08:00
aux_config.mk Fix aux_config warning 2019-02-04 20:52:14 -08:00
aux_executable.mk Remove *_OUT_INTERMEDIATE_LIBRARIES 2018-09-15 10:52:13 -07:00
aux_static_library.mk
aux_toolchain.mk Move libgcc to libcrt.builtins 2018-11-08 13:40:34 -08:00
base_rules.mk Split ALL_MODULES.*.REQUIRED and friends between target/host 2019-04-10 13:22:23 -07:00
binary.mk Remove our clang-tidy wrapper 2019-04-04 16:21:53 -07:00
board_config.mk Add BUILD_BROKEN_USES_NETWORK 2019-04-09 09:59:31 -07:00
build-system.html Remove showcommands from docs 2018-07-14 09:32:13 -07:00
build_id.mk Make change and version bump to PPRL.190405.003 2019-04-08 18:50:28 +00:00
build_rro_package.mk Statements in build system such as ifeq (true,$(LOCAL_VENDOR_MODULE)) has a poor compatibility 2019-04-03 01:31:43 +00:00
cc_prebuilt_internal.mk prebuilt_internal.mk refactoring. 2019-03-26 15:29:20 -07:00
ccache.mk Mark export/unexport as deprecated 2018-06-21 10:12:23 -07:00
check_elf_file.mk Fix check_elf_file with LOCAL_SDK_VERSION and NDK libs 2019-03-01 10:25:25 +08:00
checktree
cleanbuild.mk
cleanspec.mk
clear_vars.mk Merge "Read product/device RRO dirs separately from soong" 2019-03-21 11:28:19 +00:00
config.mk Stop using build/target -> build/make/target symlink 2019-04-09 21:35:37 -07:00
config_sanitizers.mk Access PRODUCT_ variables directly 2019-03-28 15:54:25 +00:00
configure_module_stem.mk Restrict characters in module names 2018-06-12 13:48:49 -07:00
construct_context.sh Fix build time preopt with shared library uses. 2018-12-18 17:33:02 +00:00
copy_headers.mk
cxx_stl_setup.mk Remove support for building Windows modules in Make 2019-02-05 00:19:41 -08:00
definitions.mk Split ALL_MODULES.*.REQUIRED and friends between target/host 2019-04-10 13:22:23 -07:00
device.mk
dex_preopt.mk Move the profile rule out of dex_preopt_libart.mk. 2019-04-05 18:44:15 +01:00
dex_preopt_config.mk Pass DEXPREOPT_USE_APEX_IMAGE to soong. 2019-04-04 18:51:32 +01:00
dex_preopt_libart.mk Move the profile rule out of dex_preopt_libart.mk. 2019-04-05 18:44:15 +01:00
dex_preopt_libart_boot.mk Support for install multiple boot images. 2019-02-22 15:33:23 +00:00
dex_preopt_odex_install.mk Add a flag to select the apex boot image for preopt. 2019-03-08 14:41:14 +00:00
distdir.mk Fix dist-for-goals with no targets 2018-10-20 16:59:41 -07:00
dpi_specific_apk.mk Add module-target-built-files function 2019-03-20 10:22:21 -07:00
dumpvar.mk
dynamic_binary.mk Use llvm-{strip,objcopy} by default 2019-01-30 13:40:44 +00:00
empty_test_config.xml
envsetup.mk Q Branch prefix is QP1A 2019-04-09 13:00:09 -07:00
executable.mk Build: Do not build sanitize-never executable 2018-10-10 19:27:04 -07:00
executable_internal.mk Allow projects to exclude from libcrt_builtins 2018-11-08 13:41:05 -08:00
executable_prefer_symlink.mk
filter_symbols.sh
force_aapt2.mk Consolidate sdk version handling 2019-02-07 08:55:48 -08:00
fuzz_test.mk
generate_enforce_rro.mk Put DEVICE/PRODUCT overlays in different partitions 2019-03-22 13:25:20 +00:00
goma.mk Remove Goma resource check code. 2019-01-11 17:07:58 +09:00
header_library.mk Remove support for building Windows modules in Make 2019-02-05 00:19:41 -08:00
header_library_internal.mk Add soong_cc_prebuilt.mk 2018-09-10 14:46:52 -07:00
host_dalvik_java_library.mk Consolidate sdk version handling 2019-02-07 08:55:48 -08:00
host_dalvik_static_java_library.mk
host_executable.mk Remove support for building Windows modules in Make 2019-02-05 00:19:41 -08:00
host_executable_internal.mk Build System: Fix rpath error if native executable under testcase folder. 2018-05-07 06:29:12 +00:00
host_fuzz_test.mk
host_java_library.mk Merge "Mark more targets as PHONY" 2018-07-24 15:37:00 -07:00
host_java_library_common.mk Remove host- prefix from protobuf libraries 2018-10-26 23:55:49 -07:00
host_native_test.mk
host_prebuilt.mk
host_shared_library.mk Remove support for building Windows modules in Make 2019-02-05 00:19:41 -08:00
host_shared_library_internal.mk Remove *_OUT_INTERMEDIATE_LIBRARIES 2018-09-15 10:52:13 -07:00
host_shared_test_lib.mk
host_static_library.mk Remove support for building Windows modules in Make 2019-02-05 00:19:41 -08:00
host_static_library_internal.mk
host_static_test_lib.mk
host_test_config.mk
host_test_internal.mk Remove support for building Windows modules in Make 2019-02-05 00:19:41 -08:00
install_jni_libs.mk Indent the install_jni_libs makefiles 2019-04-03 14:24:43 +01:00
install_jni_libs_internal.mk Indent the install_jni_libs makefiles 2019-04-03 14:24:43 +01:00
instrumentation_test_config_template.xml Update the base autogenerated config template for instru 2018-03-16 18:16:34 +00:00
jacoco.mk Use find(1)'s -exec directly. 2019-01-14 12:56:07 -08:00
java.mk Don't feed framework.jar to proguard for vendor apks 2019-04-03 22:35:34 +09:00
java_common.mk Build System: Add java lib header files to module dependency list im module-info.mk 2019-01-24 09:27:48 +08:00
java_host_test_config_template.xml Allow Soong to autogenerate test configs 2018-08-14 15:39:32 -07:00
java_library.mk Remove dexpreopting of boot jars from Make 2019-02-15 13:00:14 -08:00
java_prebuilt_internal.mk prebuilt_internal.mk refactoring. 2019-03-26 15:29:20 -07:00
java_renderscript.mk Fix dep filename for rs.srcjar 2019-01-03 22:14:56 -08:00
java_test_config_template.xml Allow Soong to autogenerate test configs 2018-08-14 15:39:32 -07:00
jetifier.mk Follow minor Jetifier usage change 2018-08-29 17:33:29 +00:00
link_type.mk
local_systemsdk.mk Put DEVICE/PRODUCT overlays in different partitions 2019-03-22 13:25:20 +00:00
local_vndk.mk Add support for /odm partition 2018-08-08 18:59:44 +08:00
main.mk Split ALL_MODULES.*.REQUIRED and friends between target/host 2019-04-10 13:22:23 -07:00
module_arch_supported.mk Remove support for building Windows modules in Make 2019-02-05 00:19:41 -08:00
multi_prebuilt.mk Remove *_OUT_INTERMEDIATE_LIBRARIES 2018-09-15 10:52:13 -07:00
multilib.mk
native_benchmark.mk Eliminate ENABLE_DEFAULT_TEST_LOCATION as it is always true 2019-03-25 13:26:03 -07:00
native_benchmark_test_config_template.xml build/make: auto generate Test config file for Google Benchmark Test 2018-04-19 09:16:54 +00:00
native_host_test_config_template.xml ATest: Host native test config auto-gen support. 2018-08-14 14:53:14 -07:00
native_test.mk
native_test_config_template.xml Add a placeholder EXTRA_OPTIONS to inject more tradefed options 2019-03-01 11:36:36 -08:00
ninja_config.mk Remove valgrind-test-art% targets from PARSE_TIME_MAKE_GOALS. 2019-03-13 17:28:11 +00:00
node_fns.mk
notice_files.mk Add -CROSS suffix to cross host OS notice targets. 2018-11-08 16:53:02 -08:00
pack_dyn_relocs_setup.mk Disable standalone relocation packer 2018-06-26 00:35:46 +00:00
package.mk Warn when defining a 32-bit product on a 64-bit device. 2018-07-09 13:17:52 +01:00
package_internal.mk Eliminate ENABLE_DEFAULT_TEST_LOCATION as it is always true 2019-03-25 13:26:03 -07:00
pathmap.mk
pdk_config.mk Remove usages of legacy-test and legacy-android-test 2019-02-22 15:45:03 +00:00
pdk_fusion_modules.mk Fix pre-extracted PDKs 2018-11-05 10:57:24 -08:00
phony_package.mk
prebuilt.mk Remove support for building Windows modules in Make 2019-02-05 00:19:41 -08:00
prebuilt_internal.mk prebuilt_internal.mk refactoring. 2019-03-26 15:29:20 -07:00
process_wrapper.sh
process_wrapper_gdb.cmds
process_wrapper_gdb.sh
product-graph.mk Fix the product-graph target 2019-03-20 11:03:59 +00:00
product.mk Automate the strip and assignment of PRODUCT_ vars 2019-03-28 15:26:49 +00:00
product_config.mk Automate the strip and assignment of PRODUCT_ vars 2019-03-28 15:26:49 +00:00
proguard.flags Understand the support library/androidx @Keep annotations 2019-03-26 23:44:01 +00:00
proguard.jacoco.flags
proguard_basic_keeps.flags Remove obsolete proguard flags 2019-01-25 21:30:13 +00:00
project_definitions.mk Always statically include Support Libraries, move SDK definitions up a dir 2018-05-03 16:47:11 -07:00
python_binary_host_test_config_template.xml ATest: Add test config template for python. 2018-11-20 15:31:44 +08:00
root.mk
sdk_check.mk Enforce specifying sdk/private for apps. 2018-03-09 10:15:25 +00:00
sdk_font.mk
shared_library.mk Remove *_OUT_INTERMEDIATE_LIBRARIES 2018-09-15 10:52:13 -07:00
shared_library_internal.mk Allow projects to exclude from libcrt_builtins 2018-11-08 13:41:05 -08:00
shared_test_lib.mk
soong_app_prebuilt.mk Put DEVICE/PRODUCT overlays in different partitions 2019-03-22 13:25:20 +00:00
soong_cc_prebuilt.mk Skip checking ELF files for uninstallable soong modules 2019-04-02 14:06:22 -07:00
soong_config.mk Export more config values to Soong 2019-04-02 22:57:43 -07:00
soong_droiddoc_prebuilt.mk Build docs zips with make docs 2019-01-18 16:08:14 -08:00
soong_java_prebuilt.mk Add a dependency on boot jars $(LOCAL_BUILT_MODULE) 2019-03-18 13:17:22 -07:00
static_java_library.mk Fix resource overlay order for static libraries 2019-02-14 03:34:57 +00:00
static_library.mk Remove *_OUT_INTERMEDIATE_LIBRARIES 2018-09-15 10:52:13 -07:00
static_library_internal.mk
static_test_lib.mk
support_libraries.mk Fix support libraries dependencies based on Soong modules 2018-05-03 16:47:55 -07:00
target_test_config.mk
target_test_internal.mk Eliminate ENABLE_DEFAULT_TEST_LOCATION as it is always true 2019-03-25 13:26:03 -07:00
test_config_common.mk
use_lld_setup.mk Remove support for building Windows modules in Make 2019-02-05 00:19:41 -08:00
verify_uses_libraries.sh Use $(AAPT) instead of aapt for verifying uses libraries 2018-05-14 10:18:02 -07:00
version_defaults.mk Q Branch prefix is QP1A 2019-04-09 13:00:09 -07:00