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

Unified Diff: Source/bindings/scripts/aggregate_generated_bindings.py

Issue 309793002: IDL build: Split global objects computation from global constructors computation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Tweak Created 6 years, 7 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: Source/bindings/scripts/aggregate_generated_bindings.py
diff --git a/Source/bindings/scripts/aggregate_generated_bindings.py b/Source/bindings/scripts/aggregate_generated_bindings.py
index fc5371d58be69fe6334f9af329e9fda8d5bef42c..3365027d4ba0703b10ba1ed62e13344d0504acd0 100755
--- a/Source/bindings/scripts/aggregate_generated_bindings.py
+++ b/Source/bindings/scripts/aggregate_generated_bindings.py
@@ -54,6 +54,8 @@ import re
import subprocess
import sys
+from utilities import idl_filename_to_interface_name
+
# A regexp for finding Conditional attributes in interface definitions.
CONDITIONAL_PATTERN = re.compile(
r'\['
@@ -134,8 +136,7 @@ def extract_meta_data(file_paths):
continue
# Extract interface name from file name
- parent_path, file_name = os.path.split(file_path)
- interface_name, _ = os.path.splitext(file_name)
+ interface_name = idl_filename_to_interface_name(file_path)
meta_data = {
'conditional': extract_conditional(file_path),

Powered by Google App Engine
This is Rietveld 408576698