forked from Pissandshittium/pissandshittium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Linux sandbox: Make the test run on Android as Native executable
Make it possible to run the tests via run_tests.py --exe. BUG=169416 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/12093055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180236 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
jln@chromium.org
committed
Feb 2, 2013
1 parent
99768ba
commit 72a083f
Showing
6 changed files
with
72 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Copyright (c) 2012 The Chromium Authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
# Tests need to be compiled in the same link unit, so we have to list them | ||
# in a separate .gypi file. | ||
{ | ||
'dependencies': [ | ||
'sandbox', | ||
'../testing/gtest.gyp:gtest', | ||
], | ||
'include_dirs': [ | ||
'../..', | ||
], | ||
'sources': [ | ||
'tests/main.cc', | ||
'tests/unit_tests.cc', | ||
'tests/unit_tests.h', | ||
'services/broker_process_unittest.cc', | ||
], | ||
'conditions': [ | ||
[ 'compile_suid_client==1', { | ||
'sources': [ | ||
'suid/client/setuid_sandbox_client_unittest.cc', | ||
], | ||
}], | ||
[ 'compile_seccomp_bpf==1', { | ||
'sources': [ | ||
'seccomp-bpf/bpf_tests.h', | ||
'seccomp-bpf/codegen_unittest.cc', | ||
'seccomp-bpf/errorcode_unittest.cc', | ||
'seccomp-bpf/sandbox_bpf_unittest.cc', | ||
'seccomp-bpf/syscall_iterator_unittest.cc', | ||
'seccomp-bpf/syscall_unittest.cc', | ||
], | ||
}], | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters