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

Issue 1497543006: GN: Build nacl_helper_nonsfi unit tests (Closed)

Created:
5 years ago by Petr Hosek
Modified:
5 years ago
CC:
chromium-reviews, rickyz+watch_chromium.org, jln+watch_chromium.org, vmpstr+watch_chromium.org, Sam Clegg
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

GN: Build nacl_helper_nonsfi unit tests The DoSocketpair function in nonsfi_sandbox_unittest.cc is unused which causes a build error due to -Wunused-function which is set by default in GN hence removing the function. BUG=564877 Committed: https://crrev.com/ca8571a9777c5207d61dc28c323779e767b99bad Cr-Commit-Position: refs/heads/master@{#365836}

Patch Set 1 : #

Total comments: 8

Patch Set 2 : Code review feedback incorporated #

Total comments: 4

Patch Set 3 : Code review feedback incorporated #

Patch Set 4 : Define _run target for GYP compatibility #

Total comments: 4

Patch Set 5 : Use += instead of -= #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -17 lines) Patch
M BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M base/json/BUILD.gn View 2 2 chunks +3 lines, -1 line 0 comments Download
M base/test/BUILD.gn View 1 2 4 chunks +44 lines, -1 line 0 comments Download
M components/nacl/loader/BUILD.gn View 1 2 3 4 5 3 chunks +79 lines, -5 lines 0 comments Download
M components/nacl/loader/nonsfi/nonsfi_sandbox_unittest.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M sandbox/linux/BUILD.gn View 1 2 3 4 2 chunks +8 lines, -3 lines 0 comments Download

Messages

Total messages: 45 (22 generated)
Petr Hosek
5 years ago (2015-12-03 02:34:14 UTC) #4
Roland McGrath
LGTM though I'm not really familiar with the code being built.
5 years ago (2015-12-03 06:37:04 UTC) #5
Mark Seaborn
https://codereview.chromium.org/1497543006/diff/20001/base/json/BUILD.gn File base/json/BUILD.gn (right): https://codereview.chromium.org/1497543006/diff/20001/base/json/BUILD.gn#newcode25 base/json/BUILD.gn:25: if (is_nacl && !is_nacl_nonsfi) { I don't see this ...
5 years ago (2015-12-03 19:05:07 UTC) #6
Dirk Pranke
lgtm if mseaborn is happy. I noted a couple of nits ... https://codereview.chromium.org/1497543006/diff/100001/base/json/BUILD.gn File base/json/BUILD.gn ...
5 years ago (2015-12-04 00:22:41 UTC) #12
Petr Hosek
https://codereview.chromium.org/1497543006/diff/20001/base/json/BUILD.gn File base/json/BUILD.gn (right): https://codereview.chromium.org/1497543006/diff/20001/base/json/BUILD.gn#newcode25 base/json/BUILD.gn:25: if (is_nacl && !is_nacl_nonsfi) { On 2015/12/03 19:05:07, Mark ...
5 years ago (2015-12-04 05:57:46 UTC) #13
Dirk Pranke
On 2015/12/04 05:57:46, Petr Hosek wrote: > https://codereview.chromium.org/1497543006/diff/100001/base/test/BUILD.gn#newcode6 > base/test/BUILD.gn:6: import("//build/config/nacl/config.gni") > On 2015/12/04 00:22:41, ...
5 years ago (2015-12-04 17:46:41 UTC) #14
Petr Hosek
Ping, Mark would it be possible to re-review this?
5 years ago (2015-12-07 21:50:42 UTC) #15
Petr Hosek
On 2015/12/07 21:50:42, Petr Hosek wrote: > Ping, Mark would it be possible to re-review ...
5 years ago (2015-12-08 18:56:47 UTC) #17
jln (very slow on Chromium)
lgtm for sandbox stuff with a nit. https://codereview.chromium.org/1497543006/diff/140001/sandbox/linux/BUILD.gn File sandbox/linux/BUILD.gn (right): https://codereview.chromium.org/1497543006/diff/140001/sandbox/linux/BUILD.gn#newcode68 sandbox/linux/BUILD.gn:68: if (use_seccomp_bpf ...
5 years ago (2015-12-08 23:36:50 UTC) #18
Petr Hosek
https://codereview.chromium.org/1497543006/diff/140001/sandbox/linux/BUILD.gn File sandbox/linux/BUILD.gn (right): https://codereview.chromium.org/1497543006/diff/140001/sandbox/linux/BUILD.gn#newcode68 sandbox/linux/BUILD.gn:68: if (use_seccomp_bpf || is_nacl_nonsfi) { On 2015/12/08 23:36:50, jln ...
5 years ago (2015-12-09 00:51:28 UTC) #19
Petr Hosek
Nico, would it be possible to do OWNERS review for base/test and base/json?
5 years ago (2015-12-09 00:54:01 UTC) #21
hidehiko
components/nacl/loader/nonsfi LGTM. (Sorry, I was OOO yesterday).
5 years ago (2015-12-10 05:57:03 UTC) #22
Petr Hosek
Brett, would it be possible to do a review for base/test and base/json?
5 years ago (2015-12-10 19:11:05 UTC) #24
Nico
don't you need to edit .gyp files too?
5 years ago (2015-12-10 19:12:07 UTC) #25
Nico
oh i see, it builds fine in gyp already. lgtm
5 years ago (2015-12-10 19:12:31 UTC) #26
Sam Clegg
Is this ready to land now?
5 years ago (2015-12-16 17:56:06 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1497543006/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1497543006/200001
5 years ago (2015-12-17 15:54:45 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/129966)
5 years ago (2015-12-17 16:04:14 UTC) #36
Petr Hosek
I seem to be missing an lgtm from Brad; Brad could you please take a ...
5 years ago (2015-12-17 16:05:50 UTC) #38
bradnelson
lgtm
5 years ago (2015-12-17 16:07:09 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1497543006/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1497543006/200001
5 years ago (2015-12-17 16:07:39 UTC) #41
commit-bot: I haz the power
Committed patchset #6 (id:200001)
5 years ago (2015-12-17 16:35:52 UTC) #43
commit-bot: I haz the power
5 years ago (2015-12-17 16:36:38 UTC) #45
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/ca8571a9777c5207d61dc28c323779e767b99bad
Cr-Commit-Position: refs/heads/master@{#365836}

Powered by Google App Engine
This is Rietveld 408576698