platform_build/core
Dan Willemsen bbe4e11a76 Call clean-path in more places
When an Android.mk specifies a local path that is outside the current
directory, it uses '..', since we prepend $(LOCAL_PATH)/ to the given
path.

This path ('a/b/../c') gets inserted into command lines and
dependencies. For dependencies, when it gets to Ninja, Ninja calls
CanonicalizePath and removes those references ('a/c'), but the command
line is preserved.

So we've got a command line that references 'a/b', but no dependency on
it. Usually that's not a big problem, but it's an issue if we're trying
to only expose dependencies to the rule, like with RBE only sending the
dependencies to the remote workers. So use our 'clean-path' macro to
collapse the '..' references in Kati so that they don't show up in the
command line either.

Test: treehugger
Test: build a system image with RBE
Change-Id: I0706faa2ac15e9c12c720f43c7bb8171c5efd97c
2019-06-12 21:35:33 +00:00
..
clang Remove support for building Windows modules in Make 2019-02-05 00:19:41 -08:00
combo Revert "Revert "Revert "Print full diagnostics file when Java process crashes.""" 2019-06-05 06:47:03 +00:00
tasks Convert more uses of $(ACP) to cp 2019-05-28 15:36:47 -07:00
aapt2.mk Support LOCAL_STATIC_JAVA_AAR_LIBRARIES with aapt2 2018-05-23 13:39:15 -07:00
aapt_flags.mk
allowed_ndk_types.mk
android_manifest.mk Merge "Allow codename.fingerprint format for targetSdkVersion" 2019-04-22 16:48: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 Move verify_uses_libraries.sh out of dexpreopt 2019-05-26 17:42:17 +00: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 Call clean-path in more places 2019-06-12 21:35:33 +00:00
binary.mk Add dependencies on the toolchain (clang, etc) 2019-06-12 21:34:52 +00:00
board_config.mk Obsolete BUILD_BROKEN_ANDROIDMK_EXPORTS 2019-05-25 17:12:12 -07:00
build-system.html Remove TARGET_ROOT_OUT_SBIN / TARGET_ROOT_OUT_SBIN_UNSTRIPPED 2019-04-17 11:12:32 -07:00
build_id.mk Make change and version bump to PPRL.190605.003 2019-06-05 02:06:47 +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 fix: wrong dependency from ETC to libc++.so 2019-05-31 07:24:42 +09: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 make: Add support to skip current VNDK install 2019-05-25 02:06:08 +09:00
config.mk Add missing dependencies to python scripts 2019-06-10 23:58:49 +00:00
config_sanitizers.mk Fix fuzzer builds. 2019-05-20 16:58:26 -07:00
configure_module_stem.mk Restrict characters in module names 2018-06-12 13:48:49 -07:00
construct_context.sh Move verify_uses_libraries.sh out of dexpreopt 2019-05-26 17:42:17 +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 Call clean-path in more places 2019-06-12 21:35:33 +00:00
deprecation.mk Mark more BUILD_* as obsolete 2019-05-25 17:20:38 -07:00
device.mk
dex_preopt.mk Rename PRODUCT_USES_ART to PRODUCT_USES_DEFAULT_ART_CONFIG 2019-05-01 15:35:03 -07:00
dex_preopt_config.mk Move verify_uses_libraries.sh out of dexpreopt 2019-05-26 17:42:17 +00: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 Move verify_uses_libraries.sh out of dexpreopt 2019-05-26 17:42:17 +00:00
distdir.mk Fix dist-for-goals with no targets 2018-10-20 16:59:41 -07:00
dumpvar.mk Fix dump-vars output to handle quotes. 2019-05-30 20:59:50 -07:00
dynamic_binary.mk Use llvm-{strip,objcopy} by default 2019-01-30 13:40:44 +00:00
empty_test_config.xml
envsetup.mk Adding boot-debug.img and ramdisk-debug.img 2019-04-22 21:50:07 +08:00
executable.mk Build: Do not build sanitize-never executable 2018-10-10 19:27:04 -07:00
executable_internal.mk Add dependencies on the toolchain (clang, etc) 2019-06-12 21:34:52 +00:00
executable_prefer_symlink.mk
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 Fix fuzzer builds. 2019-05-20 16:58:26 -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 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 Convert java proto generation to use srcjars 2019-06-10 16:31:07 -07: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 Add dependencies on the toolchain (clang, etc) 2019-06-12 21:34:52 +00:00
host_fuzz_test.mk Fix fuzzer builds. 2019-05-20 16:58:26 -07:00
host_java_library.mk Convert java proto generation to use srcjars 2019-06-10 16:31:07 -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 Deprecate next set of make module types 2019-05-08 12:27:53 -07:00
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
jacoco.mk Use find(1)'s -exec directly. 2019-01-14 12:56:07 -08:00
java.mk Merge "Add missing dependencies to python scripts" 2019-06-11 03:15:54 +00:00
java_common.mk Convert java proto generation to use srcjars 2019-06-10 16:31:07 -07: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 Remove AAPT1 support 2019-04-17 16:50:30 -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
LINUX_KERNEL_COPYING
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 core/main: Strip bitness before existence check 2019-06-03 14:10:33 +02:00
Makefile Merge "Add missing dependencies to python scripts" 2019-06-11 03:15:54 +00:00
misc_prebuilt_internal.mk fix: wrong dependency from ETC to libc++.so 2019-05-31 07:24:42 +09: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
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 Add support for single-value product variables 2019-05-06 16:17:20 +01:00
notice_files.mk make: Add support to skip current VNDK install 2019-05-25 02:06:08 +09:00
OWNERS Update OWNERS for dex preopt related files. 2018-12-18 19:39:20 +00: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 Add missing dependecy on SOONG_ZIP 2019-06-12 21:35:24 +00: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 Call clean-path in more places 2019-06-12 21:35:33 +00:00
process_wrapper.sh
process_wrapper_gdb.cmds
process_wrapper_gdb.sh
product-graph.mk Add more colors to generated product graphs 2019-05-16 11:09:57 +01:00
product.mk Make PRODUCT_CHARACTERISTICS a single-valued variable 2019-05-13 18:15:32 +01:00
product_config.mk Allow overriding PRODUCT_EXTRA_VNDK_VERSIONS 2019-05-16 13:12:55 +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 unsupported option from R8 flags 2019-04-22 20:00:37 +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
sdk_font.mk
shared_library.mk Remove *_OUT_INTERMEDIATE_LIBRARIES 2018-09-15 10:52:13 -07:00
shared_library_internal.mk Add dependencies on the toolchain (clang, etc) 2019-06-12 21:34:52 +00:00
shared_test_lib.mk
soong_app_prebuilt.mk Merge "Support PRESIGNED in soong_app_prebuilt.mk" 2019-05-04 00:22:29 +00:00
soong_cc_prebuilt.mk make: Add support to skip current VNDK install 2019-05-25 02:06:08 +09:00
soong_config.mk Merge "Move verify_uses_libraries.sh out of dexpreopt" 2019-05-29 18:09:01 +00:00
soong_droiddoc_prebuilt.mk Build docs zips with make docs 2019-01-18 16:08:14 -08:00
soong_java_prebuilt.mk Support LOCAL_SOONG_PROGUARD_DICT in soong_java_prebuilt.mk 2019-04-23 20:05:35 +00:00
static_java_library.mk Remove AAPT1 support 2019-04-17 16:50:30 -07:00
static_library.mk Remove *_OUT_INTERMEDIATE_LIBRARIES 2018-09-15 10:52:13 -07:00
static_library_internal.mk Add dependencies on the toolchain (clang, etc) 2019-06-12 21:34:52 +00:00
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 DO NOT MERGE - Merge pi-platform-release (PPRL.190605.003) into stage-aosp-master 2019-06-05 15:23:41 -07:00
WINPTHREADS_COPYING