platform_build/core
Cole Faust c2becd087a Disallow setting LOCAL_MODULE_STEM for android packages
LOCAL_MODULE_STEM is not used in the packaging code,
except when setting PACKAGES.$(LOCAL_MODULE).STEM.
Having this disconnect between PACKAGES.$(LOCAL_MODULE).STEM
and the actual name of the apk causes an apk signing
step to fail.

Other module types like BUILD_HEADER_LIBRARY explicetly
disallow setting LOCAL_MODULE_STEM, so we can also just
do that for packages.

Fixes: 204027319
Test: Presubmits
Change-Id: Ib3da9a8dd6792a6c9d725cb24b835b32dbb13c40
2021-11-05 12:35:18 -07:00
..
clang Do not append empty DEFAULT_TIDY_HEADER_DIRS 2021-02-11 22:36:04 -08:00
combo Remove all unused, legacy FDO build rules 2021-04-05 17:13:00 -07:00
tasks Add share_libs and system_share_libs to module-info 2021-11-01 06:38:43 +00:00
aapt2.mk
aapt_flags.mk
allowed_ndk_types.mk
android_manifest.mk
android_soong_config_vars.mk Use findstring to check MODULE_BUILD_FROM_SOURCE 2021-10-27 23:53:29 +00:00
app_certificate_validate.mk
app_prebuilt_internal.mk Do not alter presigned prebuilt apks for SDK > 29. 2021-05-13 16:16:19 -07:00
artifact_path_requirements.mk Add a "relaxed" mode for require-artifacts-in-path 2020-12-09 16:30:43 +00:00
autogen_test_config.mk Revert "update build rules to use /data/local/tests/unrestricted" 2021-09-22 04:20:05 +00:00
base_rules.mk Merge "vintf recovery install parity w/ init_rc" 2021-11-04 22:28:51 +00:00
binary.mk Remove all unused, legacy FDO build rules 2021-04-05 17:13:00 -07:00
board_config.mk Make starlark board configuration work with sdk_phone_x86_64 2021-11-04 16:13:24 -07:00
build-system.html
build_id.mk Version bump to SP1A.211105.004 [core/build_id.mk] 2021-10-20 20:28:38 +00:00
build_id.rbc Product configuration in Starlark support files. 2021-03-18 10:52:05 -07:00
build_rro_package.mk
cc_prebuilt_internal.mk
ccache.mk
check_elf_file.mk
checktree
cleanbuild.mk
cleanspec.mk
clear_vars.mk Add macros for non-module license metadata and deps 2021-11-03 00:52:25 +00:00
config.mk Move tools compiled by Soong to HOST_OUT_EXECUTABLES 2021-11-01 15:03:01 -07:00
config_sanitizers.mk [memtag] Disable memtag for AndroidMk host modules. 2021-05-26 17:07:27 +00:00
configure_module_stem.mk
copy_headers.mk
cxx_stl_setup.mk Revert^2 "Switch platform-NDK unwinder to LLVM libunwind.a prebuilt" 2021-03-31 15:33:35 -07:00
definitions.mk Convert .meta_lic files to textproto 2021-11-03 15:44:00 +00:00
deprecation.mk
device.mk
dex_preopt.mk Add 'platform:' prefix to unqualified system server jars. 2021-05-05 15:18:39 +01:00
dex_preopt_config.mk Rename UpdatableSystemServerJars to ApexSystemServerJars. 2021-07-28 14:03:57 +01:00
dex_preopt_config_merger.py Preserve <uses-library> order in dexpreopt.config files. 2021-02-11 17:09:19 +00:00
dex_preopt_libart.mk Use order-only dependencies for symbols files 2021-04-27 19:43:33 -07:00
dex_preopt_odex_install.mk Deprecate system server jars defined in Android.mk. 2021-10-26 14:47:24 +01:00
distdir.mk
dumpconfig.mk Generate FlatConfig objects from GenericConfig objects. 2021-02-22 17:18:07 -08:00
dumpvar.mk Make dump-many-vars work for large variables 2020-11-07 01:38:20 +00:00
dynamic_binary.mk Merge "Propagate CREATE_MINIDEBUGINFO to strip.sh" 2021-05-03 15:42:01 +00:00
empty_test_config.xml
envsetup.mk Document how APEXes are identified in the boot jar variables. 2021-07-08 23:24:09 +01:00
envsetup.rbc Make global config depend on version defaults. 2021-09-17 11:00:29 -07:00
executable.mk
executable_internal.mk Stop linking against libatomic 2021-04-02 21:05:48 -07:00
executable_prefer_symlink.mk
filter_symbols.sh
force_aapt2.mk
fuzz_test.mk Remove honggfuzz support. 2021-04-02 10:24:48 -07:00
generate_enforce_rro.mk RRO shouldn't depend on frameworks or system(_ext) app when TARGET_BUILD_UNBUNDLED 2021-06-04 00:05:55 +00:00
goma.mk
header_library.mk
header_library_internal.mk
host_dalvik_java_library.mk Turn missing jarjar output files into errors 2021-02-08 10:55:05 -08:00
host_dalvik_static_java_library.mk
host_executable.mk
host_executable_internal.mk
host_java_library.mk Re-call BUILD_NOTICE_FILE for modules that add deps 2021-09-09 20:09:13 +00:00
host_java_library_common.mk
host_prebuilt.mk
host_shared_library.mk
host_shared_library_internal.mk
host_static_library.mk
host_static_library_internal.mk
install_jni_libs.mk
install_jni_libs_internal.mk
instrumentation_test_config_template.xml
jacoco.mk Package jacoco and proguard files out of a PACKAGING directory 2021-04-07 18:52:02 -07:00
java.mk Package jacoco and proguard files out of a PACKAGING directory 2021-04-07 18:52:02 -07:00
java_common.mk
java_host_test_config_template.xml
java_host_unit_test_config_template.xml Mark the unit tests module itself as its component 2021-03-24 20:11:49 +00:00
java_library.mk
java_prebuilt_internal.mk Don't expect all Java modules to have a manifest. 2021-04-13 12:42:44 +01:00
java_renderscript.mk Fix bitrot: RSTest_CompatLib[19] tests stopped building 2021-07-08 17:01:43 -07:00
java_test_config_template.xml
jetifier.mk
link_type.mk
LINUX_KERNEL_COPYING
local_current_sdk.mk
local_systemsdk.mk
local_vndk.mk Define __ANDROID_VENDOR__ and __ANDROID_PRODUCT__ 2021-03-15 18:17:35 +09:00
main.mk Make starlark board configuration work with sdk_phone_x86_64 2021-11-04 16:13:24 -07:00
Makefile Add macros for non-module license metadata and deps 2021-11-03 00:52:25 +00:00
misc_prebuilt_internal.mk
module_arch_supported.mk
multi_prebuilt.mk
multilib.mk
native_benchmark_test_config_template.xml Revert "update build rules to use /data/local/tests/unrestricted" 2021-09-22 04:20:05 +00:00
native_host_test_config_template.xml
native_test.mk
native_test_config_template.xml
ninja_config.mk Remove old build-tools/platform-tools SDK implementation 2021-10-15 14:22:07 -07:00
node_fns.mk Keep the first and last snapshot of variables. 2021-02-17 10:02:41 -08:00
notice_files.mk Add macros for non-module license metadata and deps 2021-11-03 00:52:25 +00:00
OWNERS Update owners for dex_preopt and verify_uses_libraries 2021-06-17 17:04:23 +01:00
pack_dyn_relocs_setup.mk
package.mk
package_internal.mk Disallow setting LOCAL_MODULE_STEM for android packages 2021-11-05 12:35:18 -07:00
pathmap.mk
phony_package.mk
prebuilt.mk
prebuilt_internal.mk
process_wrapper.sh
process_wrapper_gdb.cmds
process_wrapper_gdb.sh
product-graph.mk Make starlark board configuration work with sdk_phone_x86_64 2021-11-04 16:13:24 -07:00
product.mk Deprecate system server jars defined in Android.mk. 2021-10-26 14:47:24 +01:00
product_config.mk Make starlark board configuration work with sdk_phone_x86_64 2021-11-04 16:13:24 -07:00
product_config.rbc Make starlark board configuration work with sdk_phone_x86_64 2021-11-04 16:13:24 -07:00
proguard.flags
proguard.jacoco.flags
proguard_basic_keeps.flags
project_definitions.mk
python_binary_host_test_config_template.xml
rbe.mk Ensure RBE_CXX_POOL and RBE_JAVA_POOL variables work as expected 2021-09-14 21:31:38 -04:00
robolectric_test_config_template.xml Changes Robolectric test suite tag to its own value to enable filtering these in ATP. 2020-10-28 01:09:18 +00:00
root.mk
rust_device_benchmark_config_template.xml Revert "update build rules to use /data/local/tests/unrestricted" 2021-09-22 04:20:05 +00:00
rust_device_test_config_template.xml Merge "rust: Add EXTRA_CONFIGS to rust test template" 2021-09-24 18:39:47 +00:00
rust_host_benchmark_config_template.xml Add test configuration for rust benchmarks. 2021-04-06 12:41:10 +02:00
rust_host_test_config_template.xml
sdk_check.mk
sdk_font.mk
shared_library.mk
shared_library_internal.mk Stop linking against libatomic 2021-04-02 21:05:48 -07:00
shell_test_config_template.xml
soong_android_app_set.mk Use the Soong output as the checkbuild target 2021-10-09 13:33:40 -07:00
soong_app_prebuilt.mk Use the Soong output as the checkbuild target 2021-10-09 13:33:40 -07:00
soong_cc_prebuilt.mk Use the Soong output as the checkbuild target 2021-10-09 13:33:40 -07:00
soong_config.mk Remove unused variable SKIP_BOOT_JARS_CHECK. 2021-09-30 14:00:34 +01:00
soong_droiddoc_prebuilt.mk
soong_java_prebuilt.mk Use the Soong output as the checkbuild target 2021-10-09 13:33:40 -07:00
soong_rust_prebuilt.mk Use the Soong output as the checkbuild target 2021-10-09 13:33:40 -07:00
static_java_library.mk
static_library.mk
static_library_internal.mk
suite_host_config.mk
support_libraries.mk
sysprop.mk Fix typo for ODM prop files 2021-08-04 20:04:46 +00:00
target_test_internal.mk Add MTE ELF note to makefile-generated native tests. 2021-03-15 10:45:05 -07:00
use_lld_setup.mk
version_defaults.mk Merge SP1A.211105.004 to aosp-master - DO NOT MERGE 2021-11-03 12:17:35 +00:00
version_util.mk Move the stable code from version_defaults.mk to version_util.mk. 2021-09-15 16:12:05 -07:00
WINPTHREADS_COPYING