summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTorne (Richard Coles) <torne@chromium.org>2016-03-15 18:31:26 +0000
committerTorne (Richard Coles) <torne@chromium.org>2016-03-15 18:34:17 +0000
commit4ab45db88c1cf6b88fac6c422e27d44f2ad942e0 (patch)
treebee6e8a89c547e426ecfa51d0aa1983428d3224c
parent131230d025c9b31910e2f397e662625372fa264c (diff)
downloadchromium_src-4ab45db88c1cf6b88fac6c422e27d44f2ad942e0.zip
chromium_src-4ab45db88c1cf6b88fac6c422e27d44f2ad942e0.tar.gz
chromium_src-4ab45db88c1cf6b88fac6c422e27d44f2ad942e0.tar.bz2
Add gnu.build.id to shared libraries in GN.
We were doing this in gyp builds but not GN; add this in the GN config too so that we can be sure crash symbols match. BUG=594975 R=agrieve@chromium.org Review URL: https://codereview.chromium.org/1801073002 . Cr-Commit-Position: refs/heads/master@{#381242} (cherry picked from commit e67cbae553e592e7683aefc74c775f1e4a99296a) Review URL: https://codereview.chromium.org/1801243002 . Cr-Commit-Position: refs/branch-heads/2623@{#624} Cr-Branched-From: 92d77538a86529ca35f9220bd3cd512cbea1f086-refs/heads/master@{#369907}
-rw-r--r--build/config/android/BUILD.gn1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/config/android/BUILD.gn b/build/config/android/BUILD.gn
index d4a714b..c1da37c 100644
--- a/build/config/android/BUILD.gn
+++ b/build/config/android/BUILD.gn
@@ -63,6 +63,7 @@ config("compiler") {
}
ldflags += [
+ "-Wl,--build-id=sha1",
"-Wl,--no-undefined",
# Don't allow visible symbols from libgcc or libc++ to be