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

Issue 2059843002: gn: Add chromium_builder_asan target. (Closed)

Created:
4 years, 6 months ago by Nico
Modified:
4 years, 6 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, inferno
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

gn: Add chromium_builder_asan target. All the LKGR clusterfuzz bots build this target, so add it to allow switching these bots to gn. BUG=618702, 542853, 619086 TBR=eroman Committed: https://crrev.com/3f7d4fc75b62ca7008642c5aea6233eade695da5 Cr-Commit-Position: refs/heads/master@{#399241}

Patch Set 1 #

Patch Set 2 : cros #

Total comments: 5

Patch Set 3 : comment #

Patch Set 4 : testonly #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -2 lines) Patch
M BUILD.gn View 1 2 3 2 chunks +42 lines, -0 lines 0 comments Download
M build/all.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M build/sanitizers/BUILD.gn View 1 chunk +1 line, -2 lines 0 comments Download
M build/sanitizers/sanitizers.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_syzygy.gyp View 2 chunks +2 lines, -0 lines 0 comments Download
M net/net.gyp View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (10 generated)
Nico
4 years, 6 months ago (2016-06-10 17:23:27 UTC) #2
Dirk Pranke
Sorry for not getting to this myself yesterday; I forgot :(. lgtm w/ the one ...
4 years, 6 months ago (2016-06-10 17:47:09 UTC) #5
Nico
thanks! https://codereview.chromium.org/2059843002/diff/20001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/2059843002/diff/20001/BUILD.gn#newcode922 BUILD.gn:922: if (!is_chromeos && current_toolchain == host_toolchain) { On ...
4 years, 6 months ago (2016-06-10 17:50:46 UTC) #6
Nico
tbr eroman for comment-only net/OWNERS
4 years, 6 months ago (2016-06-10 17:53:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2059843002/60001
4 years, 6 months ago (2016-06-10 17:54:21 UTC) #12
Dirk Pranke
https://codereview.chromium.org/2059843002/diff/20001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/2059843002/diff/20001/BUILD.gn#newcode922 BUILD.gn:922: if (!is_chromeos && current_toolchain == host_toolchain) { On 2016/06/10 ...
4 years, 6 months ago (2016-06-10 17:55:03 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-10 18:48:02 UTC) #15
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-10 18:48:10 UTC) #16
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/3f7d4fc75b62ca7008642c5aea6233eade695da5 Cr-Commit-Position: refs/heads/master@{#399241}
4 years, 6 months ago (2016-06-10 18:51:19 UTC) #18
eroman
lgtm
4 years, 6 months ago (2016-06-10 19:33:32 UTC) #19
Sungmann Cho
Sorry to bother you, but an error is generated after landing of this CL when ...
4 years, 6 months ago (2016-06-11 09:56:14 UTC) #21
Dirk Pranke
On 2016/06/11 09:56:14, Sungmann Cho (Inactive) wrote: > Sorry to bother you, but an error ...
4 years, 6 months ago (2016-06-11 15:33:43 UTC) #22
Dirk Pranke
On 2016/06/11 15:33:43, Dirk Pranke wrote: > On 2016/06/11 09:56:14, Sungmann Cho (Inactive) wrote: > ...
4 years, 6 months ago (2016-06-11 21:06:20 UTC) #23
Sungmann Cho
4 years, 6 months ago (2016-06-12 01:02:26 UTC) #24
Message was sent while issue was closed.
On 2016/06/11 21:06:20, Dirk Pranke wrote:
> On 2016/06/11 15:33:43, Dirk Pranke wrote:
> > On 2016/06/11 09:56:14, Sungmann Cho (Inactive) wrote:
> > > Sorry to bother you, but an error is generated after landing of this CL
when
> > > running "gn gen". Am I missing something?
> > > 
> > > D:\FOSS\Chromium\src>gn gen out\debug
> > > Waiting for editor on "D:\FOSS\Chromium\src\out\debug\args.gn"...
> > > Generating files...
> > > ERROR at //BUILD.gn:932:19: Undefined identifier
> > >     if (is_win && symbol_level == 2 && target_cpu == "x86" && is_syzyasan)
{
> > >                   ^-----------
> > 
> > I think //BUILD.gn is missing an
> import("//build/config/compiler/compiler.gni")
> > and
> > so symbol_level isn't technically defined. GN can be racy in this situation
> > unfortunately
> > (there's a bug there somewhere).
> > 
> > I'll post a fix.
> 
> Fix landed in #399377 ( https://codereview.chromium.org/2058363002 ).

It works! Thanks!

Powered by Google App Engine
This is Rietveld 408576698