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

Side by Side Diff: Source/devtools/scripts/compile_frontend.py

Issue 18347003: DevTools: Implement CSS pretty-printing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Comments addressed Created 7 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 Google Inc. All rights reserved. 2 # Copyright (c) 2012 Google Inc. All rights reserved.
3 # 3 #
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are 5 # modification, are permitted provided that the following conditions are
6 # met: 6 # met:
7 # 7 #
8 # * Redistributions of source code must retain the above copyright 8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer. 9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above 10 # * Redistributions in binary form must reproduce the above
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 "name": "sdk", 65 "name": "sdk",
66 "dependencies": ["common"], 66 "dependencies": ["common"],
67 "sources": [ 67 "sources": [
68 "ApplicationCacheModel.js", 68 "ApplicationCacheModel.js",
69 "CompilerScriptMapping.js", 69 "CompilerScriptMapping.js",
70 "ConsoleModel.js", 70 "ConsoleModel.js",
71 "ContentProvider.js", 71 "ContentProvider.js",
72 "ContentProviderBasedProjectDelegate.js", 72 "ContentProviderBasedProjectDelegate.js",
73 "ContentProviders.js", 73 "ContentProviders.js",
74 "CookieParser.js", 74 "CookieParser.js",
75 "CSSFormatter.js",
75 "CSSMetadata.js", 76 "CSSMetadata.js",
76 "CSSStyleModel.js", 77 "CSSStyleModel.js",
77 "CSSStyleSheetMapping.js", 78 "CSSStyleSheetMapping.js",
78 "BreakpointManager.js", 79 "BreakpointManager.js",
79 "Database.js", 80 "Database.js",
80 "DOMAgent.js", 81 "DOMAgent.js",
81 "DOMStorage.js", 82 "DOMStorage.js",
82 "DebuggerModel.js", 83 "DebuggerModel.js",
83 "DebuggerScriptMapping.js", 84 "DebuggerScriptMapping.js",
84 "FileManager.js", 85 "FileManager.js",
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 os.system(command) 520 os.system(command)
520 os.system("rm " + injectedScriptSourceTmpFile) 521 os.system("rm " + injectedScriptSourceTmpFile)
521 os.system("rm " + injectedScriptCanvasModuleSourceTmpFile) 522 os.system("rm " + injectedScriptCanvasModuleSourceTmpFile)
522 523
523 print "Checking generated code in InjectedScriptCanvasModuleSource.js..." 524 print "Checking generated code in InjectedScriptCanvasModuleSource.js..."
524 check_injected_webgl_calls_command = "%s/check_injected_webgl_calls_info.py %s %s/InjectedScriptCanvasModuleSource.js" % (scripts_path, webgl_rendering_cont ext_idl_path, inspector_path) 525 check_injected_webgl_calls_command = "%s/check_injected_webgl_calls_info.py %s %s/InjectedScriptCanvasModuleSource.js" % (scripts_path, webgl_rendering_cont ext_idl_path, inspector_path)
525 os.system(check_injected_webgl_calls_command) 526 os.system(check_injected_webgl_calls_command)
526 527
527 shutil.rmtree(modules_dir) 528 shutil.rmtree(modules_dir)
528 os.system("rm " + protocol_externs_path) 529 os.system("rm " + protocol_externs_path)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698