Unreviewed, rolling out r97954.
[WebKit-https.git] / Source / WebCore / DerivedSources.make
index 2d972e577633f366262736feb77650ec19f78d3a..5a2cc13f8f136cf080a411ae0eb1b005bff77efd 100644 (file)
@@ -912,12 +912,15 @@ all : InspectorProtocolVersion.h
 InspectorProtocolVersion.h : Inspector.json inspector/generate-inspector-protocol-version
        python $(WebCore)/inspector/generate-inspector-protocol-version -o InspectorProtocolVersion.h $(WebCore)/inspector/Inspector.json
 
+Inspector.idl : Inspector.json inspector/generate-inspector-idl
+       python $(WebCore)/inspector/generate-inspector-idl -o Inspector.idl $(WebCore)/inspector/Inspector.json
+
 all : InspectorFrontend.h
 
-INSPECTOR_GENERATOR_SCRIPTS = inspector/CodeGeneratorInspector.py
+INSPECTOR_GENERATOR_SCRIPTS = $(GENERATE_SCRIPTS) inspector/CodeGeneratorInspector.pm
 
-InspectorFrontend.h : Inspector.json $(INSPECTOR_GENERATOR_SCRIPTS)
-       python $(WebCore)/inspector/CodeGeneratorInspector.py $(WebCore)/inspector/Inspector.json --output_h_dir . --output_cpp_dir . --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT"
+InspectorFrontend.h : Inspector.idl $(INSPECTOR_GENERATOR_SCRIPTS)
+       $(call generator_script, $(INSPECTOR_GENERATOR_SCRIPTS)) --outputDir . --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator Inspector $<
 
 all : InjectedScriptSource.h