summaryrefslogtreecommitdiffstats
path: root/chrome_elf
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_elf')
-rw-r--r--chrome_elf/chrome_elf.gyp15
-rw-r--r--chrome_elf/chrome_elf_unittests.isolate22
2 files changed, 37 insertions, 0 deletions
diff --git a/chrome_elf/chrome_elf.gyp b/chrome_elf/chrome_elf.gyp
index 26fc27c..5e6ecfc 100644
--- a/chrome_elf/chrome_elf.gyp
+++ b/chrome_elf/chrome_elf.gyp
@@ -146,4 +146,19 @@
],
},
], # targets
+ 'conditions': [
+ ['test_isolation_mode != "noop"', {
+ 'targets': [
+ {
+ 'target_name': 'chrome_elf_unittests_run',
+ 'type': 'none',
+ 'dependencies': [
+ 'chrome_elf_unittests',
+ ],
+ 'includes': [ '../build/isolate.gypi' ],
+ 'sources': [ 'chrome_elf_unittests.isolate' ],
+ },
+ ],
+ }],
+ ],
}
diff --git a/chrome_elf/chrome_elf_unittests.isolate b/chrome_elf/chrome_elf_unittests.isolate
new file mode 100644
index 0000000..3414ca6
--- /dev/null
+++ b/chrome_elf/chrome_elf_unittests.isolate
@@ -0,0 +1,22 @@
+# Copyright 2015 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=="win"', {
+ 'variables': {
+ 'command': [
+ '<(PRODUCT_DIR)/chrome_elf_unittests<(EXECUTABLE_SUFFIX)',
+ ],
+ 'files': [
+ '<(PRODUCT_DIR)/blacklist_test_dll_1.dll',
+ '<(PRODUCT_DIR)/blacklist_test_dll_2.dll',
+ '<(PRODUCT_DIR)/blacklist_test_dll_3.dll',
+ ],
+ },
+ }],
+ ],
+ 'includes': [
+ '../base/base.isolate',
+ ],
+}