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

Issue 1395573003: Build nacl_helper_nonsfi with GN (Closed)

Created:
5 years, 2 months ago by Petr Hosek
Modified:
5 years, 1 month ago
CC:
chromium-reviews, jam, rickyz+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, jln+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Build nacl_helper_nonsfi with GN Support building nacl_helper_nonsfi under GN. BUG=462791 Committed: https://crrev.com/636bceb3f0fc3062735203ef149e91736ec89024 Cr-Commit-Position: refs/heads/master@{#356234}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Review feedback addressed #

Patch Set 3 : Cleanup the compiler configuration #

Total comments: 20

Patch Set 4 : Review feedback addressed #

Patch Set 5 : Merge the libevent dependency with existing case #

Patch Set 6 : Remove the unnecessary imports #

Total comments: 4

Patch Set 7 : Re-enable appropriate warnings #

Total comments: 2

Patch Set 8 : Set cflags locally rather than globally #

Total comments: 12

Patch Set 9 : Review feedback addressed #

Total comments: 4

Patch Set 10 : Further feedback addressed #

Patch Set 11 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+337 lines, -37 lines) Patch
M base/BUILD.gn View 1 2 3 4 5 6 7 8 9 4 chunks +29 lines, -5 lines 0 comments Download
M base/process/BUILD.gn View 1 2 3 4 5 6 7 8 9 3 chunks +10 lines, -4 lines 0 comments Download
M build/config/compiler/BUILD.gn View 1 2 3 4 5 6 7 8 9 2 chunks +32 lines, -0 lines 0 comments Download
M build/config/nacl/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +25 lines, -0 lines 0 comments Download
M build/config/nacl/config.gni View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M build/toolchain/nacl/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -3 lines 0 comments Download
M components/nacl/BUILD.gn View 1 2 3 4 5 6 7 8 9 2 chunks +68 lines, -3 lines 0 comments Download
M content/BUILD.gn View 1 3 chunks +32 lines, -11 lines 0 comments Download
M ipc/BUILD.gn View 1 2 3 3 chunks +3 lines, -2 lines 0 comments Download
M ppapi/nacl_irt/irt_pnacl_translator_compile.cc View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M ppapi/nacl_irt/irt_pnacl_translator_link.cc View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M ppapi/proxy/BUILD.gn View 1 2 3 3 chunks +6 lines, -1 line 0 comments Download
M ppapi/shared_impl/BUILD.gn View 1 3 chunks +11 lines, -4 lines 0 comments Download
M sandbox/linux/BUILD.gn View 1 2 3 4 5 6 7 8 9 chunks +69 lines, -4 lines 0 comments Download
M third_party/libevent/BUILD.gn View 1 2 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (5 generated)
Dirk Pranke
Some comments; obviously someone who understands something about what makes _nonsfi tick needs to review ...
5 years, 2 months ago (2015-10-21 20:03:52 UTC) #2
Petr Hosek
https://codereview.chromium.org/1395573003/diff/1/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/1395573003/diff/1/base/BUILD.gn#newcode677 base/BUILD.gn:677: if (!is_nacl_nonsfi) { On 2015/10/21 20:03:52, Dirk Pranke wrote: ...
5 years, 2 months ago (2015-10-22 18:32:14 UTC) #3
Petr Hosek
ptal
5 years, 2 months ago (2015-10-22 18:32:51 UTC) #6
Petr Hosek
Just to clarify, nacl_helper_nonsfi builds with these changes but crashes immediately after start. I haven't ...
5 years, 2 months ago (2015-10-22 19:10:25 UTC) #7
Mark Seaborn
On 22 October 2015 at 12:10, <phosek@chromium.org> wrote: > Just to clarify, nacl_helper_nonsfi builds with ...
5 years, 2 months ago (2015-10-22 19:16:07 UTC) #8
Mark Seaborn
https://codereview.chromium.org/1395573003/diff/40001/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/1395573003/diff/40001/base/BUILD.gn#newcode755 base/BUILD.gn:755: "process/kill_posix.cc", Should this be handled in base/process/BUILD.gn instead? kill_posix.cc ...
5 years, 2 months ago (2015-10-22 21:48:31 UTC) #9
Petr Hosek
https://codereview.chromium.org/1395573003/diff/40001/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/1395573003/diff/40001/base/BUILD.gn#newcode755 base/BUILD.gn:755: "process/kill_posix.cc", On 2015/10/22 21:48:30, Mark Seaborn wrote: > Should ...
5 years, 2 months ago (2015-10-23 03:01:15 UTC) #10
Petr Hosek
On 2015/10/23 03:01:15, Petr Hosek wrote: > https://codereview.chromium.org/1395573003/diff/40001/base/BUILD.gn > File base/BUILD.gn (right): > > https://codereview.chromium.org/1395573003/diff/40001/base/BUILD.gn#newcode755 ...
5 years, 2 months ago (2015-10-23 03:17:11 UTC) #11
Dirk Pranke
On 2015/10/23 03:17:11, Petr Hosek wrote: > So, after incorporating all the changes, nacl_helper_nonsfi have ...
5 years, 2 months ago (2015-10-23 04:11:09 UTC) #12
Dirk Pranke
*.gn* changes lgtm. https://codereview.chromium.org/1395573003/diff/100001/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/1395573003/diff/100001/base/BUILD.gn#newcode685 base/BUILD.gn:685: "//base/metrics", nit: re-sort this (not sure ...
5 years, 2 months ago (2015-10-23 04:18:40 UTC) #13
brettw
https://codereview.chromium.org/1395573003/diff/100001/build/config/compiler/BUILD.gn File build/config/compiler/BUILD.gn (right): https://codereview.chromium.org/1395573003/diff/100001/build/config/compiler/BUILD.gn#newcode786 build/config/compiler/BUILD.gn:786: if (is_nacl_nonsfi) { This block seems very strange to ...
5 years, 2 months ago (2015-10-23 09:38:13 UTC) #14
Petr Hosek
https://codereview.chromium.org/1395573003/diff/100001/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/1395573003/diff/100001/base/BUILD.gn#newcode685 base/BUILD.gn:685: "//base/metrics", On 2015/10/23 04:18:40, Dirk Pranke wrote: > nit: ...
5 years, 2 months ago (2015-10-23 17:53:07 UTC) #15
brettw
If there are a few warnings in a target, we should be setting those warnings ...
5 years, 2 months ago (2015-10-24 13:05:12 UTC) #16
Mark Seaborn
LGTM https://codereview.chromium.org/1395573003/diff/120001/build/config/nacl/BUILD.gn File build/config/nacl/BUILD.gn (right): https://codereview.chromium.org/1395573003/diff/120001/build/config/nacl/BUILD.gn#newcode64 build/config/nacl/BUILD.gn:64: # -nodefaultlibs and explicitly link irt_browser_lib to satisfy ...
5 years, 2 months ago (2015-10-24 17:07:49 UTC) #17
Petr Hosek
https://codereview.chromium.org/1395573003/diff/120001/build/config/nacl/BUILD.gn File build/config/nacl/BUILD.gn (right): https://codereview.chromium.org/1395573003/diff/120001/build/config/nacl/BUILD.gn#newcode64 build/config/nacl/BUILD.gn:64: # -nodefaultlibs and explicitly link irt_browser_lib to satisfy libc++'s ...
5 years, 2 months ago (2015-10-24 22:11:49 UTC) #18
Petr Hosek
On 2015/10/24 22:11:49, Petr Hosek wrote: > https://codereview.chromium.org/1395573003/diff/120001/build/config/nacl/BUILD.gn > File build/config/nacl/BUILD.gn (right): > > https://codereview.chromium.org/1395573003/diff/120001/build/config/nacl/BUILD.gn#newcode64 ...
5 years, 2 months ago (2015-10-24 22:13:57 UTC) #19
brettw
https://codereview.chromium.org/1395573003/diff/140001/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/1395573003/diff/140001/base/BUILD.gn#newcode33 base/BUILD.gn:33: config("clang_warnings") { You just copy-and-pasted the old config name ...
5 years, 2 months ago (2015-10-25 08:45:33 UTC) #20
brettw
https://codereview.chromium.org/1395573003/diff/140001/components/nacl/BUILD.gn File components/nacl/BUILD.gn (right): https://codereview.chromium.org/1395573003/diff/140001/components/nacl/BUILD.gn#newcode307 components/nacl/BUILD.gn:307: group("nacl") { Also, in either case I mentioned above, ...
5 years, 2 months ago (2015-10-25 08:58:08 UTC) #21
Petr Hosek
All the feedback has been incorporated, I've also reworked the build of //sandbox/linux:sandbox; instead of ...
5 years, 1 month ago (2015-10-25 22:50:49 UTC) #22
brettw
lgtm https://codereview.chromium.org/1395573003/diff/160001/build/config/nacl/config.gni File build/config/nacl/config.gni (right): https://codereview.chromium.org/1395573003/diff/160001/build/config/nacl/config.gni#newcode10 build/config/nacl/config.gni:10: is_nacl_nonsfi = false This can just be defined ...
5 years, 1 month ago (2015-10-26 00:49:47 UTC) #23
Petr Hosek
https://codereview.chromium.org/1395573003/diff/160001/build/config/nacl/config.gni File build/config/nacl/config.gni (right): https://codereview.chromium.org/1395573003/diff/160001/build/config/nacl/config.gni#newcode10 build/config/nacl/config.gni:10: is_nacl_nonsfi = false On 2015/10/26 00:49:47, brettw wrote: > ...
5 years, 1 month ago (2015-10-26 01:55:11 UTC) #24
hidehiko
lgtm LGTM
5 years, 1 month ago (2015-10-26 08:48:45 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1395573003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1395573003/200001
5 years, 1 month ago (2015-10-27 02:53:00 UTC) #28
commit-bot: I haz the power
Committed patchset #11 (id:200001)
5 years, 1 month ago (2015-10-27 03:36:55 UTC) #29
commit-bot: I haz the power
5 years, 1 month ago (2015-10-27 03:38:04 UTC) #30
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/636bceb3f0fc3062735203ef149e91736ec89024
Cr-Commit-Position: refs/heads/master@{#356234}

Powered by Google App Engine
This is Rietveld 408576698