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

Issue 2808863003: Fix ASAN component builds by adding proper dependencies to executable targets. (Closed)

Created:
3 years, 8 months ago by Łukasz Anforowicz
Modified:
3 years, 8 months ago
CC:
cbentzel+watch_chromium.org, chromium-reviews, chromoting-reviews_chromium.org, darin-cc_chromium.org, jam, martijnc, net-reviews_chromium.org, ortuno+watch_chromium.org, rkjnsn, scheib+watch_chromium.org, charliea (OOO until 10-5)
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix ASAN component builds by adding proper dependencies to executable targets. Before this CL, building |gn_all| ninja target fails with linking errors similar to: ../../buildtools/third_party/libc++/trunk/include/string:2027: error: undefined reference to 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__init(char const*, unsigned long)' After this CL |gn_all| builds find in with the following args.gn: dcheck_always_on = true is_asan = true is_component_build = true is_debug = false use_goma = true enable_nacl = false This CL is sort of a a follow up to https://groups.google.com/a/chromium.org/forum/#!searchin/gn-dev/asan/gn-dev/PTcQk8c9vXE/rfU-nAArBQAJ BUG= Review-Url: https://codereview.chromium.org/2808863003 Cr-Commit-Position: refs/heads/master@{#464747} Committed: https://chromium.googlesource.com/chromium/src/+/5b312d91217af1f30eebece283a2cbf75effa076

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M content/browser/bluetooth/tools/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M net/tools/transport_security_state_generator/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/host/linux/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M services/service_manager/tests/connect/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M services/service_manager/tests/lifecycle/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M services/service_manager/tests/service_manager/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M tools/battor_agent/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 24 (10 generated)
Łukasz Anforowicz
brettw@, could you PTAL? I am not sure if there is a bug I should ...
3 years, 8 months ago (2017-04-10 17:33:13 UTC) #4
brettw
lgtm
3 years, 8 months ago (2017-04-11 22:19:04 UTC) #7
Łukasz Anforowicz
+scheib@ for content/browser/bluetooth +rsleevi@ for net/tools (and +martijn@martijnc.be to CC as FYI) +sergeyu@ for remoting ...
3 years, 8 months ago (2017-04-11 22:27:41 UTC) #9
Ken Rockot(use gerrit already)
lgtm
3 years, 8 months ago (2017-04-11 22:28:21 UTC) #10
Ryan Sleevi
I'm rubber-stamping, because I defer entirely to Brett there. It feels weird to add that ...
3 years, 8 months ago (2017-04-11 22:36:51 UTC) #11
scheib
I'm not going to hold this up, so lgtm. But, I do wonder if this ...
3 years, 8 months ago (2017-04-11 23:08:51 UTC) #12
Łukasz Anforowicz
rsleevi@ / scheib@ - the idea of setting the dependencies in a centralized place was ...
3 years, 8 months ago (2017-04-11 23:18:23 UTC) #13
scheib
On 2017/04/11 23:18:23, Łukasz A. wrote: > rsleevi@ / scheib@ - the idea of setting ...
3 years, 8 months ago (2017-04-12 01:04:51 UTC) #14
Ryan Sleevi
On 2017/04/12 01:04:51, scheib wrote: > Good to know the discussion happened- and those folks ...
3 years, 8 months ago (2017-04-12 02:24:15 UTC) #15
Zhen Wang
lgtm Adding nednguyen and ccing charliea (currently OOO), who are more active owners in //tools/battor_agent. ...
3 years, 8 months ago (2017-04-13 00:04:50 UTC) #17
Sergey Ulanov
lgtm
3 years, 8 months ago (2017-04-13 01:07:24 UTC) #18
Ryan Sleevi
lgtm
3 years, 8 months ago (2017-04-13 16:53:02 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2808863003/1
3 years, 8 months ago (2017-04-14 13:59:52 UTC) #21
commit-bot: I haz the power
3 years, 8 months ago (2017-04-14 17:44:28 UTC) #24
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/5b312d91217af1f30eebece283a2...

Powered by Google App Engine
This is Rietveld 408576698