platform_build/core
Jiyong Park f58fd52b14 Stem names are used in apkcerts.txt
_apkcerts_write_line has assumed that the stem name of a package is the
same as the module of it. That assumption however breaks for
APK-in-APEX, in which case the stem name is Foo while the module name is
Foo.com.android.bar (where com.android.bar is the name of the APEX where
the APK is in).

Fixing the issue by recording the stem name and use it.

Bug: 155440232
Test: OVERRIDE_TARGET_FLATTEN_APEX=true m apkcerts-list
and check the generat4ed apkcerts txt file to see that it has
Tethering.apk instead of Tethering.com.android.tethering.apex

Change-Id: I56bc55e2231eb946617a9d6f97d55c9b61f3bff7
2020-05-01 13:13:13 +00:00
..
clang
combo Add back the llvm-ar P flag 2019-09-06 15:19:59 -07:00
tasks [VTS] copy ltp and kselftest to testcase folder 2020-04-27 21:31:55 +00:00
aapt2.mk
aapt_flags.mk
allowed_ndk_types.mk
android_manifest.mk Allow codename.fingerprint format for minSdkVersion 2020-01-16 10:04:55 -08:00
app_certificate_validate.mk
app_prebuilt_internal.mk Add signing certificate lineage file support. 2020-04-06 10:19:15 -07:00
autogen_test_config.mk Update auto-gen test config template with EXTRA_CONFIGS placeholder 2019-07-15 17:29:42 +00:00
aux_config.mk Add back the llvm-ar P flag 2019-09-06 15:19:59 -07:00
aux_executable.mk
aux_static_library.mk
aux_toolchain.mk
base_rules.mk Build merged apexkeys.txt/apkcerts.txt by partition. 2020-04-02 17:16:01 +00:00
binary.mk Remove execute-only support. 2020-02-13 14:20:28 -05:00
board_config.mk Enable non-v3 recovery image with v3 boot image 2020-04-14 15:40:01 -07:00
build-system.html
build_id.mk RESTRICT AUTOMERGE: rvc-dev is BUILD_ID=RVC 2020-03-29 16:03:39 -07:00
build_rro_package.mk Do not remove RRO resources 2020-01-14 17:00:13 -08:00
cc_prebuilt_internal.mk Restore "Linktype check for native:product" 2020-01-22 00:16:25 +00:00
ccache.mk
check_elf_file.mk Enable prebuilt ELF check for all targets 2019-12-09 14:00:25 -08:00
checktree
cleanbuild.mk
cleanspec.mk
clear_vars.mk Add signing certificate lineage file support. 2020-04-06 10:19:15 -07:00
config.mk Remove _API_FILE variables 2020-04-18 10:15:19 +01:00
config_sanitizers.mk Stop linking libdl.a into static bins 2019-10-24 18:15:05 -07:00
configure_module_stem.mk
construct_context.sh Revert "remove telephony-common from boot class" 2019-09-24 22:00:18 +00:00
copy_headers.mk Stop removing valid copy headers 2019-12-26 16:52:34 -08:00
cxx_stl_setup.mk Update make build system for dynamic unwinder. 2020-01-10 11:09:52 -08:00
definitions.mk Add signing certificate lineage file support. 2020-04-06 10:19:15 -07:00
deprecation.mk Mark the current BUILD_* warnings as errors by default 2020-02-19 18:11:18 -08:00
device.mk
dex_preopt.mk Add art dexpreopt to boot.zip archive 2019-12-04 16:50:17 -08:00
dex_preopt_config.mk Remove UseApexImage and GenerateApexImage. 2020-02-09 22:53:25 +00:00
dex_preopt_libart.mk Remove TARGET_TRANSLATE_2ND_ARCH 2019-09-18 16:23:04 +00:00
dex_preopt_libart_boot.mk
dex_preopt_odex_install.mk Remove UseApexImage and GenerateApexImage. 2020-02-09 22:53:25 +00:00
distdir.mk
dumpvar.mk
dynamic_binary.mk Give strip depfile a unique name, properly include it 2020-01-27 22:06:21 +00:00
empty_test_config.xml
envsetup.mk Get rid of obsolete Make variable TARGET_CORE_JARS. 2020-03-24 17:09:47 +00:00
executable.mk Mark BUILD_HOST_EXECUTABLE as deprecated 2020-01-29 13:27:18 -08:00
executable_internal.mk Package coverage files as a zip. 2020-02-03 19:00:36 +00:00
executable_prefer_symlink.mk
filter_symbols.sh
force_aapt2.mk
fuzz_test.mk Fix to avoid breaking aosp_x86 build 2019-09-20 12:43:02 -07:00
generate_enforce_rro.mk
goma.mk
header_library.mk
header_library_internal.mk
host_dalvik_java_library.mk Set pools manually for rules that can run in RBE or goma 2019-11-12 13:59:49 -08:00
host_dalvik_static_java_library.mk
host_executable.mk
host_executable_internal.mk
host_fuzz_test.mk
host_java_library.mk Set pools manually for rules that can run in RBE or goma 2019-11-12 13:59:49 -08:00
host_java_library_common.mk
host_native_test.mk
host_prebuilt.mk
host_shared_library.mk Mark the current BUILD_* warnings as errors by default 2020-02-19 18:11:18 -08:00
host_shared_library_internal.mk
host_shared_test_lib.mk
host_static_library.mk Mark the current BUILD_* warnings as errors by default 2020-02-19 18:11:18 -08:00
host_static_library_internal.mk
host_static_test_lib.mk
host_test_config.mk
host_test_internal.mk
install_jni_libs.mk
install_jni_libs_internal.mk Restore "Linktype check for native:product" 2020-01-22 00:16:25 +00:00
instrumentation_test_config_template.xml Instrumentation test doesn't support extra config 2019-08-26 15:50:15 -07:00
jacoco.mk
java.mk Initialize common_proguard_flags for each module 2019-12-13 16:23:11 -08:00
java_common.mk Remove support for EXPERIMENTAL_JAVA_LANGUAGE_LEVEL_9. 2019-10-25 16:55:54 +01:00
java_host_test_config_template.xml Update auto-gen test config template with EXTRA_CONFIGS placeholder 2019-07-15 17:29:42 +00:00
java_library.mk Remove support for stripping dex. 2019-10-21 09:36:45 +01:00
java_prebuilt_internal.mk Remove support for stripping dex. 2019-10-21 09:36:45 +01:00
java_renderscript.mk Add labels to rewrapper cc compile action. Prevent ccwrapper from being 2019-08-12 14:13:31 -04:00
java_test_config_template.xml Update auto-gen test config template with EXTRA_CONFIGS placeholder 2019-07-15 17:29:42 +00:00
jetifier.mk
line_coverage.mk Add a new make target called haiku-line-coverage 2020-02-17 11:18:11 -08:00
link_type.mk
LINUX_KERNEL_COPYING
local_systemsdk.mk Exempt RRO from the restriction on API level 2020-04-28 10:25:41 +09:00
local_vndk.mk Restore "Linktype check for native:product" 2020-01-22 00:16:25 +00:00
main.mk Merge "Clean up static_whitelist_patterns" into rvc-dev 2020-04-28 10:32:58 +00:00
Makefile Stem names are used in apkcerts.txt 2020-05-01 13:13:13 +00:00
misc_prebuilt_internal.mk Add RENDERSCRIPT_BITCODE to misc_prebuilt_internal whitelist. 2019-11-11 15:21:06 -08:00
module_arch_supported.mk
multi_prebuilt.mk
multilib.mk
native_benchmark.mk
native_benchmark_test_config_template.xml Update auto-gen test config template with EXTRA_CONFIGS placeholder 2019-07-15 17:29:42 +00:00
native_host_test_config_template.xml Update auto-gen test config template with EXTRA_CONFIGS placeholder 2019-07-15 17:29:42 +00:00
native_test.mk
native_test_config_template.xml Update auto-gen test config template with EXTRA_CONFIGS placeholder 2019-07-15 17:29:42 +00:00
ninja_config.mk Merge "Rename VTS to VTS10" am: 916be61b91 am: ed51dee98e am: 474ebdd3e9 am: 371d7b5194 2020-03-31 23:20:06 +00:00
node_fns.mk
notice_files.mk Avoid path conflicts for the notice files 2019-11-04 10:30:34 +09:00
OWNERS
pack_dyn_relocs_setup.mk Explicitly add lld's relr relocation flags for Android Pie and above 2019-07-30 22:36:29 -07:00
package.mk Remove TARGET_TRANSLATE_2ND_ARCH 2019-09-18 16:23:04 +00:00
package_internal.mk Make RRO packages for system_ext 2020-04-20 13:59:52 +00:00
pathmap.mk
pdk_config.mk Replace framework.jar with framework-minus-apex.jar 2019-10-28 09:55:33 +00:00
pdk_fusion_modules.mk
phony_package.mk
prebuilt.mk Remove TARGET_TRANSLATE_2ND_ARCH 2019-09-18 16:23:04 +00:00
prebuilt_internal.mk Add RENDERSCRIPT_BITCODE to misc prebuilt whitelist. 2019-11-11 09:30:38 -08:00
process_wrapper.sh
process_wrapper_gdb.cmds
process_wrapper_gdb.sh
product-graph.mk Ensure current product use PRODUCT_* vars directly 2019-10-30 14:29:42 +00:00
product.mk Merge "Add PRODUCT_SYSTEM_SERVER_JARS_EXTRA interface" into rvc-dev 2020-04-27 08:22:01 +00:00
product_config.mk Add PRODUCT_SYSTEM_SERVER_JARS_EXTRA interface 2020-04-27 08:21:22 +00:00
proguard.flags
proguard.jacoco.flags
proguard_basic_keeps.flags Keep proguard fields for lite runtime 2019-09-05 14:42:14 -07:00
project_definitions.mk
python_binary_host_test_config_template.xml
rbe.mk Update configuration for RemoteExecution actions 2020-04-02 07:13:39 -07:00
root.mk
rust_device_test_config_template.xml Add rust_device_test_config_template.xml 2019-12-02 17:44:47 +00:00
rust_host_test_config_template.xml Add rust_host_test_config_template.xml 2019-11-14 09:57:13 -08:00
sdk_check.mk
sdk_font.mk Move font xml files to "standard" directory 2020-01-29 18:26:32 +00:00
shared_library.mk Mark the current BUILD_* warnings as errors by default 2020-02-19 18:11:18 -08:00
shared_library_internal.mk Package coverage files as a zip. 2020-02-03 19:00:36 +00:00
shared_test_lib.mk
soong_app_prebuilt.mk Stem names are used in apkcerts.txt 2020-05-01 13:13:13 +00:00
soong_cc_prebuilt.mk Touch same_vndk_variant.timestamp 2020-04-30 04:02:20 +00:00
soong_config.mk Make RRO packages for system_ext 2020-04-20 13:59:52 +00:00
soong_droiddoc_prebuilt.mk Allow files generated by droidstubs to be copied in the SDK 2019-11-18 10:38:13 +00:00
soong_java_prebuilt.mk
soong_rust_prebuilt.mk Set NATIVE_TESTS executable like EXECUTABLES 2019-11-15 14:10:09 -08:00
static_java_library.mk Add dependencies for files in LOCAL_PROGUARD_FLAGS 2019-08-09 09:19:52 -07:00
static_library.mk Mark the current BUILD_* warnings as errors by default 2020-02-19 18:11:18 -08:00
static_library_internal.mk Package coverage files as a zip. 2020-02-03 19:00:36 +00:00
static_test_lib.mk
suite_host_config.mk Generalize vts config module for other Suites 2019-10-18 18:28:23 +00:00
support_libraries.mk
target_test_config.mk
target_test_internal.mk
test_config_common.mk
use_lld_setup.mk
verify_uses_libraries.sh
version_defaults.mk Update Security String to 2020-06-05 am: a52a320ffd 2020-04-18 21:17:20 +00:00
WINPTHREADS_COPYING