platform_build/core
Evgenii Stepanov 13bc227ef0 Fix evaluation order of (Cfi|Memtag) exclude paths.
Before this change, exclude paths disabled sanitization of targets that
would otherwise be enabled by SanitizeDevice product variable (aka
SANITIZE_TARGET).

With this change, in addition to the above logic, exclude path disables
sanitization of targets that would otherwise be enabled by the
corresponding include path.

Effectively, this change disables sanitization of targets that are
covered by *both* include and exclude paths.

Test: MEMTAG_HEAP_SYNC_INCLUDE_PATHS=system/extras \
      MEMTAG_HEAP_EXCLUDE_PATHS=system/extras/su m su && \
      readelf -n path/to/su | grep .note.android.memtag
Bug: b/184976817
Change-Id: Ifa44b85556c6468fe5a37b5e6864c4ce9561ae2b
2021-04-13 10:11:58 -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 Build module-info.json in dist 2021-03-22 10:33:36 +00:00
aapt2.mk Allow passing --legacy in LOCAL_AAPT_FLAGS 2019-06-22 13:03:09 -07:00
aapt_flags.mk
allowed_ndk_types.mk
android_manifest.mk Introduce TARGET_BUILD_UNBUNDLED_IMAGE 2020-08-03 15:47:09 +09:00
android_soong_config_vars.mk Always use ART sources for Fuchsia. 2021-03-05 15:59:20 +00:00
app_certificate_validate.mk Use inclusive language in build/make 2020-06-12 21:10:55 -07:00
app_prebuilt_internal.mk Don't expect all Java modules to have a manifest. 2021-04-13 12:42:44 +01: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 AutoGen: Support NativeTest with vendor namespace. 2020-09-01 10:33:47 +08:00
base_rules.mk Add LOCAL_FULL_INIT_RC to handle init_rc full path 2021-04-08 11:33:46 -04:00
binary.mk Remove all unused, legacy FDO build rules 2021-04-05 17:13:00 -07:00
board_config.mk Refactor vendor_boot v4 build logic and add more checks 2021-04-04 20:40:17 +08:00
build-system.html Document unbundle build behavior 2020-08-06 18:25:51 +09:00
build_id.mk Version bump to RQ2A.210305.007 [core/build_id.mk] 2021-02-04 22:27:50 +00:00
build_id.rbc Product configuration in Starlark support files. 2021-03-18 10:52:05 -07:00
build_rro_package.mk Do not remove RRO resources 2020-01-14 17:00:13 -08:00
cc_prebuilt_internal.mk Dedup lists of NDK libraries from Soong. 2020-06-30 12:46:41 -07:00
ccache.mk
check_elf_file.mk Exclude system shared libs from fix suggestion 2020-09-22 18:55:11 +08:00
checktree
cleanbuild.mk
cleanspec.mk
clear_vars.mk Merge "Add LOCAL_FULL_INIT_RC to handle init_rc full path" 2021-04-12 19:05:27 +00:00
config.mk Mark PRODUCT_CHECK_ELF_FILES as obsolete 2021-03-31 04:25:55 +00:00
config_sanitizers.mk Fix evaluation order of (Cfi|Memtag) exclude paths. 2021-04-13 10:11:58 -07:00
configure_module_stem.mk
copy_headers.mk Stop removing valid copy headers 2019-12-26 16:52:34 -08:00
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 Merge "Remove legacy host shared library linking with gcov" 2021-04-08 18:31:08 +00:00
deprecation.mk Obsolete unused module types 2020-04-18 21:00:18 -07:00
device.mk
dex_preopt.mk Auto-generate dexpreopt boot image module 2020-07-14 15:49:08 +08:00
dex_preopt_config.mk Preopt apps with updatable boot classpath too. 2021-03-29 14:03:12 +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 Remove LOCAL_LICENSE_KINDS from core makefiles. 2021-02-16 04:37:23 -08:00
dex_preopt_odex_install.mk Don't expect all Java modules to have a manifest. 2021-04-13 12:42:44 +01:00
distdir.mk Remove obsolete PDK build functionality 2020-08-11 01:12:01 +00:00
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 Give strip depfile a unique name, properly include it 2020-01-27 22:06:21 +00:00
empty_test_config.xml
envsetup.mk Rename vendor-ramdisk to vendor_ramdisk 2021-03-03 13:56:48 -08:00
envsetup.rbc Address reviewer comments from the previous commits 2021-04-01 23:07:06 -07:00
executable.mk Remove TARGET_PREFER_32_BIT. 2020-06-08 16:36:52 -07:00
executable_internal.mk Stop linking against libatomic 2021-04-02 21:05:48 -07:00
executable_prefer_symlink.mk Remove TARGET_PREFER_32_BIT. 2020-06-08 16:36:52 -07:00
filter_symbols.sh
force_aapt2.mk Don't set LOCAL_SDK_RES_VERSION to current if LOCAL_SDK_VERSION is core_current 2019-04-18 11:14:58 -07:00
fuzz_test.mk Remove honggfuzz support. 2021-04-02 10:24:48 -07:00
generate_enforce_rro.mk Don't sign auto-generated RROs with platform cert 2019-05-01 16:42:56 +01:00
goma.mk Disable goma for javac actions in Make 2020-03-05 20:46:47 +00:00
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 Add dependencies on the toolchain (clang, etc) 2019-06-12 21:34:52 +00:00
host_java_library.mk Turn missing jarjar output files into errors 2021-02-08 10:55:05 -08:00
host_java_library_common.mk
host_prebuilt.mk
host_shared_library.mk Mark the current BUILD_* warnings as errors by default 2020-03-07 11:29:29 -08:00
host_shared_library_internal.mk
host_static_library.mk Mark the current BUILD_* warnings as errors by default 2020-03-07 11:29:29 -08:00
host_static_library_internal.mk
install_jni_libs.mk Rename product_services to system_ext 2019-07-09 08:57:19 +00:00
install_jni_libs_internal.mk Mark jni libs as REQUIRED by their app 2020-06-16 16:13:03 +08:00
instrumentation_test_config_template.xml Update auto-gen test config template with PARAMETERIZED_STRINGS 2020-05-18 09:58:18 +08:00
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 Introduce TARGET_BUILD_UNBUNDLED_IMAGE 2020-08-03 15:47:09 +09: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_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 Remove support for stripping dex. 2019-10-21 09:36:45 +01:00
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 [DO NOT MERGE] Add labels to rewrapper cc compile action. Prevent ccwrapper from being used in links. 2020-08-31 12:35:23 +00: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
link_type.mk More performance improvements 2020-06-10 17:18:13 -07:00
LINUX_KERNEL_COPYING
local_current_sdk.mk Introduce BOARD_CURRENT_API_LEVEL_FOR_VENDOR_MODULES 2020-08-24 23:16:19 +09:00
local_systemsdk.mk Exempt RRO from the restriction on API level 2020-04-28 10:25:41 +09:00
local_vndk.mk Define __ANDROID_VENDOR__ and __ANDROID_PRODUCT__ 2021-03-15 18:17:35 +09:00
main.mk Merge "Add a build flag to turn on debugfs restrictions" 2021-04-09 00:12:02 +00:00
Makefile Merge "Support installing modules.options file" 2021-04-13 09:20:24 +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_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 AutoGen: Support NativeTest with vendor namespace. 2020-09-01 10:33:47 +08:00
ninja_config.mk Remove build tasks for vts10 2020-10-05 10:17:21 -07:00
node_fns.mk Keep the first and last snapshot of variables. 2021-02-17 10:02:41 -08:00
notice_files.mk Avoid duplicate installed notice file rules. 2021-02-21 09:03:15 -08:00
OWNERS Refactor OWNERS files in platform/build/make. 2020-10-08 16:14:44 -07:00
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_PREFER_32_BIT. 2020-06-08 16:36:52 -07:00
package_internal.mk Consolidate manifest_check for different module types. 2021-03-19 11:00:51 +00:00
pathmap.mk Fix up recovery_text_res 2020-05-27 19:37:03 -07:00
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 Add a build flag to turn on debugfs restrictions 2021-04-07 16:47:59 -07:00
product_config.mk Add a product variable to override APEX modules in boot jar lists. 2021-03-02 20:53:59 +00:00
product_config.rbc Address reviewer comments from the previous commits 2021-04-01 23:07:06 -07: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 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 Merge "Revert "Remove env-var-allowlist"" am: fd8dae609f am: fe4c812bad 2020-10-20 21:04:49 +00: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_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 Use inclusive language in build/make 2020-06-12 21:10:55 -07:00
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-03-07 11:29:29 -08:00
shared_library_internal.mk Stop linking against libatomic 2021-04-02 21:05:48 -07:00
shell_test_config_template.xml Add test config template for sh_test. 2020-06-11 22:57:48 +00:00
soong_android_app_set.mk Add LOCAL_APKCERTS_FILE support. 2020-07-30 17:43:32 -07:00
soong_app_prebuilt.mk Package jacoco and proguard files out of a PACKAGING directory 2021-04-07 18:52:02 -07:00
soong_cc_prebuilt.mk Make the build fail when the executable prebuilt target check fails. 2020-10-07 21:04:51 +01:00
soong_config.mk Add a build flag to turn on debugfs restrictions 2021-04-07 16:47:59 -07:00
soong_droiddoc_prebuilt.mk Remove apidiff task and droiddoc jdiff support 2020-10-08 19:06:21 +01:00
soong_java_prebuilt.mk Merge "Fix build break for Android.bp dex_import" 2021-04-09 06:00:27 +00:00
soong_rust_prebuilt.mk Rust: Collect gnco files with CLANG_COVERAGE too. 2020-11-16 15:32:19 -05:00
static_java_library.mk Introduce TARGET_BUILD_UNBUNDLED_IMAGE 2020-08-03 15:47:09 +09:00
static_library.mk Mark the current BUILD_* warnings as errors by default 2020-03-07 11:29:29 -08:00
static_library_internal.mk Package coverage files as a zip. 2020-02-03 19:00:36 +00:00
suite_host_config.mk Generalize vts config module for other Suites 2019-10-18 18:28:23 +00:00
support_libraries.mk
sysprop.mk Use BOARD_API_LEVEL to define ro.board.api_level 2021-04-06 16:33:07 +09: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 RQ2A.210305.007 into stage. 2021-03-01 00:54:23 -08:00
WINPTHREADS_COPYING