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

Unified Diff: bindings/dart/scripts/test/main.py

Issue 959933002: Move IDLs to 39 roll (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 5 years, 10 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
« no previous file with comments | « bindings/dart/scripts/idl_files.py ('k') | bindings/scripts/aggregate_generated_bindings.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bindings/dart/scripts/test/main.py
diff --git a/bindings/dart/scripts/test/main.py b/bindings/dart/scripts/test/main.py
index db3c00a3cf1a031e19077399ad1bb8f3b8782ecd..659fd8610052996694e37a86ecef68015e2f1caa 100755
--- a/bindings/dart/scripts/test/main.py
+++ b/bindings/dart/scripts/test/main.py
@@ -39,7 +39,12 @@ from compute_interfaces_info_overall import compute_interfaces_info_overall, int
from compiler import IdlCompilerDart
# TODO(terry): Temporary solution list of IDLs to parse and IDL as dependencies.
-from idl_files import full_path_core_idl_files, full_path_core_dependency_idl_files, full_path_modules_idl_files, full_path_modules_dependency_idl_files
+from idl_files import full_path_core_idl_files,\
+ full_path_core_dependency_idl_files,\
+ full_path_modules_idl_files,\
+ full_path_modules_dependency_idl_files,\
+ full_path_core_dictionary_idl_files,\
+ full_path_modules_dictionary_idl_files
#from dart_tests import run_dart_tests
@@ -191,14 +196,17 @@ def main(argv):
core_dependency_idls = full_path_core_dependency_idl_files()
modules_idls = full_path_modules_idl_files()
modules_dependency_idls = full_path_modules_dependency_idl_files()
+ core_dictionary_idls = full_path_core_dictionary_idl_files()
+ modules_dictionary_idls = full_path_modules_dictionary_idl_files()
all_interfaces = core_idls + modules_idls
all_dependencies = core_dependency_idls + modules_dependency_idls
- all_files = all_interfaces + all_dependencies
+ all_dictionaries = core_dictionary_idls + modules_dictionary_idls
+ all_files = all_interfaces + all_dependencies + all_dictionaries
# 2-stage computation: individual, then overall
for idl_filename in all_files:
- compute_info_individual(idl_filename, 'dart')
+ compute_info_individual(idl_filename)
info_individuals = [info_individual()]
compute_interfaces_info_overall(info_individuals)
@@ -214,7 +222,7 @@ def main(argv):
print 'Output directory %s created' % build.output_directory
# Compile IDLs
- for filename in all_interfaces:
+ for filename in (all_dictionaries + all_interfaces):
if not filename.endswith('.idl'):
continue
if build.generate_from_idl(filename):
« no previous file with comments | « bindings/dart/scripts/idl_files.py ('k') | bindings/scripts/aggregate_generated_bindings.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698