diff options
author | craig.schlenter@chromium.org <craig.schlenter@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-10 15:18:51 +0000 |
---|---|---|
committer | craig.schlenter@chromium.org <craig.schlenter@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-10 15:18:51 +0000 |
commit | 012a67451afc724a41e26bd7998aa8523d294959 (patch) | |
tree | be9ee41bf4a8652639506dfde11cf869f9bcd5cf /sandbox/sandbox.gyp | |
parent | 018fecd4e824983bf016e6d638a059dd3fac3cc4 (diff) | |
download | chromium_src-012a67451afc724a41e26bd7998aa8523d294959.zip chromium_src-012a67451afc724a41e26bd7998aa8523d294959.tar.gz chromium_src-012a67451afc724a41e26bd7998aa8523d294959.tar.bz2 |
Make sandbox code compile as "chromium_code".
This sets up useful flags like -Wall -Werror etc.
Also squash a compiler warning:
sandbox/linux/suid/process_util_linux.c: In function ‘AdjustOOMScore’:
sandbox/linux/suid/process_util_linux.c:25: error: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘pid_t’
BUG=none
TEST=try-servers
Review URL: http://codereview.chromium.org/733001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41161 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox/sandbox.gyp')
-rw-r--r-- | sandbox/sandbox.gyp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sandbox/sandbox.gyp b/sandbox/sandbox.gyp index 87f4f33..50094f9 100644 --- a/sandbox/sandbox.gyp +++ b/sandbox/sandbox.gyp @@ -3,6 +3,9 @@ # found in the LICENSE file. { + 'variables': { + 'chromium_code': 1, + }, 'target_defaults': { 'variables': { 'sandbox_windows_target': 0, |