summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/chrome.isolate7
-rw-r--r--chrome/chrome_tests.gypi2
-rw-r--r--chrome/interactive_ui_tests.isolate1
-rw-r--r--chrome/sync_integration_tests.isolate1
-rwxr-xr-xtools/isolate_driver.py5
5 files changed, 15 insertions, 1 deletions
diff --git a/chrome/chrome.isolate b/chrome/chrome.isolate
index 43bc605..8bb6d06 100644
--- a/chrome/chrome.isolate
+++ b/chrome/chrome.isolate
@@ -73,6 +73,13 @@
],
},
}],
+ ['OS=="mac" and component=="shared_library"', {
+ 'variables': {
+ 'files': [
+ '<(PRODUCT_DIR)/libchrome_main_dll.dylib',
+ ],
+ },
+ }],
['OS=="mac" and asan==1 and fastbuild==0', {
'variables': {
'files': [
diff --git a/chrome/chrome_tests.gypi b/chrome/chrome_tests.gypi
index 1e65cf7..acd8247 100644
--- a/chrome/chrome_tests.gypi
+++ b/chrome/chrome_tests.gypi
@@ -3166,6 +3166,7 @@
'target_name': 'interactive_ui_tests_run',
'type': 'none',
'dependencies': [
+ 'chrome',
'interactive_ui_tests',
],
'conditions': [
@@ -3186,6 +3187,7 @@
'target_name': 'sync_integration_tests_run',
'type': 'none',
'dependencies': [
+ 'chrome',
'sync_integration_tests',
],
'conditions': [
diff --git a/chrome/interactive_ui_tests.isolate b/chrome/interactive_ui_tests.isolate
index 1a5c74b..c6959fb 100644
--- a/chrome/interactive_ui_tests.isolate
+++ b/chrome/interactive_ui_tests.isolate
@@ -142,5 +142,6 @@
'includes': [
'../base/base.isolate',
'../gin/v8.isolate',
+ 'chrome.isolate',
],
}
diff --git a/chrome/sync_integration_tests.isolate b/chrome/sync_integration_tests.isolate
index 0b22cf6..ba6aa6f 100644
--- a/chrome/sync_integration_tests.isolate
+++ b/chrome/sync_integration_tests.isolate
@@ -112,5 +112,6 @@
'../base/base.isolate',
'../gin/v8.isolate',
'../third_party/angle/angle.isolate',
+ 'chrome.isolate',
],
}
diff --git a/tools/isolate_driver.py b/tools/isolate_driver.py
index 6c9f118..f51b824 100755
--- a/tools/isolate_driver.py
+++ b/tools/isolate_driver.py
@@ -24,6 +24,7 @@ import json
import logging
import os
import posixpath
+import re
import StringIO
import subprocess
import sys
@@ -141,7 +142,9 @@ def raw_build_to_deps(item):
# TODO(maruel): Use a whitelist instead? .stamp, .so.TOC, .dylib.TOC,
# .dll.lib, .exe and empty.
# The first item is the build rule, e.g. 'link', 'cxx', 'phony', etc.
- return filter(using_blacklist, item.split(' ')[1:])
+ # In ninja build files, spaces in targets are escaped with a $-prefix.
+ # Use a negative lookbehind to not split on '$ '.
+ return filter(using_blacklist, re.split('(?<!\$) ', item)[1:])
def collect_deps(target, build_steps, dependencies_added, rules_seen):