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

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

Issue 319983003: Work on blink GN bindings (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix lots of dirs, comment out some tests that don't link Created 6 years, 6 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/bindings/modules/v8/generated.gni ('k') | Source/bindings/scripts/scripts.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 import("//third_party/WebKit/Source/bindings/bindings.gni")
6 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni")
7 import("//third_party/WebKit/Source/bindings/templates/templates.gni")
8
9 # A separate pre-caching step is *not required* to use lex/parse table
10 # caching in PLY, as the caches are concurrency-safe.
11 # However, pre-caching ensures that all compiler processes use the cached
12 # files (hence maximizing speed), instead of early processes building the
13 # tables themselves (as they've not yet been written when they start).
14 #
15 # GYP version: scripts.gyp:cached_lex_yacc_tables
16 action("cached_lex_yacc_tables") {
17 script = "blink_idl_parser.py"
18
19 source_prereqs = idl_lexer_parser_files
20 outputs = [
21 "$bindings_scripts_output_dir/lextab.py",
22 "$bindings_scripts_output_dir/parsetab.pickle",
23 ]
24
25 args = [ rebase_path(bindings_output_dir, root_build_dir) ]
26 }
27
28 # A separate pre-caching step is *required* to use bytecode caching in
29 # Jinja (which improves speed significantly), as the bytecode cache is
30 # not concurrency-safe on write; details in code_generator_v8.py.
31 #
32 # GYP version: scripts.gyp:cached_jinja_templates
33 action("cached_jinja_templates") {
34 script = "code_generator_v8.py"
35
36 source_prereqs = jinja_module_files + [ "code_generator_v8.py" ] +
37 code_generator_template_files
38 # Dummy file to track dependency.
39 stamp_file = "$bindings_scripts_output_dir/cached_jinja_templates.stamp"
40 outputs = [ stamp_file ]
41
42 args = [
43 rebase_path(bindings_scripts_output_dir, root_build_dir),
44 rebase_path(stamp_file, root_build_dir),
45 ]
46 }
OLDNEW
« no previous file with comments | « Source/bindings/modules/v8/generated.gni ('k') | Source/bindings/scripts/scripts.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698