Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(601)

Unified Diff: third_party/WebKit/Source/devtools/scripts/dependency_preprocessor.py

Issue 2837083003: DevTools: create test infrastructure so devtools drives the test (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/scripts/dependency_preprocessor.py
diff --git a/third_party/WebKit/Source/devtools/scripts/dependency_preprocessor.py b/third_party/WebKit/Source/devtools/scripts/dependency_preprocessor.py
index 6cfc64530056087dec698e033f9cdcd03de05699..84f262b9ab159c9c3b61ad48169008e33679b569 100644
--- a/third_party/WebKit/Source/devtools/scripts/dependency_preprocessor.py
+++ b/third_party/WebKit/Source/devtools/scripts/dependency_preprocessor.py
@@ -30,7 +30,7 @@ class DependencyPreprocessor(object):
def enforce_dependencies(self):
arg_list = []
for module in self.modules:
- dependencies = set(self.descriptors.sorted_dependencies_closure(module))
+ dependencies = set(self.descriptors.sorted_dependencies_closure(module, include_test_dependencies=True))
excluded_modules = self.modules - {module} - dependencies
excluded_namespaces = [self._map_module_to_namespace(m) for m in excluded_modules]
file_paths = [

Powered by Google App Engine
This is Rietveld 408576698