platform_build/core
Dan Willemsen 6a66a887ba Stop encoding absolute paths in symbols
GCC & Clang encode the current working directory into the symbol files.
Even if the binaries are stripped before being installed, the build-id
hash will be different. This means that two different checkouts will
produce different installed binaries, even if the sources are identical.

To prevent this, set PWD=/proc/self/cwd, so that it replaces the
absolute path with the static path /proc/self/cwd. With GCC, use
-fdebug-prefix-map to remove that static path. Our clang does not yet
support this flag, but it was merged in r250094.

This does change the behavior when using gdb -- you now need to be in
$ANDROID_BUILD_TOP before gdb will load the sources.

Bug: 24204119
Change-Id: I792d65b042b7a3fdc78d567c5a6e93cdf0141b9b
2015-10-14 17:30:11 -07:00
..
clang Stop encoding absolute paths in symbols 2015-10-14 17:30:11 -07:00
combo Allow to build against Mac OS X SDK 10.11. 2015-10-13 18:00:45 -07:00
tasks
android_manifest.mk
apicheck_msg_current.txt
apicheck_msg_last.txt
base_rules.mk Don't add dependencies on Makefiles when using ninja 2015-09-28 16:29:52 -07:00
binary.mk am 506857e9: Merge "Make linker configurable through environment." 2015-09-29 09:04:59 +00:00
build-system.html Update the build system doc 2015-09-10 00:20:12 +00:00
build_id.mk
ccache.mk Add HOST_CROSS_OS 2015-09-09 18:12:29 +00:00
checktree
cleanbuild.mk Fix writing clean_steps.mk in the first build. 2015-08-04 12:11:54 -07:00
cleanspec.mk
clear_vars.mk am 094116f0: Merge "Remove the unnecessary rs_compatibility_jni_libs install rules." 2015-09-26 01:06:38 +00:00
config.mk Stop encoding absolute paths in symbols 2015-10-14 17:30:11 -07:00
config_sanitizers.mk Add support of SANITIZE_TARGET='address coverage' for fuzzing. 2015-09-18 11:54:43 -07:00
configure_local_jack.mk
configure_module_stem.mk
copy_headers.mk
cxx_stl_setup.mk Use exported includes for libc++. 2015-09-24 14:09:09 -07:00
definitions.mk Stop encoding absolute paths in symbols 2015-10-14 17:30:11 -07:00
device.mk
dex_preopt.mk Remove unneeded aapt dependency 2015-07-23 17:12:10 -07:00
dex_preopt_libart.mk Remove $(DEX2OAT) from DEX2OAT_DEPENDENCY when USE_DEX2OAT_DEBUG is set. 2015-07-28 11:54:08 -07:00
dex_preopt_libart_boot.mk
dex_preopt_odex_install.mk
distdir.mk Move the dist-as-droid handling from make to ninja 2015-09-29 17:15:09 -07:00
dpi_specific_apk.mk
droiddoc.mk Merge "Sort more instances of wildcard and find" 2015-09-30 22:36:30 +00:00
dumpvar.mk Add HOST_CROSS_OS 2015-09-09 18:12:29 +00:00
dynamic_binary.mk Package breakpad symbols in target files zip 2015-09-25 18:34:15 -07:00
envsetup.mk am edc3e6cd: Merge "Sort more instances of wildcard and find" 2015-09-30 23:44:10 +00:00
executable.mk Add support of SANITIZE_TARGET='address coverage' for fuzzing. 2015-09-18 11:54:43 -07:00
executable_internal.mk Add LOCAL_NO_LIBGCC. 2015-07-16 13:36:47 -07:00
executable_prefer_symlink.mk resolved conflicts for 953981db to stage-aosp-master 2015-09-28 18:45:23 -07:00
filter_symbols.sh
find-jdk-tools-jar.sh
fuzz_test.mk Add support of SANITIZE_TARGET='address coverage' for fuzzing. 2015-09-18 11:54:43 -07:00
goma.mk Use gomacc even for FDO build 2015-09-26 12:01:21 +09:00
help.mk
host_dalvik_java_library.mk Don't add dependencies on Makefiles when using ninja 2015-09-28 16:29:52 -07:00
host_dalvik_static_java_library.mk Don't add dependencies on Makefiles when using ninja 2015-09-28 16:29:52 -07:00
host_executable.mk Merge "Add HOST_CROSS_OS" 2015-09-09 18:13:21 +00:00
host_executable_internal.mk Merge "Add HOST_CROSS_OS" 2015-09-09 18:13:21 +00:00
host_fuzz_test.mk Add support of SANITIZE_TARGET='address coverage' for fuzzing. 2015-09-18 11:54:43 -07:00
host_java_library.mk Don't add dependencies on Makefiles when using ninja 2015-09-28 16:29:52 -07:00
host_java_library_common.mk
host_native_test.mk
host_prebuilt.mk
host_shared_library.mk Merge "Add HOST_CROSS_OS" 2015-09-09 18:13:21 +00:00
host_shared_library_internal.mk Don't add dependencies on Makefiles when using ninja 2015-09-28 16:29:52 -07:00
host_shared_test_lib.mk
host_static_library.mk Merge "Add HOST_CROSS_OS" 2015-09-09 18:13:21 +00:00
host_static_library_internal.mk Fix LOCAL_MODULE_HOST_OS 2015-09-04 15:41:38 -07:00
host_static_test_lib.mk
host_test_internal.mk Link libgtest_main before libgtest 2015-09-25 16:11:31 -07:00
install_jni_libs.mk
install_jni_libs_internal.mk
jack-default.args
java.mk resolved conflicts for 953981db to stage-aosp-master 2015-09-28 18:45:23 -07:00
java_common.mk Sort more instances of wildcard and find 2015-09-30 22:25:49 +00:00
java_library.mk
legacy_prebuilts.mk Remove old grandfathered ALL_PREBUILTS 2015-09-30 14:53:53 -07:00
main.mk Fix for Java 8 toolchain builds 2015-10-12 17:29:45 +01:00
Makefile Add the product version to target_files.zip. 2015-10-08 16:10:04 -07:00
module_arch_supported.mk Add LOCAL_MODULE_HOST_OS 2015-09-03 16:40:51 -07:00
multi_prebuilt.mk
multilib.mk Add HOST_CROSS_OS 2015-09-09 18:12:29 +00:00
native_benchmark.mk
native_test.mk
ninja.mk Stop passing --gen_all_phony_targets to kati 2015-10-08 15:25:16 +09:00
node_fns.mk
notice_files.mk Add HOST_CROSS_OS 2015-09-09 18:12:29 +00:00
package.mk
package_internal.mk am 8b4d1432: am cd7dfdb4: Merge "Cleanups." 2015-07-23 02:06:39 +00:00
pathmap.mk am 43bbbf8a: Merge "Remove more of the pathmap." 2015-09-24 21:59:58 +00:00
pdk_config.mk am edc3e6cd: Merge "Sort more instances of wildcard and find" 2015-09-30 23:44:10 +00:00
phony_package.mk Don't add dependencies on Makefiles when using ninja 2015-09-28 16:29:52 -07:00
post_clean.mk Do not update previous_XXX.mk when there is no change 2015-07-21 09:40:02 +09:00
prebuilt.mk Add HOST_CROSS_OS 2015-09-09 18:12:29 +00:00
prebuilt_internal.mk resolved conflicts for 953981db to stage-aosp-master 2015-09-28 18:45:23 -07:00
process_wrapper.sh
process_wrapper_gdb.cmds
process_wrapper_gdb.sh
product.mk am edc3e6cd: Merge "Sort more instances of wildcard and find" 2015-09-30 23:44:10 +00:00
product_config.mk
proguard.emma.flags
proguard.flags
proguard_basic_keeps.flags
proguard_tests.flags
root.mk
sdk_font.mk Sort more instances of wildcard and find 2015-09-30 22:25:49 +00:00
setup_one_odex.mk
shared_library.mk Turn shared library multilib warnings into errors 2015-09-24 13:21:11 -07:00
shared_library_internal.mk Don't add dependencies on Makefiles when using ninja 2015-09-28 16:29:52 -07:00
shared_test_lib.mk
static_java_library.mk
static_library.mk
static_library_internal.mk
static_test_lib.mk
target_test_internal.mk Link libgtest_main before libgtest 2015-09-25 16:11:31 -07:00
version_defaults.mk Restore AOSP-style version numbers - DO NOT MERGE 2015-09-23 12:38:58 -07:00