Web Inspector: add runtime flag to determine if inspector's source files were flattened.
[WebKit-https.git] / Source / WebKit / chromium / scripts / generate_devtools_html.py
index 66255a8..4ea2e27 100644 (file)
@@ -57,6 +57,8 @@ def write_devtools_html(inspector_file, devtools_file, debug, debug_files):
                 devtools_file.write(generate_include_tag("devTools.css"))
                 devtools_file.write(generate_include_tag("DevTools.js"))
         devtools_file.write(line)
+        if '<head>' in line:
+            devtools_file.write(generate_include_tag("buildSystemOnly.js"))
 
 
 def main(argv):