Go to file
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
core Stop encoding absolute paths in symbols 2015-10-14 17:30:11 -07:00
libs/host Add LOCAL_MODULE_HOST_OS 2015-09-03 16:40:51 -07:00
target Disable verity metadata for eng builds 2015-10-14 18:03:29 +01:00
tools am 2124d7e1: Merge "Only use a fixed timestamp when packaging." 2015-09-30 23:50:49 +00:00
.gitignore Add build subprojects to .gitignore 2015-07-23 13:18:47 -07:00
CleanSpec.mk Fix issie #23116383: Include security patch level in Settings 2015-08-12 16:29:08 -07:00
buildspec.mk.default Remove WEBCORE_INSTRUMENTATION and ENABLE_SVG 2013-07-25 15:52:17 -07:00
envsetup.sh am 0238e879: Merge "envsetup.sh: Add \'provision\' function." 2015-09-30 21:51:55 +00:00