Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Issue 1263713005: Link libc++_shared with asan=1 on Android. (Closed)

Created:
5 years, 4 months ago by eugenis
Modified:
5 years, 4 months ago
CC:
chromium-reviews, klundberg+watch_chromium.org, yfriedman+watch_chromium.org, jbudorick+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Link libc++_shared with asan=1 on Android. ASan needs to interpose operator new/delete symbols to provide good allocation/deallocation stacks. This requires shared linking of the C++ standard library. BUG=515261 Committed: https://crrev.com/301af9347c32ac621ab06b08eb089f8ee643795f Cr-Commit-Position: refs/heads/master@{#341675}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 1

Patch Set 3 : . #

Total comments: 2

Patch Set 4 : added a comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -16 lines) Patch
M build/android/native_app_dependencies.gypi View 1 2 1 chunk +1 line, -1 line 0 comments Download
M build/android/pack_relocations.gypi View 1 2 1 chunk +1 line, -1 line 0 comments Download
M build/android/setup.gyp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M build/android/strip_native_libraries.gypi View 1 2 1 chunk +1 line, -1 line 0 comments Download
M build/common.gypi View 1 2 3 4 chunks +19 lines, -9 lines 0 comments Download
M build/java_apk.gypi View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/chrome_apk.gypi View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_android.gypi View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 22 (6 generated)
eugenis
5 years, 4 months ago (2015-07-30 00:29:34 UTC) #2
eugenis
To clarify, currently we always build for asan on android with component="shared_library" exactly for the ...
5 years, 4 months ago (2015-07-30 00:33:14 UTC) #3
eugenis
On 2015/07/30 00:33:14, eugenis wrote: > To clarify, currently we always build for asan on ...
5 years, 4 months ago (2015-07-30 18:42:47 UTC) #4
simonb (inactive)
https://codereview.chromium.org/1263713005/diff/20001/build/android/pack_relocations.gypi File build/android/pack_relocations.gypi (right): https://codereview.chromium.org/1263713005/diff/20001/build/android/pack_relocations.gypi#newcode70 build/android/pack_relocations.gypi:70: ['android_libcpp_library == "c++_shared"', { Any reason for just the ...
5 years, 4 months ago (2015-08-03 12:33:40 UTC) #6
eugenis
On 2015/08/03 12:33:40, simonb wrote: > https://codereview.chromium.org/1263713005/diff/20001/build/android/pack_relocations.gypi > File build/android/pack_relocations.gypi (right): > > https://codereview.chromium.org/1263713005/diff/20001/build/android/pack_relocations.gypi#newcode70 > ...
5 years, 4 months ago (2015-08-03 18:14:25 UTC) #7
eugenis
On 2015/08/03 18:14:25, eugenis wrote: > On 2015/08/03 12:33:40, simonb wrote: > > > https://codereview.chromium.org/1263713005/diff/20001/build/android/pack_relocations.gypi ...
5 years, 4 months ago (2015-08-03 18:20:39 UTC) #8
Nico
I don't love this CL; it's going to confuse people when to use component==shared_library and ...
5 years, 4 months ago (2015-08-03 18:21:30 UTC) #9
eugenis
On 2015/08/03 18:21:30, Nico (hiding) wrote: > I don't love this CL; it's going to ...
5 years, 4 months ago (2015-08-03 21:12:24 UTC) #10
eugenis
On 2015/08/03 21:12:24, eugenis wrote: > On 2015/08/03 18:21:30, Nico (hiding) wrote: > > I ...
5 years, 4 months ago (2015-08-03 21:24:22 UTC) #11
Nico
lgtm, thanks, that looks much better imho. https://codereview.chromium.org/1263713005/diff/40001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/1263713005/diff/40001/build/common.gypi#newcode1719 build/common.gypi:1719: ['component=="shared_library" or ...
5 years, 4 months ago (2015-08-03 23:02:26 UTC) #12
eugenis
https://codereview.chromium.org/1263713005/diff/40001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/1263713005/diff/40001/build/common.gypi#newcode1719 build/common.gypi:1719: ['component=="shared_library" or asan==1', { On 2015/08/03 23:02:25, Nico (hiding) ...
5 years, 4 months ago (2015-08-03 23:21:24 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1263713005/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1263713005/60001
5 years, 4 months ago (2015-08-03 23:21:59 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/85783)
5 years, 4 months ago (2015-08-04 00:36:27 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1263713005/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1263713005/60001
5 years, 4 months ago (2015-08-04 00:38:13 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 4 months ago (2015-08-04 04:58:18 UTC) #21
commit-bot: I haz the power
5 years, 4 months ago (2015-08-04 04:59:43 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/301af9347c32ac621ab06b08eb089f8ee643795f
Cr-Commit-Position: refs/heads/master@{#341675}

Powered by Google App Engine
This is Rietveld 408576698