summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjln@chromium.org <jln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-21 00:46:44 +0000
committerjln@chromium.org <jln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-21 00:46:44 +0000
commitadd5ab1d4bbbc2c048fdde50c51fb9a0779d933a (patch)
tree5fa3abe5caa44b783f4456a17476fcb0b59ae773
parenta728fb33981a27b9c385d8f6fc0714723a5a5bf1 (diff)
downloadchromium_src-add5ab1d4bbbc2c048fdde50c51fb9a0779d933a.zip
chromium_src-add5ab1d4bbbc2c048fdde50c51fb9a0779d933a.tar.gz
chromium_src-add5ab1d4bbbc2c048fdde50c51fb9a0779d933a.tar.bz2
Isolate nacl_loader_unittests
Isolate the Linux-only nacl_loader_unittests. This is a re-land of https://chromiumcodereview.appspot.com/322333006/ BUG=384515 TBR=maruel Review URL: https://codereview.chromium.org/337613004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278882 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--components/nacl.gyp18
-rw-r--r--components/nacl_loader_unittests.isolate21
2 files changed, 39 insertions, 0 deletions
diff --git a/components/nacl.gyp b/components/nacl.gyp
index faeb887..5bbfe26 100644
--- a/components/nacl.gyp
+++ b/components/nacl.gyp
@@ -447,6 +447,24 @@
}],
],
}],
+ ['disable_nacl!=1 and test_isolation_mode!="noop"', {
+ 'targets': [
+ {
+ 'target_name': 'nacl_loader_unittests_run',
+ 'type': 'none',
+ 'dependencies': [
+ 'nacl_loader_unittests',
+ ],
+ 'includes': [
+ '../build/isolate.gypi',
+ 'nacl_loader_unittests.isolate',
+ ],
+ 'sources': [
+ 'nacl_loader_unittests.isolate',
+ ],
+ },
+ ],
+ }],
],
'targets': [
{
diff --git a/components/nacl_loader_unittests.isolate b/components/nacl_loader_unittests.isolate
new file mode 100644
index 0000000..c4632b0
--- /dev/null
+++ b/components/nacl_loader_unittests.isolate
@@ -0,0 +1,21 @@
+# Copyright 2014 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.
+{
+ 'conditions': [
+ ['OS=="linux"', {
+ 'variables': {
+ 'command': [
+ '<(PRODUCT_DIR)/nacl_loader_unittests',
+ ],
+ 'isolate_dependency_tracked': [
+ '<(PRODUCT_DIR)/nacl_loader_unittests',
+ ],
+ 'read_only': 1,
+ },
+ }],
+ ],
+ 'includes': [
+ '../sandbox/sandbox_linux_unittests.isolate',
+ ],
+}