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

Side by Side Diff: third_party/WebKit/Source/bindings/scripts/BUILD.gn

Issue 2345083004: Split Jinja-related CodeGeneratorV8 guts into a separate class. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/scripts/code_generator.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//third_party/WebKit/Source/bindings/bindings.gni") 5 import("//third_party/WebKit/Source/bindings/bindings.gni")
6 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni") 6 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni")
7 import("//third_party/WebKit/Source/bindings/templates/templates.gni") 7 import("//third_party/WebKit/Source/bindings/templates/templates.gni")
8 8
9 visibility = [ "//third_party/WebKit/*" ] 9 visibility = [ "//third_party/WebKit/*" ]
10 10
(...skipping 16 matching lines...) Expand all
27 27
28 args = [ rebase_path(bindings_scripts_output_dir, root_build_dir) ] 28 args = [ rebase_path(bindings_scripts_output_dir, root_build_dir) ]
29 } 29 }
30 30
31 # A separate pre-caching step is *required* to use bytecode caching in 31 # A separate pre-caching step is *required* to use bytecode caching in
32 # Jinja (which improves speed significantly), as the bytecode cache is 32 # Jinja (which improves speed significantly), as the bytecode cache is
33 # not concurrency-safe on write; details in code_generator_v8.py. 33 # not concurrency-safe on write; details in code_generator_v8.py.
34 # 34 #
35 # GYP version: scripts.gyp:cached_jinja_templates 35 # GYP version: scripts.gyp:cached_jinja_templates
36 action("cached_jinja_templates") { 36 action("cached_jinja_templates") {
37 script = "code_generator_v8.py" 37 script = "code_generator.py"
38 38
39 inputs = jinja_module_files + [ "code_generator_v8.py" ] + 39 inputs = jinja_module_files + [ "code_generator.py" ] +
40 code_generator_template_files 40 code_generator_template_files
41 41
42 # Dummy file to track dependency. 42 # Dummy file to track dependency.
43 stamp_file = "$bindings_scripts_output_dir/cached_jinja_templates.stamp" 43 stamp_file = "$bindings_scripts_output_dir/cached_jinja_templates.stamp"
44 outputs = [ 44 outputs = [
45 stamp_file, 45 stamp_file,
46 ] 46 ]
47 47
48 args = [ 48 args = [
49 rebase_path(bindings_scripts_output_dir, root_build_dir), 49 rebase_path(bindings_scripts_output_dir, root_build_dir),
50 rebase_path(stamp_file, root_build_dir), 50 rebase_path(stamp_file, root_build_dir),
51 ] 51 ]
52 } 52 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/scripts/code_generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698