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

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

Issue 236683004: DevTools: Merge SearchView into AdvancedSearchController (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Change getter to method Created 6 years, 8 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
« no previous file with comments | « Source/devtools/front_end/modules.js ('k') | Source/devtools/scripts/frontend_modules.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 modules = json.loads(js_modules_file.read()) 61 modules = json.loads(js_modules_file.read())
62 except: 62 except:
63 print "ERROR: Failed to read %s" % js_modules_name 63 print "ERROR: Failed to read %s" % js_modules_name
64 raise 64 raise
65 65
66 # `importScript` function must not be used in any files 66 # `importScript` function must not be used in any files
67 # except module headers. Refer to devtools.gyp file for 67 # except module headers. Refer to devtools.gyp file for
68 # the module header list. 68 # the module header list.
69 allowed_import_statements_files = [ 69 allowed_import_statements_files = [
70 "utilities.js", 70 "utilities.js",
71 "AdvancedSearchController.js", 71 "AdvancedSearchView.js",
72 "ConsolePanel.js", 72 "ConsolePanel.js",
73 "ElementsPanel.js", 73 "ElementsPanel.js",
74 "ResourcesPanel.js", 74 "ResourcesPanel.js",
75 "NetworkPanel.js", 75 "NetworkPanel.js",
76 "SourcesPanel.js", 76 "SourcesPanel.js",
77 "TimelinePanel.js", 77 "TimelinePanel.js",
78 "ProfilesPanel.js", 78 "ProfilesPanel.js",
79 "AuditsPanel.js", 79 "AuditsPanel.js",
80 "LayersPanel.js", 80 "LayersPanel.js",
81 "CodeMirrorTextEditor.js", 81 "CodeMirrorTextEditor.js",
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 errors_found |= hasErrors(canvasModuleCompileOut) 355 errors_found |= hasErrors(canvasModuleCompileOut)
356 356
357 if errors_found: 357 if errors_found:
358 print "ERRORS DETECTED" 358 print "ERRORS DETECTED"
359 359
360 os.remove(injectedScriptSourceTmpFile) 360 os.remove(injectedScriptSourceTmpFile)
361 os.remove(injectedScriptCanvasModuleSourceTmpFile) 361 os.remove(injectedScriptCanvasModuleSourceTmpFile)
362 os.remove(compiler_args_file.name) 362 os.remove(compiler_args_file.name)
363 os.remove(protocol_externs_file) 363 os.remove(protocol_externs_file)
364 shutil.rmtree(modules_dir, True) 364 shutil.rmtree(modules_dir, True)
OLDNEW
« no previous file with comments | « Source/devtools/front_end/modules.js ('k') | Source/devtools/scripts/frontend_modules.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698