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

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

Issue 22875023: DevTools: Front-end for platform font inspection (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: addressed comments Created 7 years, 4 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 "dependencies": ["components"], 203 "dependencies": ["components"],
204 "sources": [ 204 "sources": [
205 "CSSNamedFlowCollectionsView.js", 205 "CSSNamedFlowCollectionsView.js",
206 "CSSNamedFlowView.js", 206 "CSSNamedFlowView.js",
207 "ElementsPanel.js", 207 "ElementsPanel.js",
208 "ElementsPanelDescriptor.js", 208 "ElementsPanelDescriptor.js",
209 "EventListenersSidebarPane.js", 209 "EventListenersSidebarPane.js",
210 "MetricsSidebarPane.js", 210 "MetricsSidebarPane.js",
211 "PropertiesSidebarPane.js", 211 "PropertiesSidebarPane.js",
212 "StylesSidebarPane.js", 212 "StylesSidebarPane.js",
213 "PlatformFontsSidebarPane.js"
213 ] 214 ]
214 }, 215 },
215 { 216 {
216 "name": "network", 217 "name": "network",
217 "dependencies": ["components"], 218 "dependencies": ["components"],
218 "sources": [ 219 "sources": [
219 "NetworkItemView.js", 220 "NetworkItemView.js",
220 "RequestCookiesView.js", 221 "RequestCookiesView.js",
221 "RequestHeadersView.js", 222 "RequestHeadersView.js",
222 "RequestHTMLView.js", 223 "RequestHTMLView.js",
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 os.system(command) 511 os.system(command)
511 os.system("rm " + injectedScriptSourceTmpFile) 512 os.system("rm " + injectedScriptSourceTmpFile)
512 os.system("rm " + injectedScriptCanvasModuleSourceTmpFile) 513 os.system("rm " + injectedScriptCanvasModuleSourceTmpFile)
513 514
514 print "Checking generated code in InjectedScriptCanvasModuleSource.js..." 515 print "Checking generated code in InjectedScriptCanvasModuleSource.js..."
515 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) 516 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)
516 os.system(check_injected_webgl_calls_command) 517 os.system(check_injected_webgl_calls_command)
517 518
518 shutil.rmtree(modules_dir) 519 shutil.rmtree(modules_dir)
519 os.system("rm " + protocol_externs_path) 520 os.system("rm " + protocol_externs_path)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698