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

Issue 117803002: Make building seccomp-bpf a GYP condition (Closed)

Created:
7 years ago by jln (very slow on Chromium)
Modified:
7 years ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, agl, jln+watch_chromium.org, petarj, Jorge Lucangeli Obes
Visibility:
Public.

Description

Make building seccomp-bpf a GYP condition We add a use_seccomp_bpf variable to allow not building seccomp-bpf. We make sure that it can't be use by mistake with sanity checks that the architecture is MIPS. BUG=267179 TEST=Use "GYP_DEFINES='use_seccomp_bpf=0' and comment out the two #error. about:sandbox should say that seccomp-bpf is disabled. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=241949

Patch Set 1 : #

Total comments: 16

Patch Set 2 : Address nits. #

Total comments: 2

Patch Set 3 : Excludes files to be IDE friendly. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -27 lines) Patch
M build/common.gypi View 1 1 chunk +11 lines, -0 lines 0 comments Download
M components/nacl.gyp View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M components/nacl/loader/nacl_sandbox_linux.cc View 1 2 chunks +12 lines, -0 lines 0 comments Download
M content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc View 1 6 chunks +22 lines, -16 lines 0 comments Download
M content/content_common.gypi View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
M sandbox/linux/sandbox_linux.gypi View 3 chunks +3 lines, -10 lines 0 comments Download
M sandbox/linux/sandbox_linux_test_sources.gypi View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
jln (very slow on Chromium)
Mark: could you please take a look ? If you think of a better strategy, ...
7 years ago (2013-12-18 01:49:11 UTC) #1
Mark Seaborn
Can you add a TEST= line to say how you tested the change? I assumed ...
7 years ago (2013-12-18 08:10:21 UTC) #2
jln (very slow on Chromium)
Thanks Mark! https://chromiumcodereview.appspot.com/117803002/diff/40001/build/common.gypi File build/common.gypi (right): https://chromiumcodereview.appspot.com/117803002/diff/40001/build/common.gypi#newcode1919 build/common.gypi:1919: # seccomp-bpf is only supportd on three ...
7 years ago (2013-12-19 00:00:19 UTC) #3
jln (very slow on Chromium)
Charlie: do you mind taking a look at content/content_common.gypi for owner approval?
7 years ago (2013-12-19 00:02:37 UTC) #4
awong
https://chromiumcodereview.appspot.com/117803002/diff/60001/content/content_common.gypi File content/content_common.gypi (right): https://chromiumcodereview.appspot.com/117803002/diff/60001/content/content_common.gypi#newcode630 content/content_common.gypi:630: 'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc', Aren't these things more commonly defined as sources! ...
7 years ago (2013-12-19 00:07:47 UTC) #5
Charlie Reis
Rubber stamp LGTM for content/content_common.gypi.
7 years ago (2013-12-19 00:08:03 UTC) #6
Charlie Reis
On 2013/12/19 00:07:47, awong wrote: > https://chromiumcodereview.appspot.com/117803002/diff/60001/content/content_common.gypi > File content/content_common.gypi (right): > > https://chromiumcodereview.appspot.com/117803002/diff/60001/content/content_common.gypi#newcode630 > ...
7 years ago (2013-12-19 00:08:52 UTC) #7
jln (very slow on Chromium)
I'm a bit worried than listing the files twice will result in the lists not ...
7 years ago (2013-12-19 01:02:12 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jln@chromium.org/117803002/80001
7 years ago (2013-12-19 19:05:32 UTC) #9
commit-bot: I haz the power
7 years ago (2013-12-19 21:38:40 UTC) #10
Message was sent while issue was closed.
Change committed as 241949

Powered by Google App Engine
This is Rietveld 408576698